Results 1 to 3 of 3

Thread: CMotion Gallery Issue

  1. #1
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion Gallery Issue

    Hello, first, thanks for the great scripts, now, my problem is that i have a conflict betwen this script and another one, and i can't make the two work at the same time, can you please take a look? (the problem is in the onload)

    http://www.sub-pixels.com/osorno/

  2. #2
    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

    There are many ways to resolve this, here is one -

    Change this line:

    Code:
      window.onload =function()
    so that the code below it becomes an independently named function, use - say:

    Code:
    function roundedCornersLoader()
    Now it can go in the body tag, like so:

    Code:
    <body onload="fillup();roundedCornersLoader();" style="background-color:#b5bab6;">
    - John
    ________________________

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

  3. #3
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks, now it work

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
  •