Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Different code for different browsers

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32426
    XaviJr
    Participant

    Hi there!

    I have a javascript code that simulates a book effect and doesn’t work with the new IE9. I really want to keep multiple images, so i want to show a different code/plugin just for this browser.

    Is this possible? What’s the best way to get this done? PHP, javascript?

    #50034
    Gabriel
    Participant

    HTML conditional comments are your friend.

    You can drop specific scripts, stylesheets, whatever within them to target only specified versions of IE, and also hide things from specified versions.

    #50059
    XaviJr
    Participant

    Thank you guys, i will try implement TheGaber method.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.