Results 1 to 8 of 8

Thread: Virtual Pagination script not working in IE

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

    Default Virtual Pagination script not working in IE

    1) Script Title: Virtual Pagination script v2.0

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

    3) Describe problem: I installed this script, but I'm getting errors in IE6. When there's only one content div, IE6 throws an "Object required" error. When there is more than one div, the page quits loading and I get a nasty alert from IE that the operation was aborted, and I get a "Page cannot be displayed."

    I get no error whatsoever in FireFox, and it works beautifully. It's driving me bonkers!

    One thing, I have scriptaculous, prototype, and lightbox on the same page. Could there be a conflict? If so, I don't understand why it works in FireFox.

    Please Help!!! I'm at my wits end!

    Thanks!

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to your site or attach your code.

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

    Default

    Testing the default script in IE6 with just one content, I don't get any errors. As mentioned, please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

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

    Default

    Thanks for responding

    I will upload the page at work on Monday and post a reminder at that point.

    Thanks!

  5. #5
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK, I uploaded it to our test server. Here are two pages. The first one has one piece of content (which oddly works now in IE). The second one has two pieces of content, and that one gives me a operation aborted in IE. This works fine in FireFox, without giving me any errors (including the error console).

    1. http://67.210.123.251/news/story.aspx?s=29816
    2. http://67.210.123.251/news/story.aspx?c=12

    BTW, the content that's being paged are the pictures inside of the article. You may have to use FireFox to check out the source, since IE won't cooperate.

    Thanks!

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

    Default

    The second one has two pieces of content, and that one gives me a operation aborted in IE.
    Looking at your page in IE6, I do get the Operation aborted error. However, that error usually is associated with IE not being able to access a file or URL called from an IFRAME or some other embedded object, and shouldnt' have anything to do with Virtual Pagination script per say.

    There are a lot of other scripts on your page, so it's hard to say who the culprit is. I'd start with a fresh page with just VP script on it, verify it works, then slowly add back the rest of your contents to isolate the issue.
    DD Admin

  7. #7
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    Looking at your page in IE6, I do get the Operation aborted error. However, that error usually is associated with IE not being able to access a file or URL called from an IFRAME or some other embedded object, and shouldnt' have anything to do with Virtual Pagination script per say.

    There are a lot of other scripts on your page, so it's hard to say who the culprit is. I'd start with a fresh page with just VP script on it, verify it works, then slowly add back the rest of your contents to isolate the issue.
    I will do that, but when I remove the virtual pagination script, the error goes away. At this point I'm thinking there's a conflict with another script.

    I'll check it out and keep you guys posted.

    Thanks!

  8. #8
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, I got tired messing with it, so I wrote my own little script. It's really simple. All I'm doing is generating content and the pager links on the fly with .NET. The links call a simple script, passing the id of the div I want to display. Al content divs (inside of the parent div) are set to display:none, except for the one that's being passed. A little dirty? Perhaps, but it works for me.

    Thanks for trying to help me!

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
  •