-
1. Re: Lightbox not working
Gunner_124 Nov 23, 2010 7:08 PM (in response to broomeGirl)Have you used Dreamweaver to check the server side and make updates there??
Just one day at a time
-
2. Re: Lightbox not working
broomeGirl Nov 23, 2010 7:47 PM (in response to Gunner_124)Dont use dreamweaver for ftp and not sure how to .. am using filezilla for tftp
-
3. Re: Lightbox not working
martcol Nov 23, 2010 10:21 PM (in response to broomeGirl)When you changed the file structure did that affect the references to the .js and .css files that are in the head of the page?
Martin
-
4. Re: Lightbox not working
broomeGirl Nov 23, 2010 10:42 PM (in response to martcol)Hi thanks for your response .. did u view source? Triple checked paths are correct.
-
5. Re: Lightbox not working
osgood_ Nov 24, 2010 2:03 AM (in response to broomeGirl)You need to add the below to the opening <body> tag:
<body onload="initLightbox()">
Do that first and see what happens then I'll ask some more questions if its still not working.
-
6. Re: Lightbox not working
broomeGirl Nov 24, 2010 2:39 AM (in response to osgood_)Hi thanks for your response .. this is not the problem. When I type http://www.ebc.net.au/bsia/index.html
lightbox does not work. When I use http://www.ebc.net.au/BrowseBasin/index.html
the lightbox does work. It must have something to do with the paths but I have been over and over the code and cannot see where the error is. Driving me nuts .. I know its something simple.
-
7. Re: Lightbox not working
osgood_ Nov 24, 2010 4:21 AM (in response to broomeGirl)OhDer wrote:
Hi thanks for your response .. this is not the problem. When I type http://www.ebc.net.au/bsia/index.html
lightbox does not work. When I use http://www.ebc.net.au/BrowseBasin/index.html
the lightbox does work. It must have something to do with the paths but I have been over and over the code and cannot see where the error is. Driving me nuts .. I know its something simple.

Ok so we have established that the below lightbox works?
http://www.ebc.net.au/BrowseBasin/index.html
In that case make a duplicate copy of the 'BrowseBasin' folder and then change its named to 'bsia' ?
Logiclaly this should work.......just changing a folders name WILL have no effect on the files in it.
Please also note that on the page that does work you have a double opening <body> tag:
<body>
<body>
<a name="backtotop"> </a><div id="wrap">
<div id="topcontainer">
<div id="logo"></div>Please also note that the lightbox should NOT work unless the onload event is attached to the <body> so maybe the double <body> tag on the page that does work is somehow fooling the scripts.
-
8. Re: Lightbox not working
broomeGirl Nov 24, 2010 4:26 AM (in response to osgood_)Hi .. that is exactly what I did. bsia is an EXACT duplicate of BrowseBasin!!
Cant believe something soooo simple is giving me so much grief!!!
-
9. Re: Lightbox not working
osgood_ Nov 24, 2010 4:35 AM (in response to osgood_)Tests show that there also appears to be a problem with the js script below on the page that doesn't not work.
scriptaculous.js
I would copy the js file again from the one that does work and replace the one that doesn't PLUS I would attach the onload behaviour to the opening <body> tag (I bet the problem will then solve itself) -
10. Re: Lightbox not working
osgood_ Nov 24, 2010 4:42 AM (in response to broomeGirl)OhDer wrote:
Hi .. that is exactly what I did. bsia is an EXACT duplicate of BrowseBasin!!
an exact copy I doubt it..........one page has a double opening <body> tag the other doesn't?
-
11. Re: Lightbox not working
broomeGirl Nov 24, 2010 4:46 AM (in response to osgood_)I love you, I love you .. did that again .. sure I did that before .. but now it
is working. Thank you so much ... did i mention that i love you xx
-
12. Re: Lightbox not working
hans-g. Nov 26, 2010 2:37 AM (in response to broomeGirl)----------deleted----------
Hans-G.
-
13. Re: Lightbox not working
Gunner_124 Nov 25, 2010 5:28 PM (in response to broomeGirl)Sorry it took so long to get back to you. Email me the page and I will take
a look at your code. It sounds like the links didn't update maybe you may
need to publish again. make sure that the new files have the links
corrected.
-
14. Re: Lightbox not working
broomeGirl Nov 26, 2010 2:06 AM (in response to Gunner_124)Hi No problem .. all fixed now. It was the js files somehow or other when I
merely changed one folders name for another the js files didnt work.. strange
but re-installed them and hey presto all good. Thanks for the offer of help.




