Results 1 to 4 of 4

Thread: one javascript won't work with two others

  1. #1
    Join Date
    Apr 2007
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default one javascript won't work with two others

    Hi everyone. I have two javascripts that work just fine together. However, I'm trying to use this png IE fix (called supersleight) that calls upon another javascript from a conditional comment. It works great, as long as I take out the other two scripts. I don't know much about scripting so I was hoping someone here could help me.

    Here's the page: http://pikespeakderbydames.com/new/

    Is there any way to make the supersleight script work with the other ones, or do I just have to try to find a different fix?

    Thanks!

    p.s. I searched these forums for "conflicting scripts" but didn't find anything that appeared to apply to my situation.
    Last edited by courtney; 07-02-2008 at 06:50 PM.

  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

    That code is poorly written, at least where it comes to its onload event. If you were to make it the last thing on your page before the closing </body> tag, it might work out. There could also be other issues. Here is another png fix method:

    http://www.twinhelix.com/css/iepngfix/

    which doesn't have that problem.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    courtney (07-02-2008)

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

    Default

    Thanks, I'll try that. I had tried that one before, and couldn't get it to work either, but can't remember why, exactly. But I've learned some things in the last couple days, so maybe I can get it to work now! If not, I'll be back.

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

    Default

    It worked! Hooray!

    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
  •