Page 1 of 1
Problems with thickbox
Posted: Mon Sep 25, 2006 3:10 pm
by beeswax
I hope I don't cause too much upset by moving this from one thread to another, but having added it to the end of another thread I'm worried that it won't get noticed. this is what I wrote -
I've a problem with images in thickbox -
http://www.silviasjewellery.co.uk/index ... collection the first image doesn't have the border and contains all sorts of text to do with links. Any images after that seem to work as they should. I'm using v. 1.0 of CMSMS. any ideas?
thanks,
beeswax
Re: Problems with thickbox
Posted: Mon Sep 25, 2006 3:22 pm
by Russ
Nothing todo with Thickbox, validate your html :- ) You have font tags all over the place including in the title for some of the images - hence the problems. I'm not sure how you have done this?
e.g.
Code: Select all
title="Earrings - <p><font face="Arial" size="2"></font></p>">
Russ
Re: Problems with thickbox
Posted: Mon Sep 25, 2006 4:18 pm
by beeswax
I've just added some text/content to a picture and gone into Source to see if there are any html tags hanging around, and found at the beginning of a sentence. I deleted it and it seems fine now. No more tags seem to have been added when adding Content.
Thanks.
beeswax
Re: Problems with thickbox
Posted: Mon Sep 25, 2006 5:14 pm
by Russ
beeswax there are still a lot of errors in the html code - they will come back to bit you. Actually they are bitting you now! Clicking on an image in Firefox shows 2/3 of a page of black and then your background. Doesn't look very good? Opera spread out really weird and Safari doesn't seem to show the correct size image? Are you using the latest version of ThickBox with the latest CSS - it will probably mean altering your template.
Just thought you'd like to know
Russ
Re: Problems with thickbox
Posted: Mon Sep 25, 2006 6:00 pm
by beeswax
Ouch! checked it out with htmlhelp.com. I was going to print it out but the scroll bar just kept shrinking. I'm not about to see the destruction of a forest so that I can easily validate the html. Here goes.
edit - I'm using the 0.7.1 version of Album with the 1.0beta6 version of CMSMS. Should I upgrade, and is this easy?
edit v.1.2 I've a trial site running that I could test this on I suppose
beeswax
Re: Problems with thickbox
Posted: Tue Sep 26, 2006 5:16 am
by Russ
Sorry beeswax no 'Ouch' intended, just trying to save you a lot of trouble in the long run. Yes I would upgrade to the latest version of Album and CMSMS. But I'd check that all the modules you use have been upgraded for the latest CMSMS. You can validate your (X)HTML by going here - you can even set a link to it on each page:
http://validator.w3.org/
I'd also recommend developing in Firefox then you can use the excellant extensions for web development (Web Developer and HTML Tidy for starters) which are available for that browser. Design to web standards and then patch for IE
If you want to check you website in a variety of browsers you can download them and / or use something like
http://www.browsercam.com/
Save the tree...
Hope this helps,
Russ