May 1, 200917 yr Hi all I am trying to setup shadowbox on my website so it will display images. I am having a nightmare with it because i am not a developer! I have resorted in taking it back to its simplest form and that is start with a blank document with the 'test' in it. When you click on test, the shadowbox is supposed to appear with the image in it but it doesnt! See here www.proposedsite.co.uk/shadowbox/javatest.html I have copied the code into the HEAD tags like it said, and i have added the rel = "shadowbox" code into the link but still nothing!! Here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="shadowbox.css"> <script type="text/javascript" src="shadowbox.js"></script> <script type="text/javascript"> Shadowbox.init(); </script> <meta http-equiv="Content-Type" content="text/css; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <a href="images/yourcall_mag_large.jpg" rel="shadowbox">test</a> </body> </html> Can anyone tell me what i am doing wrong?
May 3, 200917 yr <link rel="stylesheet" type="text/css" href="shadowbox.css"> <script type="text/javascript" src="shadowbox.js"></script> there's nothing at http://www.proposedsite.co.uk/shadowbox/shadowbox.js or http://www.proposedsite.co.uk/shadowbox.js (and the same for the css). you need to enter the correct URL for the href and src in the code above. At the moment the css and js is not being loaded.
Create an account or sign in to comment