[jQuery] Bind resize of window doesn't run when in fullscreen(opening a sidebar for example)

2008-09-25 Thread ioor
here's my code: $(document).ready(function() { $(window).bind("resize", function(){ iframesize(); }); function iframesize(){ wheight = $(window).height(); // wwidth = $(window).width(); $('iframe').height(wheight - 30); // $('iframe').width(wwidth); }; iframesize(); }); W

[jQuery] Position a cluetip x pixels to the right and up based from the LEFT margin of a link!?

2008-09-20 Thread ioor
I'm trying to get a tooltip positioned right above a hovered link using the plugin cluetip. It wants to base it's position on the right margin of a link, which changes depending on the length of a link so I can't just set a margin to make it position the same all the time. Anybody know how you ca

[jQuery] Show/Hide divs depending on choice made in a select box

2007-10-25 Thread ioor
I have a select box with this structure: OPTION1 OPTION2 -OPTION3 -OPTION4 OPTION5 -OPTION6 -OPTION7 -OPTION8 OPTION9t And I'd like a different div containing other forms to show up and hide the others depending on what choice is made in the select box. I've tried to get it to work, but couldn