Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - andu

Pages: [1]
1
Many thanks!!!

Now it does work perfectly!

Thank you! :D

2
Ok, i've tried but the middle butto keeps opening the link on a new window:
templates/default/header.htm
Quote
function right(e) {
   
    if (top.frames.length == 0) {
           ver = parseInt(navigator.appVersion, 10);
                if ( ((navigator.appName == "Netscape") && (ver >= 3)) ||((navigator.appName == "Microsoft Internet Explorer") && (ver >= 4)) )
                               location.replace("http://mydomain.com");
                else
                                location = "http://mydomain.com";
   }

    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3 || e.which == 1 || e.which == 4)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (event.button == 2 || event.button == 3 || event.button == 1 || event.button == 4) {
      alert("© Copyright by {site_name}");
      return false;
    }
  return true;
  }

Actually i don't know what i'm doing worng...  :roll:

3
Yes! that could be what i'm looking for.. but i can't  see the script that check that...
Might anybody help me?

Thanks!

4
you'r right. Actually anybody that wants to keep the images shown in the webpage just needs to drag the picture and drop it on the desktop.
No. Actually i need to disable the middle button because i've got the gallery that is shown in an iframe inside my webpage.
I'd like to avoid the user opening the gallery on its own, i'd like to keep it inside my main webpage.

I've tried the javascrit to avoid the user to open new tabs inside the gallery. But the code doesn't seem to react. Is there eny mod that allow to do this? Or Which code should i write down?

Regards!

PD: I beg your pardon if my english is so bad that hurt your senses.. Actually i'm trying to improbe...

5
Hi!
Im trying to disable the middle button.. How could i do this?

i've tried to add the code event.button == 4 and event.button == 1 but i keep using the middle button.. What am i doing wrong?

Many thanks!!

Pages: [1]