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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    jquerui accordion problems in IE

    Hello!, i am new to jquery but i love it! however i am having troubles with my site working properly in Internet Explorer 7+

    the website is
    http://www.onlinehorrormovies.net


    Example of the error is:
    http://onlinehorrormovies.net/movie.aspx?v=50

    Please look at it in IE, The bottom accordions 'Watch Online", "User Comments" and " Post Comments" are broken.


    Can somebody please tell me whats wrong with it?

    the errors i get are:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; msn OptimizedIE8;ENUS)
    Timestamp: Sat, 31 Oct 2009 22:41:55 UTC


    Message: Invalid argument.
    Line: 83
    Char: 8154
    Code: 0
    URI: http://hitplay.net/js/jquery-ui-1.7.2.custom.min.js

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    I had this once, and it took me flipping AGES to figure it out. I'm not 100% it's the cause in this case, but you are doing the same thing that I did:

    When you list members of an object, you put a comma after the last member. Firefox doesn't mind it, but IE does. For example:
    Code:
    	$(function() {
    		$("#accordion_s2").accordion({
    			icons: {
    				header: "ui-icon-circle-arrow-e",
    				headerSelected: "ui-icon-circle-arrow-s",
    			}, autoHeight: false
    		});
    	});
    That last highlighted comma? That's what was causing those errors for me.


  •  

    Posting Permissions

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