User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,620 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,760 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

LightWindow thingies

Join Date: Dec 2007
Posts: 5
Reputation: Atticus is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Atticus Atticus is offline Offline
Newbie Poster

Re: LightWindow thingies

  #3  
Jan 1st, 2008
Originally Posted by chrelad View Post
Hi Atticus,

Couple things you can check:
  1. Open the site/page in IE/Firefox and check for JavaScript errors
  2. If #1 produces no errors, add a simple alert('Hello') to a section of the lightbox script that runs first
  3. If it doesn't run, and the alert resides in a function, make sure the function is being called
  4. Make sure the file is properly included using a <script></script> tag, place the tag at the very bottom of your page right before the closing <body> tag, append an alert('Hello'); to the end of the included file and it should pop up when the page loads.
  5. If the aforementioned alert doesn't show up, make sure the <script> tag has the type="text/javascript" attribute, that the file has read permissions, that the file page in the src="..." attribute is correct, and the tag has a closing tag and see if it works.


Thanks very much. The gallery is now working fine. I did check the js files but missed the css href="css/lightbox.css". Thanks again.
Reply With Quote  
All times are GMT -4. The time now is 5:37 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC