PDA

View Full Version : Where have I gone wrong?



Jordan3606
20-03-2008, 01:39 PM
Hey,

http://www.ps-home.net/index.html

I am using the following script to display images; http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

However, when a link is clicked, the image opens at the top of the page instead of on top (if you get what I mean). Try it yourself, click the 'image #1' or the example 'castle' link

I cant understand what I've done wrong?

Jordan :)

rawritsluke
20-03-2008, 03:43 PM
<script src="http://www.ps-home.net/js/thumbnailviewer.js" type="text/javascript">
You've put it right at the top of your page lol.

Jordan3606
20-03-2008, 05:27 PM
<script src="http://www.ps-home.net/js/thumbnailviewer.js" type="text/javascript">
You've put it right at the top of your page lol.

Isn't that what I'm meant to do? It says to put in the <head> section

'Step 1: Add the following to the <head> section of your page:'

:P

Sorry if I sound completely... stupid here, lol

--ss--
20-03-2008, 10:32 PM
Use ligthbox2 instead which is much better:
http://www.huddletogether.com/projects/lightbox2/

Want to hide these adverts? Register an account for free!