Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Cool Need expert help, same as example, broke in IE, perfect in chrome/FF, Jquery Spectrum

    Need expert help, Javascript is same as example, but has error in IE, works perfect in chrome/firefox. Jquery spectrum() colorpicker

    color picker example works perfect in Internet explorer, here: http://jsfiddle.net/bgrins/ctkY3/

    Then on my test site, using the exact same css+js files it will not work on my site in IE: http://xekon.byethost7.com/

    I have even simplified the example a bit. I cannot tell what the problem is, but I would certainly appreciate any help.

    I inspected the source at jsfiddle but did not see anything being done differently.
    Last edited by xekon; 02-06-2013 at 06:51 AM.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,438
    Thanks
    75
    Thanked 4,372 Times in 4,337 Posts
    Not to ask a dumb question, but... Why don't you ask the people who created spectrum.js?

    By the by, it works fine in MSIE 9, except that when you click on the down arrow, the chooser appears further down the page, instead of in the same place.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    xekon (02-06-2013)

  • #3
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I actually figured it out. I had to add this to the top of my page:

    <!DOCTYPE html>

    This validator is a great tool: http://validator.w3.org/

    I have fixed the problem on my example page that had the issue, but before I fixed it by adding <!DOCTYPE html> it was completely broken.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •