This is a discussion on "odd slideshow problem (fine in IE, not in Mozilla)" within the JavaScript Forum section. This forum, and the thread "odd slideshow problem (fine in IE, not in Mozilla) are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
odd slideshow problem (fine in IE, not in Mozilla)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
odd slideshow problem (fine in IE, not in Mozilla)
Hi guys,
I am currently developing a js slideshow. I have uploaded the page to the following URL, so hopefuly you can help me out. http://www.freewaymedical.co.uk/prot...testonWeb.html Please go here and view source to troubleshoot. It does take a while to load as I have lots of mods to make before the live version. Your patience here is appreciated. The problem is that the code works fine in IE6, that is all the slideshows work. However when I load it up in any other browser (have actually tried Mozilla, Firefox and Netscape. All latest versions) the first slideshow does not seem to change the image, but the other 4 slideshows work fine?? I can't understand it as I generate the code dynamically with PHP and js, so in theory they should all work the same. I have opened the file with Mozilla's javascript debugger (Venkman) and stepped through it. It seems to just exit the following function on the part marked <!--exits here->> without executing it or the following lines. This is really confusing as there is no error message or exception raised, it just stops executing the function. Stepping through this on any of the other slideshows executes all lines as expected.
|
|
|
|
||||
|
for your info jono, html in your signature wont work. Please use BBCode
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
"char" is a reserved word in javascript. Change that to something else like "chrt"
|
|
|||
|
I am not home at the moment to test this, but will do so straight away tonight!
Does that make sense then that it would work fine in IE but not all other browsers? Thanks for the help-I had really run out of ideas! |
|
|||
|
IE is often more forgiving of errors in jscript.
|
|
|||
|
also, when the page loads for the first tim,e when the images are not cached, the initial slideshow images do not show. However, when I refresh they seem to appear.
Would this be down to the use of char as well? |
|
|||
|
Changed the 'char' image name and all works fine now in Mozilla, Firefox, Netscape and IE.
Also resolved the problem of the first image not showing by setting them at body onload. Thanks for your help with this issue! |
![]() |
| Tags |
| odd, slideshow, problem, fine, mozilla |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem Seeing Image In Mozilla | Geeky Girl | Graphics and 3D | 10 | Mar 23rd, 2008 01:21 |
| [SOLVED] Another problem with mozilla | thewebkid | Web Page Design | 12 | Nov 29th, 2007 14:39 |
| Unable to disable text(label) in javascript,working fine with IE, not with MOZILLA | balaji | JavaScript Forum | 1 | Jul 11th, 2007 09:55 |
| Problem with image in Mozilla ?? please help | DavidinLondon | JavaScript Forum | 1 | May 20th, 2006 16:03 |
| IE/Mozilla problem | crip | Web Page Design | 1 | Feb 12th, 2004 18:33 |