Re: [jQuery] jquery inside a loop... need suggestions to improvecode

2007-03-16 Thread Erik Beeson
arch 16, 2007 11:46 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] jquery inside a loop... need suggestions to improvecode Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $("a.tooltip").each(function()

Re: [jQuery] jquery inside a loop... need suggestions to improvecode

2007-03-16 Thread Michael E. Carluen
Of Daemach Sent: Friday, March 16, 2007 11:46 AM To: jQuery Discussion. Subject: Re: [jQuery] jquery inside a loop... need suggestions to improvecode Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $(

Re: [jQuery] jquery inside a loop... need suggestions to improvecode

2007-03-16 Thread Daemach
16, 2007 11:46 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] jquery inside a loop... need suggestions to improvecode Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $("a.tooltip").each(funct

Re: [jQuery] jquery inside a loop... need suggestions to improvecode

2007-03-16 Thread Michael E. Carluen
riday, March 16, 2007 11:46 AM To: jQuery Discussion. Subject: Re: [jQuery] jquery inside a loop... need suggestions to improvecode Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $("a.tooltip").each(function()

Re: [jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Daemach
Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $("a.tooltip").each(function(){ $(this).hover(function(){ $("[EMAIL PROTECTED]" + this.id.split("_")[1]).show(); },function(){ $("[EMAIL PROTE

[jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Michael E. Carluen
Hello (CF) jQuerians, I currently have a working code but I would really like to improve and make it more efficient. Your suggestions will be great. Right now, I have a jquery script inside a loop (cfloop). The jquery is a just simple tooltip-like functionality, that shows and hides a thumbnai

Re: [jQuery] inside A

2006-09-12 Thread Rey Bango
If you don't need the div in there, you could do $("a").addClass( "someclass" ); Rey... >>>Forgive me my stupid question... but is there an easy way to turn this: >>> >>>some text >>> >>>into this: >>> >>>some text >>> >>>It's some kind of wrap... but from the inside :-) >>> ___

Re: [jQuery] inside A

2006-09-12 Thread Stamen Georgiev
Thanx for the help guys! >> Forgive me my stupid question... but is there an easy way to turn this: >> >> some text >> >> into this: >> >> some text >> >> It's some kind of wrap... but from the inside :-) >> > > Try: > http://motherrussia.polyester.se/jquery/wrapinner/ > > /christian > _

Re: [jQuery] inside A

2006-09-12 Thread Christian Bach
Stamen Georgiev wrote: > Forgive me my stupid question... but is there an easy way to turn this: > > some text > > into this: > > some text > > It's some kind of wrap... but from the inside :-) > Try: http://motherrussia.polyester.se/jquery/wrapinner/ /christian

Re: [jQuery] inside A

2006-09-12 Thread Christof Donat
Hi, > var elem = $("[EMAIL PROTECTED]'#']"); > elem.html('' + elem.html() + ''); That is OK, if there is only one a element. In case the HTML-Body looks like this: 1234 6789 You will get 1234 1234 Because elem.html() returns only the content of the first element in the jQuery-Objec

Re: [jQuery] inside A

2006-09-12 Thread Klaus Hartl
Dossy Shiobara schrieb: > On 2006.09.12, Stamen Georgiev <[EMAIL PROTECTED]> wrote: >> Forgive me my stupid question... but is there an easy way to turn this: >> >> some text >> >> into this: >> >> some text >> >> It's some kind of wrap... but from the inside :-) > > I'm assuming you want to inj

Re: [jQuery] inside A

2006-09-12 Thread Christof Donat
Hi, > some text > > into this: > > some text $("[EMAIL PROTECTED]'#']").each(function() { $(this)html(''+$(this).html+''); }); Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] inside A

2006-09-12 Thread Klaus Hartl
Stamen Georgiev schrieb: > Forgive me my stupid question... but is there an easy way to turn this: > > some text > > into this: > > some text > > It's some kind of wrap... but from the inside :-) If you use a to wrap inside, than, yes, there is a way. Otherwise not, because a is not allo

Re: [jQuery] inside A

2006-09-12 Thread Marco M. Jaeger
Is this valid xhtml? -Original Message- From: Dossy Shiobara [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 3:54 PM To: discuss@jquery.com Subject: Re: [jQuery] inside A On 2006.09.12, Stamen Georgiev <[EMAIL PROTECTED]> wrote: > Forgive me my stupid question.

Re: [jQuery] inside A

2006-09-12 Thread Dossy Shiobara
On 2006.09.12, Stamen Georgiev <[EMAIL PROTECTED]> wrote: > Forgive me my stupid question... but is there an easy way to turn this: > > some text > > into this: > > some text > > It's some kind of wrap... but from the inside :-) I'm assuming you want to inject the div for a reason OTHER than t

[jQuery] inside A

2006-09-12 Thread Stamen Georgiev
Forgive me my stupid question... but is there an easy way to turn this: some text into this: some text It's some kind of wrap... but from the inside :-) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] running jquery inside a thickbox iframe

2006-09-08 Thread Blair McKenzie
You need to include jquery in the html file loaded in the iframe. If you want to use jscript on a different frame from the executing frame you need to use the syntax frameobject.$()Blair On 9/8/06, Steve Urmston <[EMAIL PROTECTED]> wrote: Hi folksI've had a go trying to run jquery code inside a thi

[jQuery] running jquery inside a thickbox iframe

2006-09-08 Thread Steve Urmston
Hi folksI've had a go trying to run jquery code inside a thickbox iframe (loaded content from AJAX) with no success. It is possible to run ordinary _javascript_ through onlick handlers, but I can't seem to get jquery to work. Does anyone know if this is even possible?cheers,steve __