[jQuery] iframe bug document.defaultView.getComputedStyle(elem,null)

2007-10-11 Thread Skilip
Hi, I found a bug with jQuery version 1.2. It concerns the following error generated by Firebug in Firefox when a iframe is present in a page. document.defaultView.getComputedStyle(elem, null) has no properties I solved it by replacing the following code with the code pasted underneath. old: (l

[jQuery] Interface Color picker issue

2007-09-30 Thread Skilip
Hi everybody, At the moment I'm writing a color- picker plugin for jQuery. For that I've used the color-picker written by the really smart developers from interface.eyecon.ro. But I am trying to make it backwards compatible, so when you change the values of the hex, or RGB input fields, the color

[jQuery] How to return a click event from the container function

2007-09-19 Thread Skilip
Hi, I'm currently working on a function which shows a inline dialog, so I can use html in the dialog box. In the dialogbox I've put a button to close the dialog box. If the button is clicked I want the function showDialog() to return a value. The problem is that it's out of the scope when I'm in t

[jQuery] Re: Set the position of an element using the dimensions plugin

2007-05-16 Thread Skilip
Far out! jQuery rules! Thanks a lot!

[jQuery] Re: Set the position of an element using the dimensions plugin

2007-05-16 Thread Skilip
Alright, but that's the absolute position relative to it's container's position. Is it not possible to place it (like offset.top) relatively to the browsers canvas?

[jQuery] Set the position of an element using the dimensions plugin

2007-05-16 Thread Skilip
Hi, With the plugin 'dimensions' I figured out how to get the position of an element. But what do I have to do to set it?

[jQuery] Re: Getting a checkbox value

2007-05-16 Thread Skilip
Thanks a lot for helping me out! I've figured out that $ (this).attr("checked"); returns true or false.

[jQuery] Getting a checkbox value

2007-05-15 Thread Skilip
Hi, how do I get the value of a checkbox? If i use this code I get for both checked and unchecked 1 as a result. $('#edit-use-background-image').change(function() { alert($(this).val()); });