[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-13 Thread Dr. Tarique Sani
On 10/14/07, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote: > > ahahah, I have forgotten tha corret URL, sorry. > > It´s http://leandrovieira.com/projects/jquery/lightbox/ > Great work - thanks - One feature which I miss is resizing of pictures if the window is smaller and an ability to see ful

[jQuery] Re: Dynamic attributes selectors

2007-10-13 Thread [EMAIL PROTECTED]
Yep thanks Andrea On 13 oct, 16:52, "Per Ghosh" <[EMAIL PROTECTED]> wrote: > var forAttr = '#last_name';*$('a[href=forAttr]').text('ciao');* > > should be > > var forAttr = '#last_name';*$('a[href=' + forAttr + ']').text('ciao');* > > ** > > > Hi, I have this small issue that I cannot solve. I l

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-13 Thread watermelongunn
Any chance someone could elaborate on what George explained? It sort of makes sense to me, but I'm still a bit lost. What would I do if a page I'm working on already has Prototype and JQuery 1.1.4 (loaded with noConflict()), and I wanted to then add JQuery 1.2.1 and some plugins? Is that even p

[jQuery] slideToggle "flickers" on slideDown in FF but not IE

2007-10-13 Thread somnamblst
The flicker or flash of white I am struggling to find a solytion for is only happening when slideToggle slides down, the initial slideDown slideUp do not flicker. Flicker occurs in FF, but not in IE. $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $

[jQuery] Re: Dynamic attributes selectors

2007-10-13 Thread Per Ghosh
var forAttr = '#last_name';*$('a[href=forAttr]').text('ciao');* should be var forAttr = '#last_name';*$('a[href=' + forAttr + ']').text('ciao');* ** > Hi, I have this small issue that I cannot solve. I look for an element > checking the attribute href: $('a[href='#last_name']').text('ciao');

[jQuery] Re: Jquery and Pseudo classes

2007-10-13 Thread Glen Lipka
Why do you need jQuery for that? a:link {} a:hover {} a:active {} all work fine in CSS? Check out http://www.jquery.com/api. You can see a nice list of all of the things jQuery can do there. Glen On 10/13/07, wattaka <[EMAIL PROTECTED]> wrote: > > > How does set the classes of an tag? I would

[jQuery] json-to-tree?

2007-10-13 Thread Jack Killpatrick
Hi All, Anyone know of a tree plugin that can populate from a json source (with minimal fuss)? How about a breadcrumbing plugin that can read from a json source? I basically have a bunch of nested categories in json and am exploring various navigation options, focusing mainly on plugins tha

[jQuery] Re: Selection

2007-10-13 Thread Wizzud
$('a').filter(function(){ return ($ (this).parents('#xy').length==0); }).MyFunction(); On Oct 13, 9:28 am, ksuess <[EMAIL PROTECTED]> wrote: > Hi. I want to apply a function to all links, but not these in a div > with id #xy. There could be nested elements in #xy with links in it. > How can I mo

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-13 Thread Leandro Vieira Pinho
ahahah, I have forgotten tha corret URL, sorry. It´s http://leandrovieira.com/projects/jquery/lightbox/ Regards. On Oct 13, 8:34 am, Erlend Schei <[EMAIL PROTECTED]> wrote: > > I have released a new version: 0.3. Applying many suggestions here > > mentioned. > > Marvellous! Thanks for consideri

[jQuery] Re: How about add js language enhancement to jQuery in next version

2007-10-13 Thread Wizzud
Not me. On Oct 13, 3:43 pm, Jiming <[EMAIL PROTECTED]> wrote: > I found the enhancement of prototype and motool is very helpful to > coding. > > Anyone agree with me? > > Thanks! > > Jiming

[jQuery] Re: Dynamic attributes selectors

2007-10-13 Thread Wizzud
Try... var forAttr = '#last_name'; $('a[href=' + forAttr + ']').text('ciao'); On Oct 13, 10:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have this small issue that I cannot solve. > > I look for an element checking the attribute href: > > $('a[href='#last_name']').text('c

[jQuery] Re: Determining the length of an object/array in IE

2007-10-13 Thread Wizzud
You're making an assumption that in IE there are newline characters in the retrieved html - there aren't. Try this ... // $codetext.pop(); // $codetext.shift(); if(!$codetext[$codetext.length-1]) delete $codetext[$codetext.length-1]; if(!$codetext[0]) delete $codetext[0]

[jQuery] Jquery and Pseudo classes

2007-10-13 Thread wattaka
How does set the classes of an tag? I would like to trigger the active, hover or link attributes Thanks

[jQuery] Re: How to iterate and manipulate an object

2007-10-13 Thread Michael Geary
Hector, I'm afraid you lost me there. I'm always eager to improve my code, but I am having trouble figuring out what you're talking about. I *think* you were saying that the code promotes some bad coding habit having to do with loop iteration, but I'm not sure what that could be. The only loop in

[jQuery] Dynamic attributes selectors

2007-10-13 Thread [EMAIL PROTECTED]
Hi, I have this small issue that I cannot solve. I look for an element checking the attribute href: $('a[href='#last_name']').text('ciao'); And It's fine but if I try to use a variable the selector fail: var forAttr = '#last_name'; $('a[href=forAttr]').text('ciao'); forAttr is exactly #last

[jQuery] Bookmark with jQuery

2007-10-13 Thread Johny
Did anyone successed in making a script that can bookmark a webpage? The script I used worked with IE but I would like the script to work with Firefox and Opera too. Do you have any idea how to do that with jQuery? Thanks L.

[jQuery] Layout support in jQuery UI

2007-10-13 Thread Shishir Srivastava
Hi, I have gone through the widget and components available in jQ ui, however there are no ready made layout components as such which can be used. I don't wish to use third party plugins such as ext, scriptaculous etc for that. Is there something I am missing or layouts are not natively part of

[jQuery] Re: slow livequery after loading 900 rows of table

2007-10-13 Thread Flesler
If you have many handlers, for many different elements, you could check http://jquery.com/plugins/project/Listen Ariel Flesler On Oct 12, 11:46 am, kamiseq <[EMAIL PROTECTED]> wrote: > ok it seems that livequery is the problem here, I ve > readhttp://docs.jquery.com/Tutorials:AJAX_and_Eventsand

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-13 Thread Erlend Schei
> I have released a new version: 0.3. Applying many suggestions here > mentioned. Marvellous! Thanks for considering and implementing our needs and suggestions. You've also gotten rid of the physical url references in the css. That makes this module much easier to implement and maintain! > See

[jQuery] Case-insensitive version of :contains(text) ?

2007-10-13 Thread RichUncleSkeleton
The selector :contains(text) appears to be case sensitive (though there's no mention of this in the jQuery docs). Is there a case insensitive version?

[jQuery] Selection

2007-10-13 Thread ksuess
Hi. I want to apply a function to all links, but not these in a div with id #xy. There could be nested elements in #xy with links in it. How can I modify $('a').MyFunction() to do this? Thanks and regards, Katja

[jQuery] newbie: question

2007-10-13 Thread Manu
hi, To use AJAX in my website, I select the "a" field. I'll would like to know if it is possible to select only the link who have not an onclick method. Thanks,

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-13 Thread koollx
I can use PasteMonkey but I don't see how it can help in this case - what exactly do you want me to paste in it? The line that takes over 20 seconds to execute is the regexp applied to the HTML that's passed to jQuery constructor. There is no point in editing HTML (I think) because it is automatic

[jQuery] Re: slow livequery after loading 900 rows of table

2007-10-13 Thread Flesler
You can try event bubbling (event delegation) that should work faster... On Oct 12, 11:46 am, kamiseq <[EMAIL PROTECTED]> wrote: > ok it seems that livequery is the problem here, I ve > readhttp://docs.jquery.com/Tutorials:AJAX_and_Eventsand it seems it will > be the better way, will not? > > On

[jQuery] How about add js language enhancement to jQuery in next version

2007-10-13 Thread Jiming
I found the enhancement of prototype and motool is very helpful to coding. Anyone agree with me? Thanks! Jiming

[jQuery] Re: How to use history remote with search results

2007-10-13 Thread Klaus Hartl
On 12 Okt., 22:18, ogurec <[EMAIL PROTECTED]> wrote: > Hi, > i use history remote plugin and i try to make it work > when i send request from search form. > > I tried this approach: > > $('#search_form').submit > ( > function() > { > var aurl = this.action; >

[jQuery] Re: Ajax tabs detect automatically

2007-10-13 Thread Klaus Hartl
On 10 Okt., 18:39, zorba <[EMAIL PROTECTED]> wrote: > The best woud be if you could just have a look at this site I'm > currently developping. > > http://maroc.visages-trekking.com/beta/randonnee-ski-rando.php > > access with login 'zorba' / password 'kazantzakis' > > As you see there is a list of

[jQuery] Re: How to use history remote with search results

2007-10-13 Thread Klaus Hartl
On 12 Okt., 22:18, ogurec <[EMAIL PROTECTED]> wrote: > Hi, > i use history remote plugin and i try to make it work > when i send request from search form. > > I tried this approach: > > $('#search_form').submit > ( > function() > { > var aurl = this.action; >

[jQuery] Re: Livequery and History / Remote togehter. Help.

2007-10-13 Thread gimperdaniel
Can someone please help?I have been stuck with this for about 2 weeks now. I have also tried listen and the other history plugin. gimperdaniel wrote: > > > > I will try to explain myself as clear as possible: > > I have used Ajax in the past. Not with jquery though. I have been working > wi

[jQuery] Determining the length of an object/array in IE

2007-10-13 Thread Rob
I know this should be simple, I know this should work, but it isn't and doesn't. so if you take a look-see at http://www.roberthenrylowe.com/lab/jQuery/codeconverter.html in Firefox, you'll see what I am trying to accomplish and in fact, it works there. Basically I take a block and make it a fa

[jQuery] How to bind data to the ajax callback function?

2007-10-13 Thread arphenlin
Below is an example to use jQuery.get() to get some html data. I expect that "0", "1" (or "1", "0") are displayed, however, it displayed "2", "2". How can I do? var url='http://foo.bar/?param='; for(var i=0; i<2; i++){ $.get(url+i, function(html){ doit(html, i); // bind 'i' to the cal

[jQuery] Re: Best practice for form serialize?

2007-10-13 Thread sgrover
If you know the form name, you have most of what you need. Using jQuery's selectors, get a reference to the form: $("form[name='myform']); Then from there find each of the child form elements (luckily, most form elements are input boxes: $("form[name='myform'] input); Repeat the above for t

[jQuery] Access "parent page" from ajax generated html

2007-10-13 Thread Mark
It seems this post was deleted... Why? If I have a main page and a section of it generated by Ajax, how do I access an element in the main page from the section generated by Ajax? Or, in code speak: (how can I make something like this work) Remove Fredington

[jQuery] Re: Binding bug ?

2007-10-13 Thread sgrover
I've seen this in situations where the event handlers may be applied more than once. I got into the habit of doing $("#foo").unbind("click").click(function () {...}); I think the $.one() method is meant for this type of situation though. The docs say it will apply a handler that should only h

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-13 Thread Olivier Percebois-Garve
Hi I'm hijacking your thread to challenge you ( if its possible ;-) ). I 'm trying (with no success) to do the same as you, but fades in addition: on over : hovered image fades in - tab goes up on out : tab goes down - image fades out I tried a lot of different ways, with queue() dequeue(), us

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-13 Thread Glen Lipka
The mootools one keeps "freezing" for me in FF/Vista. I think yours feels smoother and acts better than the moo one. RE: Queue: It's over my head. :) Glen On 10/13/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > Hi everyone, > Someone asked me to try to replicate something he saw here: > http:

[jQuery] Re: jqGrid new version

2007-10-13 Thread David
Tony it's possible update one cell (that input text or combo select) from database? On Oct 7, 4:35 pm, Tony <[EMAIL PROTECTED]> wrote: > I have released a new version ofjqGrid. > Demo page here:http://trirand.com/jqgrid/jqgrid.html > Home page:http://www.trirand.com/blog/ > > Enjoy.

[jQuery] queue, dequeue, stop, and the endless mouseovers

2007-10-13 Thread Karl Swedberg
Hi everyone, Someone asked me to try to replicate something he saw here: http://www.andrewsellick.com/examples/tabslideV2-mootools/ It looked pretty straightforward, and I was able to reproduce the main effect pretty easily -- except that the Moo tools one looks better because it doesn't try

[jQuery] Re: jqGrid new version

2007-10-13 Thread David
Tony, it's possible update one cell (that input or combo select) from database ?

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-13 Thread Rey Bango
Hi Leandro, Wrong URL. :) Rey... Leandro Vieira Pinho wrote: Thanks everyone. I have released a new version: 0.3. Applying many suggestions here mentioned. See it: http://localhost/leandrovieira/www/projects/jquery/lightbox/ to see the changelog see Changelog Tab in the jQuery plugin page.

[jQuery] Re: Undefined selector returning the document

2007-10-13 Thread Karl Swedberg
Hi Jake, You can file a new ticket here: http://dev.jquery.com/newticket/ You might need to register first, which you can do here: http://dev.jquery.com/register --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 12, 2007, at 7:55 PM, Jake wrote: How

[jQuery] Re: event.pageX/Y in IE - RESOLVED

2007-10-13 Thread Pops
Hi Wizzud, Figured it out. Two things: 1) I screwed up fixEvent() when I copied its logic from jQuery, the statement var e = document.documentElement overrode the event variable. But that bugger simple got me lost in finding the real problem. 2) jQuery selector hover binding vs direct mo

[jQuery] Re: event.pageX/Y in IE

2007-10-13 Thread Wizzud
Can you make a test page available that demontrates this problem? And what version of IE has the problem? On Oct 13, 6:47 am, Pops <[EMAIL PROTECTED]> wrote: > I am not sure how I missed this early in my plugin development, but I > see it now. > > For my new hover plugin, I noticed jQuery was ext