Working...except for one page...

3 messages Options
Embed this post
Permalink
roger

Working...except for one page...

Reply Threaded More More options
Print post
Permalink
Hi

I've got shadowbox working on all the other pages of this site, but for some reason this one just doesn't work. I'm probably making some really dumb coding error that I just can't see.

I've set it up fine on the "artwork" sections of this site..

Here is the page that doesn't work.
http://www.garethbate.com/artwork_pages/401_richmond_career_launcher_prize_ocad_.html

I'm also having trouble with the title of each image. They aren't showing up.

I'd appreciate the help.

Thanks
Wizzud

Re: Working...except for one page...

Reply Threaded More More options
Print post
Permalink
Take a look at the HTML of your links. This is an extract from one just one of them...

...jpg" rel="shadowbox[richmond] title="my="My" image="Image"" onmouseout=...

Note the bit in bold, which is presumably intended to form the value for the entire rel attribute, or the rel and title attributes?
As it stands, the browser assigns "shadowbox[richmond] title=" to the rel attribute, "My" to an attribute called my, and "Image" to an attribute called image, with an extra double quote being ignored.
I'm not sure of the original intention, but this should be more like...

...jpg" rel="shadowbox[richmond];title=My Image" onmouseout=...

or more simply ...

...jpg" rel="shadowbox[richmond]" title="My Image" onmouseout=...
Combine literacy with curiosity and a whole world of information opens up to you
roger

Re: Working...except for one page...

Reply Threaded More More options
Print post
Permalink
Thanks, I can't believe I was so blind to the messed up code!

I found it also needed to just be retyped.

Thanks!