View Single Post
  #8 (permalink)  
Old Oct 2nd, 2007, 08:54
silverdigit silverdigit is offline
New Member
Join Date: Oct 2007
Location: uk
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: help needed for non coder!

Quote:
Originally Posted by c010depunkk View Post
Well you could try making a simple .js file with one function that outputs an alert:
Code: Select all
function doAlert() {
  alert('Im being included! YAY!');
}
Put it in the same folder as your lightbox files, include it using the same code as you use to include the lightbox files and then call the function to see if it's really being included:
HTML: Select all
<body onload="doAlert();">
See if you get any errors....
First question - which version are you using? I am on v2

I have done the test with same result!

The [js] files are now in a separate [js] folder, so is this path now correct with the .html file in httpdocs:

<script type="text/javascript" src="js/prototype.js"></script>

I have also added this

<body onload="initLightbox()">

thanks
Reply With Quote