Results 1 to 7 of 7

Thread: RSS Scroller (gAjax) not working in IE

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation RSS Scroller (gAjax) not working in IE

    1) Script Title: gAjax RSS Pausing Scroller

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...sescroller.htm

    2b) Host Site:
    http://www.truelight-cdc.com/tester.php

    3) Describe problem:

    I installed this script on my page, and it works great in Firefox et al, but in IE7 I get a blank div instead. I've re read everything and worked on this thing till I'm about to scream and can't figure it out. I'm sure it's something little, but I can't find it. This feature would be a fantastic add for this client, and I'm running out of time...

    Anyone?

    Cheers
    Az

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

    Default

    There is a JavaScript error on that page. FF reports:

    Code:
    Error: $ is not defined
    Source File: http://www.truelight-cdc.com/tester.php
    Line: 89
    In IE, when it encounters a JS error, that will often halt the execution of other scripts on the page as well. Try removing or fixing:

    Code:
    	$(document).ready(
    		function()
    		{
    			$('#dock2').Fisheye(
    				{
    					maxWidth: 80,
    					items: 'a',
    					itemsText: 'span',
    					container: '.dock-container2',
    					itemWidth: 94,
    					proximity: 100,
    					alignment : 'left',
    					valign: 'bottom',
    					halign : 'center'
    				}
    			)
    		}
    	);

  3. #3
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you for the quick reply. I removed all the unnecessary and unrelated code from the original page and ported it over to the tester.php page. Apparently, I didn't upload my final changes, and left that code in at the bottom, creating the error (as I had removed the div it references above). I uploaded the most recent changes which strips it down to nearly only the DD code, and the problem still persists. (this is how I tested it, I apologize for not having the correct version of the tester.php page up when I posted).

    Thanks again,
    AZ
    Last edited by truelight; 04-28-2008 at 07:06 PM.

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

    Default

    Hmm this is a strange one. I've saved your page locally and am running it in IE and FF. So far I don't see why nothing is showing in IE. I've come back to this later today, and if I find the problem, post an update here.

  5. #5
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    hehe... Thanks. I've been going a bit crazy over it myself. I appreciate the time you are spending on this. This is a great deal of support for an open-source script. You have my deepest thanks.

    I'll keep checking back,


    Cheers
    Az

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

    Default

    Hmm after some investigation I still can't see why it's not working in IE. Have you modified the default .js files of the script in any way? So what I did was create a blank page with just the RSS scroller on it and using the original .js files downloaded from the script page. It does work with the feeds you're trying to display. This seems to suggest something has been altered on your page that's causing the error, versus an issue with one of the feeds for example.

  7. The Following User Says Thank You to ddadmin For This Useful Post:

    truelight (05-04-2008)

  8. #7
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    DDAdmin,

    Thanks again for checking this out. I haven't modified any of the .js files, I'm guessing it's something, as you said, in my code interfering in some unknown way. Probably some CSS in IE mucking up. I'll have a rework on it done. Kudos for this!

    Will recommend highly your website, and will use in the future... and there is much to come.

    Az

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
  •