Have embedded image scroller java script to my site, but it fails to work in IE when it is used in Iframes ( http://www.thesculpturesgallery.com/scu … /aqua.html ). The First page opens correctly but when the scroller loads on subsequent pages... it fails.
It works fine if the javascript is individually added to the pages (www.Chariot-Tours.com) and the problem doesnot arise when the page is first time loaded. The script works fine even when page is refreshed. SCript is also working fine in FF and opera.
Please help
Cipher
Download free toolbar with web dev links
TheSculpturesGallery my new project...
Member
From: Bega, Sapphire Coast Australia
Registered: 2005-08-18
Posts: 1523
I've been thanked 42 times.
Offline
G'day cipher.
I don't pretend to know the answer, but here's the list of code warnings shown by html tidy in FF:
Result: 0 errors / 26 warnings
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 29 column 3 - Warning: <table> proprietary attribute "bordercolor"
line 29 column 3 - Warning: <table> proprietary attribute "height"
line 31 column 7 - Warning: <td> proprietary attribute "background"
line 32 column 13 - Warning: <table> proprietary attribute "bordercolor"
line 32 column 13 - Warning: <table> proprietary attribute "height"
line 34 column 11 - Warning: <td> proprietary attribute "background"
line 37 column 11 - Warning: <td> proprietary attribute "background"
line 40 column 11 - Warning: <td> proprietary attribute "background"
line 43 column 11 - Warning: <td> proprietary attribute "background"
line 46 column 11 - Warning: <td> proprietary attribute "background"
line 49 column 11 - Warning: <td> proprietary attribute "background"
line 52 column 11 - Warning: <td> proprietary attribute "background"
line 57 column 11 - Warning: <td> proprietary attribute "background"
line 58 column 11 - Warning: <td> proprietary attribute "background"
line 64 column 11 - Warning: <iframe> proprietary attribute "border"
line 67 column 11 - Warning: <table> proprietary attribute "bordercolor"
line 89 column 11 - Warning: <img> proprietary attribute "xthumbnail-orig-image"
line 98 column 132 - Warning: <img> proprietary attribute "xthumbnail-orig-image"
line 113 column 1 - Warning: <iframe> proprietary attribute "border"
line 119 column 11 - Warning: <iframe> proprietary attribute "border"
line 121 column 11 - Warning: <td> proprietary attribute "background"
line 253 column 11 - Warning: <iframe> proprietary attribute "border"
line 264 column 11 - Warning: <td> proprietary attribute "background"
line 267 column 11 - Warning: <td> proprietary attribute "background"
line 268 column 9 - Warning: <iframe> proprietary attribute "border"
Info: Document content looks like HTML Proprietary
I'd, first up, be looking at the doctype and the errors relating to the iframe.
Regards,
Laurie.
Australian Exploration and Adventure on Horseback and Motorbike

Thanks Laurie,
But I don't have any idea about the coding. I just design the pages in frontpage and do not have any clue about the coding, the javascript is taken from internet. I don't know how to modify and rectify the errors. I can read and do minor changes in the code on trial and error basis.
Download free toolbar with web dev links
TheSculpturesGallery my new project...
Member
From: Bega, Sapphire Coast Australia
Registered: 2005-08-18
Posts: 1523
I've been thanked 42 times.
Offline
Have you considered using a flash slideshow instead of the scrolling image?
Regards,
Laurie.
Australian Exploration and Adventure on Horseback and Motorbike

laurie_m wrote:
Have you considered using a flash slideshow instead of the scrolling image?
Regards,
Laurie.
thats a good option but I would need to add pics to it on regular basis, better if someone can help with the frame problem...
Download free toolbar with web dev links
TheSculpturesGallery my new project...
Member
From: Bega, Sapphire Coast Australia
Registered: 2005-08-18
Posts: 1523
I've been thanked 42 times.
Offline
G'day cipher.
A flash or a javascript slideshow can be built in a couple of minutes. Quite easy once you get the hang of it. It would be no trouble to scrap the old one and make a new one each time you want to update.
Maybe it's time to learn some new tricks.
I think you'll need to if you want to go beyond the ordinary output achieved with the basic use of a WYGIWYG editor.
Spoiler:
DISCLAIMER: There's nothing inferior about using a WYSIWYG editor. It just limits you a bit, that's all.
You don't want too many pictures in any slide show or it slows down the page excessively. Three or four images, like you have, is ideal.
Regards,
Laurie.
Australian Exploration and Adventure on Horseback and Motorbike

| Never |


