Results 1 to 5 of 5

Thread: jQuery script not functioning on IE.

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

    Default jQuery script not functioning on IE.

    Hi Guys,

    I've been pouring over my coding for the past 24 hours trying to figure what's wrong and I still can't put my finger on it.

    I'm applying this script described here

    http://nettuts.com/javascript-ajax/c...uery/#more-314

    and heres my test layout, http://www.twonnyc.com/index4

    It works fine on FireFox Mozilla & Safari.

    I apologize for the unorganized coding in advance, I know it's looks like a mess.

    I have a feeling it has something to do with one of the three ".JS" files but they're identical copies from the tutorial.

  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

    Nope, it's your styles and probably your markup as well. If I substitute the tutorial's demo's stylesheet for yours, the script at least works in IE. However, the layout then looks bad in both IE and FF.

    Try validating your styles and markup.
    - 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:

    chickenx (09-10-2008)

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

    Default

    hey jscheuer,

    thanks for the help! I've been agonizingly validating my markup and i fixed my .css

    the problem was a rouge
    '
    what a headache!

    thanks for the help,

    by the way, is there a way for me to align the navigation tab images to the left,
    when i throw a
    align="left"
    it distorts the rest of the page

  5. #4
    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

    Well, in FF they are already on the left. But in Opera and IE they are centered. If you were to add this style:

    Code:
    .tabnav {
    text-align:left;
    }
    It should work out OK.
    - John
    ________________________

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

  6. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    align="left" is invalid in modern DTDs. Make sure you're using HTML 4.01 Strict.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •