[jQuery] Re: Image enable or disable

2008-09-06 Thread spicyj
You'll likely find better help if you use proper grammar. I'm a bit confused as to what you're looking for. Possibly you want something like this? http://jquery.khurshid.com/ifixpng.php ~spicyj

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-20 Thread spicyj
> encodedString.replace(/%20/g, "+"); Or simply decodeURIComponent("dog+cat%20horse+whale").

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread spicyj
encodeURIComponent("dog cat horse whale")

[jQuery] Re: AutoComplete > Multiple Elements, Same Function

2008-07-16 Thread spicyj
Try: $("#Tags, #MoreTags").each(function(input) { input.autocomplete("GetTags", { autoFill: true }); });

[jQuery] Re: Help with XML parsing/looping

2008-07-16 Thread spicyj
Change "$('entreelisting',xml)" to "$('entreelisting',this)".

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread spicyj
On line 27, 'left: "311px"' should not have a comma after it. That solves the problem for me. On Jul 16, 11:54 am, The Sixth Halcon <[EMAIL PROTECTED]> wrote: > Here you can see a functional sample ;)http://blitrank.com/pspsdk_test/ > > Thanks a lot!

[jQuery] Re: Insert new DOM element with new ID (index)?

2008-07-16 Thread spicyj
I think your code has a couple extra lines. It should be: $('.new').livequery('click', function() { $('.new').before('Item ' + (index + 2) + ''); return false; }); Though I'm not sure you actually need "livequery" there; I think bind would suffice.

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread spicyj
It always helps if you can upload a simple test case page that displays the error.

[jQuery] Re: Help finding this script

2008-07-04 Thread spicyj
You probably want to use the "hover" event to replace a photo and a block of text on your page. What have you tried? Can you put up a simple test page for us to look at? Thanks! ~spicyj

[jQuery] Re: how to load and change the external HTML fragment with AJAX

2008-07-03 Thread spicyj
Can you post a webpage with a simple example? Thanks! xasima wrote: > Hi, I want to load a fragment of external html document > (external.html#embeddedContent) with the help of AJAX call, embed > (inject) this into my HTML document (main.html#placeToInject), and > change this embedded fragment

[jQuery] Re: Position cursor at end of textbox?

2008-07-02 Thread spicyj
This might be helpful: http://pastie.org/226790 // shamelessly stolen from the Masked Input plugin $(":text").bind("focus", function() { $(this).caret(this.value.length); }); Not tested, so I don't know if it works, but it might.

[jQuery] Re: unsubscribe me

2008-07-02 Thread spicyj
Your username is [EMAIL PROTECTED] On Jul 2, 11:05 am, "Rohit Mandlik" <[EMAIL PROTECTED]> wrote: > Hi, > > How can i unsubscribe from this forum so i will not get more mails from this > forum. > I forgot my username and password. > please help me > > thanks > Rohit

[jQuery] Re: .removeClass() performance is very low on IE7

2008-07-02 Thread spicyj
Can you give a sample page? I'm confused about what you mean by "only 2 elements to remove". On Jul 2, 9:51 am, Evert <[EMAIL PROTECTED]> wrote: > //only 2 elements to remove > $("#id").removeClass('onesimpleclassonly'); > > It took almost 3 ~ 4 seconds to remove the class. > What can I do to spe

[jQuery] Re: Newbe: Why can't I reference $('#...') in functions?

2008-07-02 Thread spicyj
I haven't tried it myself, but does it help if you replace the first three lines with: $(document).ready(function() { $("#button").click(filldiv); }); Just a first thought. ~Ben lwoods wrote: > Why can't I reference the DIV using the jQuery format? Here is the > example (minus opening HTML

[jQuery] Re: Question about function objects vs object literals?

2008-06-30 Thread spicyj
No guarantees, but this might work (using code from http://www.hedgerwow.com/360/dhtml/ie6_memory_leak_fix/): http://pastie.org/private/rarlluuasfvmmtqkgvca On Jun 30, 12:18 pm, Oltmans <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm stuck in a situation where I need help. Any help will be highly >

[jQuery] Re: Getting element index, then adding text later to that index location

2008-06-30 Thread spicyj
On Jun 30, 10:59 am, Dan <[EMAIL PROTECTED]> wrote: > But when I click, it adds the red text color to all parents too. I > changed the code too print the index number and it appends several > index numbers to the element I click and the parents. > > [...] > > So, how do I get only the top most ele

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread spicyj
The problem is that curvycorners is adding "float: left;" to the innermost tag, causing the "Preview" to be on the left. The source claims that it's a fix for negative margins.

[jQuery] YUI munging?

2008-06-30 Thread spicyj
Why does the YUI Compressor not munge the variables in the jQuery source? If I try to compress only a part of it, then it works fine. Is there a way to compress the source smaller? Thanks!