Ok, i'm frankly new to jQuery, and in no ways an expert at Javascript, also english is not my native language, so please feel free to ask for clarifications if there is something you dont understand.
My problem is a want to set the value of fillSpace depending on the window size, so that it will be "true" and thus locked to a fairly small size when the window is smaller than 500px in height, and set to "false" when the opposite is true. on the page there is already a function to change the layout acording to window size, which is called everytime the window is resized. in this function, i change the value of a variable called "maybe" which is later used as the value for the fillSpace option. (so, if height is smaller than this or that, maybe = true and so on..) it "kinda" works, but you have to relaoad the page for the changes to take place. it's wierd, because the layout changes (a little addclass this and removeclass that) works just fine, and the changes comes into effect on the resizing of the window. any pointers as to how i can achive this with tha accordion? any solution which will let me set the fillSpace to different value according to window height, and that will effect the accordion "instantly" depending on window resizing is welcome! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
