Results 1 to 2 of 2

Thread: Random Content Order - IE Operation Aborted Error

  1. #1
    Join Date
    Jan 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Content Order - IE Operation Aborted Error

    1) Script Title: Random Content Order

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

    3) Describe problem: Script works fine in Firefox. It causes Operation Aborted error in IE7. The page will load fine in IE7 if & take the script out.

    I am testing the website here - www.gaddyproperty.com/gcki

    I am using the script to display the sponsor logos in a random order on page load or page refresh. I have the script working just fine in Firefox & IE7 for the same purpose on this site www.southwestregionalcup.com.

    I would really like to use the script again on the GCKI site if I can just fix the IE Operation Aborted error.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Jan 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Infamous IE Operation Aborted Error

    OK I found a fix here

    http://www.rockettheme.com/forum/ind...topic&start=45

    Here is the code that fixes it

    <script type="text/javascript">
    window.addEvent('load', function() {
    //DOM code...your code here
    });

    I changed the code

    <script type="text/javascript">

    //randomize order of contents with DIV class="group1"
    randomizeContent("group1")

    </script>
    to (add the code in red)

    <script type="text/javascript">
    window.addEvent('load', function() {

    //randomize order of contents with DIV class="group1"
    randomizeContent("group1")

    });
    </script>

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
  •