|
|
 |
RE: FN-FORUM: Lightbox Javascript Problems
date posted 9th January 2007 20:07
Hi James,
I know of Lightbox, and have had some problems getting it to work for me (to
an extent that I can reproduce it, should I use it for new websites that I
build). I have had a look at your code - I think the error is down to a
conflict of javascripts which IE is having a problem with - even though the
author does recommend using "onload" to cure this, I have not found it
necessary so far, and I think the error lies in how you have set up the
onload statement in your code. With some work, I came up with this as a
basic set up for Lightbox, which should be enough to illustrate whether it
works or not. I know that sometimes the close image which is set to show
does not always work in some instances, but otherwise the code below should
work in IE7, Firefox 2 and Opera 9.
Give it a go - let me know how you get on.
Alex.
CODE:
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of James
Herrington
Sent: 09 January 2007 19:34
To: FN-FORUM / [EMAIL REMOVED]
Subject: FN-FORUM: Lightbox Javascript Problems
Hi all,
I have just finished rebuilding my site in CSS however i have a problem with
the lighbox image gallery component which i am using to load the images. The
script loads the images on top of the page however the only browser this
works in at the moment is IE. Does anyone have any ideas why its not working
in the other browsers?
Also if anyone notices any problems with the way the site is rendered can
you please let me know because i have not tested it fully yet!
Thanks
James
--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414 or
visit www.prosperity4.com and benefit from Inland Revenue approved expenses
today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|