I'm using fancybox to open an url in a iframe.
The problems is that in my apache log i can see that the url was
requested multiple times, for a single click.
A have also tested with the example from
http://fancybox.googlecode.com/files/jquery.fancybox-1.3.1.zip, by
replacing the ajax.txt with a file named ajax.php that only shows a
random number.
Here are 2 entries from my log file :
192.168.119.1 - - [12/Mar/2010:10:37:16 +0200] "GET /
prototype.com.local/web/jquery.fancybox-1.3.1/ajax.php HTTP/1.1" 200
25 "http://192.168.119.128:8080/prototype.local/web/
jquery.fancybox-1.3.1/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-
US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/
532.5"
192.168.119.1 - - [12/Mar/2010:10:37:16 +0200] "GET /
prototype.com.local/web/jquery.fancybox-1.3.1/ajax.php HTTP/1.1" 200
25 "http://192.168.119.128:8080/prototype.local/web/
jquery.fancybox-1.3.1/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-
US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/
532.5"
Tested in Firefox / Google Chrome for browser and Apache2 /
LightHttpd, so it's not a browser thing ..
How can I prevent this from happening ?
-Raine
On Mar 12, 4:14 pm, Elvis <apostolel...@gmail.com> wrote:
> Hi guys,
>
> I'm using fancybox to open an url in aiframe.
>
> The problems is that in my apache log i can see that the url was
> requested multiple times, for a single click.
>
> A have also tested with the example fromhttp://fancybox.googlecode.com/files/jquery.fancybox-1.3.1.zip, by