Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Featured Content Slider compatibility issues

  1. #1
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Featured Content Slider compatibility issues

    1. Featured Content Slider

    2. http://www.dynamicdrive.com/dynamici...tentslider.htm

    3. After correcting a coding error (I neglected to close a div) I'm still having compatibility issues with this script in IE5 and Netscape 7.1 & 8.1.

    My problem in IE5 (5.00.2314):
    The script generates a javascript error and doesn't load, leaving a white space where the contentdivs should be. The error message reads:

    Line: 22
    Char: 1
    Error: Object doesn't support this property or method
    Code: 0

    My problem in Netscape (7.1 and 8.1)
    The initial load is fine, but as the "slides" (contentdivs) cycle through, either automatically or manually, the pagination div drops down the height of the contentdiv. The second contentdiv drops it down one height, the third two heights, etc. It's as if the divs are stacking invisibly on top of the rest of content on the page, forcing the pagination div further down the page as each contentdiv loads.

    This is a very cool script that's perfect for what I'd like to do with my main page, and I'd greatly appreciate any advice and/or assistance in overcoming these compatibility issues. I'd also like to thank the owners/maintainers of this site for the great scripts and clear instructions provided; I've been using Dynamic Drive scripts for over five years and it's a testament to your knowledge and dedication that this is the first time I've had to ask for help.

    My test page is uploaded here:
    http://www.merkatcross.com/test/index.htm

    (My apologies for the edits: Though I spent several hours going over my code looking for errors, I didn't see that I hadn't closed a div until after I posted my first message. And another apology if I should have added a new comment instead of editing - and if this message isn't coherent. I've been working on this for a couple of days, trying to get the script to function and look the same in the range of browsers I test for compatibility in when I make changes on my site.)
    Last edited by SkellieSue; 11-01-2006 at 01:54 AM.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've solved the Netscape problem (I had the closing div for the slider1 div coded in after the pagination div ... duh), but am still having IE 5 issues. The way things are going with this I may end up solving that by the end of the day too. For some reason posting in a public forum and making a fool of myself seems to inspire me to consider solutions I wouldn't have otherwise.

  4. #4
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just tidying things up here by saying I'm unable to find a reason why this script generates a Javascript error in the version of IE5 I have installed on one of my old systems. It's unfortunate that I have to deal with the nightmare that is IE5 anyway, but a considerable amount of my visitors still use this browser - mostly schools and libraries that haven't upgraded for some unfathomable reason.

    Regardless, I downloaded the script on October 29th, noting that it was revised on the 28th. Yesterday, (in desperation and frustration) as a further test to see if perhaps I missed something in my code that was conflicting with the script in IE5, I saved the html from the above referenced Dynamic Drive page (the page on which the demo appears), stripped out all other scripts, and it generated the same Java Script error that appears in my first post. I suppose it could be due to the version of IE5 that I have installed, but I'm Javascript-stupid and have no idea where to begin to look for the cause of the error, nor how to fix it.

    I've decided to use the pre-Ajax Tabbed Content script instead (http://www.dynamicdrive.com/dynamici...bcontent2.htm), and though I really wish it had an automatic cycling option, I've tested it thoroughly and it doesn't generate a Javascript error in IE5 - and that, unfortunately, is a higher priority on my site than the auto slide feature.

    Thanks for all the great scripts and the opportunity to ask for help with them. I found something that will work for my particularly archaic situation and can now start obsessing about something else.

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm what version of IE5.x are you using? If I have time I'll fire up that browser on my old computer to see if there's a quick fix for the issue. IE5.x is not a priority now though when testing scripts on it for compatibility, since overall on the web, most people have moved on.

  6. #6
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have 5.00.2314 installed. It's the oldest version of IE5 that I could find, and yeah ... I only fire it up for compatibility testing. It irritates me that I have to make IE5 compatibility a priority due to the number of schools that hit my site that haven't upgraded, but I do what I have to do to keep them coming in. I understand that I'm in an unusual situation though, so while it would be great if there is a quick fix, I understand that it isn't a priority.

    Thanks.

  7. #7
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Ok, not sure if there are any other bugs, but to get this script to at least work without errors in IE5.0, find the line inside contentslider.js:

    Code:
    slidernodes[sliderid].push(alldivs[i]) //add this DIV reference to array
    and replace it with:

    Code:
    slidernodes[sliderid][slidernodes[sliderid].length]=alldivs[i]
    Looks like IE5 doesn't support array.push()...

  8. #8
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, it works but (always seems to be one of those, eh?) ...

    The page loaded fine without generating a Javascript error, but when the slide function kicks in, it hangs for a second, then I get a "This program has performed an illegal operation and will be shut down" error message. When I click "Close" on the message box, another message pops up that says, "There was an internal error." If I leave that message up there (not X-ing out, or clicking "OK") behind it I can see the slider performing perfectly.

    I think I'm going to stay with the pre-Ajax Tabbed Content script. It's a great alternative, and I've edited the CSS so it looks identical to how I had the Featured Content Slider set up (other than the slider function, of course, but I can live without that.) I appreciate your time and help, but dealing with the dinosaur that is IE5 is such a pain, I'd hate to waste any more of your time on this.

    Thanks.

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by SkellieSue
    Well, it works but (always seems to be one of those, eh?) ...

    The page loaded fine without generating a Javascript error, but when the slide function kicks in, it hangs for a second, then I get a "This program has performed an illegal operation and will be shut down" error message. When I click "Close" on the message box, another message pops up that says, "There was an internal error." If I leave that message up there (not X-ing out, or clicking "OK") behind it I can see the slider performing perfectly.

    I think I'm going to stay with the pre-Ajax Tabbed Content script. It's a great alternative, and I've edited the CSS so it looks identical to how I had the Featured Content Slider set up (other than the slider function, of course, but I can live without that.) I appreciate your time and help, but dealing with the dinosaur that is IE5 is such a pain, I'd hate to waste any more of your time on this.

    Thanks.
    What type of IE 5 are you using? Unless you were testing on a Mac or PC with IE 5 installed without any other IE browsers on the machine, that error might not be from the script at all. I have these "stand-alone" versions of IE 4 through 5.5 on another computer for testing purposes. They all require IE 6 be installed on the machine to function properly. At some point, one of them started giving that sort of error no matter what I put into it but, as long as I didn't click OK or X to close the dialogue or anything, it would work fine. I always just assumed that this was some problem with the "stand-alone" implementation that had crept in with some update to IE 6 that occurred with 'Live Update' somewhere along the line and just ignored it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Oct 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    The version I have installed is IE5 5.00.2314 on an old 486 PC running Win95, one of several old system I've kept for compatibility testing purposes. It's the only browser installed on that system. I installed it from the Browsers folder on an old AOL disk (Version 4.0), which, I realize, throws a dicey element into the equation, but other Dynamic Drive scripts that are listed as IE 5+ compatible run without a problem on it.

    I was thinking (which is dangerous, since I know next to nothing about Javascript) that something that was included in the updated script to allow the content to load via Ajax may be conflicting with IE5. That thought stems from the pre-Ajax Tabbed Content script (http://www.dynamicdrive.com/dynamici...abcontent2.htm) running without an error, though I admit I didn't try the updated Tabbed Content script (http://www.dynamicdrive.com/dynamici...tabcontent.htm) to test my theory. I realize I have an usual (and archaic) system for testing and this problem could be due to my setup, and not a global IE5 compatibility problem.

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •