[jQuery] Checkbox and Radio buttons hooked on change problem in Internet Explorer

2009-01-21 Thread XeroXer
Hi all. I am triggering an ajax load on my page if a radio button or checkbox is changed. For this i am binding 'change' to the checkbox or radio button. This works perfect in both Firefox and Safari but not in Internet Explorer. In Internet Explorer it does not hook on the change but the deselec

[jQuery] Re: Calling seperate function in each()

2008-10-20 Thread XeroXer
I have returned with yet another question. If I want to collapse all the other menu items before expanding the clicked one I tried using this: ... .bind('showme', function() { $("a.Category").trigger("showme"); $(this).data("hidden", false).parent("li") .css({background: "#00ff00"}).children("ul")

[jQuery] Charset with data loaded through ajax

2008-10-20 Thread XeroXer
Hi! I have started using ajax to load data on a homepage for a faster easier usage. The homepage is created using ISO-8859-1 as charset and that seems to cause a few problems using ajax. Everything works fine until I get data with åäö in the content, then ajax insted sends strange signs. It see

[jQuery] Re: jQuery help to replace CSS position: fixed;

2008-10-14 Thread XeroXer
html > > --Klaus > > On 14 Okt., 11:10, XeroXer <[EMAIL PROTECTED]> wrote: > > > Hi! > > > I am making a menu that I place along the left side of the page. > > I starts with the position: absolute; left: 0; top: 50px; > > I tried using position: fixed;

[jQuery] Re: jQuery help to replace CSS position: fixed;

2008-10-14 Thread XeroXer
> the plugin section has more to offer... > cu tom > > On Oct 14, 11:10 am, XeroXer <[EMAIL PROTECTED]> wrote: > > > Hi! > > > I am making a menu that I place along the left side of the page. > > I starts with the position: absolute; left: 0; top: 50px; >

[jQuery] jQuery help to replace CSS position: fixed;

2008-10-14 Thread XeroXer
Hi! I am making a menu that I place along the left side of the page. I starts with the position: absolute; left: 0; top: 50px; I tried using position: fixed; but that didn't work in IE6. What i want is that when a user scrolls down the page the menu follows. $(window).scroll(function () { var

[jQuery] Re: Calling seperate function in each()

2008-10-14 Thread XeroXer
Thank you very much, that worked like a charm. On Oct 13, 11:15 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > How about this? It creates a couple of custom events (showme and > hideme) that you trigger to set the state, and the click event just > delegates to the right one based on the current st

[jQuery] Re: Calling seperate function in each()

2008-10-12 Thread XeroXer
The markup will be generated from a MySQL database using PHP so it could look in many different ways. But as I have it now: [+expand] | [-collapse] category 1 category 1 1 f

[jQuery] Calling seperate function in each()

2008-10-12 Thread XeroXer
Hi! I am making a simple expanding list with categories and content. This is my script: this.OpenElement = function () { $(this).unbind('click', OpenElement); $(this).bind('click', CloseElement); $(this).parent("li").css({backgroundColor: "#00ff00"}).children("ul").show(

[jQuery] Unhook already hooked function to click

2008-10-11 Thread XeroXer
Hi! I am making a effect that when you click a image the large image is opened in a absolute positioned div above everything else. Then a close link is created at the top of the page an clicking that will close the image again. The problem I am having is that people can click another image while

[jQuery] Remove div after animation

2008-10-10 Thread XeroXer
Hi! I am really new to jquery and javascript in general. I am making an effort in creating something in the area of a smooth thickbox effect with image magnification. If people click a link the linked image is opened in an absolute positioned div that appears with an animate effect. When they clo

[jQuery] Re: Queue regular function with hide and show

2008-05-31 Thread XeroXer
I really thought that would solve it, looked so promising. I used the slideUp and slideDown effects instead since they looked a lot better, though it does now wait for the first effect to complete. If anything it starts the slideDown earlier when I use the method you wrote, and after it's done it

[jQuery] Queue regular function with hide and show

2008-05-31 Thread XeroXer
Hi there. I have played around a bit with hide() and show() the last few days and ended up creating a function to show certain tables on a page. function toggleShow(id) { $('.tbl').hide('slow'); $('#' + id).show('slow'); } $(document).ready(function() { $('#index').show('

[jQuery] Changing input value from an array

2008-05-16 Thread XeroXer
links to lower and raise the array id so that the input values change. Then something to block it from going higher than the max input in the array and lower than 0. I hope that someone understands what I want and that someone also can help me. ----- Best regards Magnus 'XeroXer' --

[jQuery] Making a to an where value changes

2008-05-14 Thread XeroXer
t creates an like this: - + If someone presses the + sign the input should become this instead: - + So it loops through the in the The only problem I can think of is how to also include the value from the option. - Best regards XeroXer

[jQuery] Generate "onBlur"

2008-05-14 Thread XeroXer
this: I have no idea even how to start with this but I hopw that someone can help me. - Best regards XeroXer