[jQuery] Re: clone() help

2008-05-02 Thread elle
Tried again, but changed the code so the new product will be prepended to the fieldset#step1 -- so, it's always at the top of the page. $("#add").click(function() { $("div.product-template:first").clone(true).prependTo("#step1"); }); Events get copied but

[jQuery] need to popup window, grab values from mysql db, have user edit, and save data

2008-05-02 Thread ktpmm5
I'm looking for the best popup window plugin available. I want clients to be able to view a schedule, and click a date. This will display a popup window with values from a mysql database. The user will then be able to add data (not delete or edit) more data, press save, then close the popup and

[jQuery] Re: event trigger doesnt work ?

2008-05-02 Thread Adwin Wijaya
Yaps that's right, Jquery cannot trigger the events that was not binded by jquery. So I tried to bind the javascript event using jquery. and it works ;) Thank you anyway ... I wish jquery can trigger any trigger even it doesnt assign by jquery (like from natural javascript) because it would be us

[jQuery] Using slideDown on a TR ignores the colspan amount - why?

2008-05-02 Thread Stanley
If I try to run slideDown on a table row that has TD's with multiple colspan, the colspan amount is completely ignored. My Table looks like so: content content hidden content The javascript code is very simple: $('#hiddenTR').slideDown(); If you try

[jQuery] Re: Help with selecting great grandchildren

2008-05-02 Thread Chuck Cheeze
Perfect thanks. Not sure why I couldn't get that going myself... On May 2, 2:32 pm, BlueCockatoo <[EMAIL PROTECTED]> wrote: > You could use > > $(".line-item", $(this).parent()) > > which brings back all .line-items under the context of the parent or > you could use > > $(this).parent().find(".

[jQuery] Re: Get System Error with "jCarousel and Thickbox 3 "

2008-05-02 Thread Theodore Ni
You are getting this because Thickbox decides if your link is an image or not based on the file extension. If all your images are from yimg, you can fix this with a bit of a hack. Go into thickbox.js, find the function tb_show(), and these lines: var urlString = /\.jpg|\.jpeg|\.png|\.gif|\.bmp

[jQuery] IE Issues with onChange on form select and radio

2008-05-02 Thread Allan H
Hello. I'm having a few issues, and I was hoping someone might be able to give me some perspective. I've been searching for an answer for a couple of weeks now, and I'm at the end of my rope. I have a form with a two select boxes (one for a country selection, the other for a language selection),

[jQuery] Re: Giving more parameters to the async load function ?

2008-05-02 Thread jayg
Excellent thought. I was thinking of having some sort of parameter hash to pass in, maybe I can hook that together with this idea. On May 2, 11:39 am, "markus.staab" <[EMAIL PROTECTED]> wrote: > Maybe a callback function (given some usefull context parameters..) > which produces the url could do

[jQuery] Re: Get System Error with "jCarousel and Thickbox 3 "

2008-05-02 Thread Samant
Hi, Thickbox fails to laod images from a REST Style URL has anyone faced this before ? On May 1, 11:59 am, Samant <[EMAIL PROTECTED]> wrote: > Hi , > > I was trying to use "jCarousel and Thickbox 3 " plugin . > From the jCarousel, examples folder - used the special_thickbox.html > and repla

[jQuery] Re: didactic question: collapsing div's

2008-05-02 Thread Wil Everts
There is a nice tutorial on the learning jquery blog about this. Towards the bottom it gets into the hiding/showing of siblings: http://www.learningjquery.com/2007/02/more-showing-more-hiding Wil Everts [EMAIL PROTECTED]

[jQuery] Re: Help with selecting great grandchildren

2008-05-02 Thread BlueCockatoo
You could use $(".line-item", $(this).parent()) which brings back all .line-items under the context of the parent or you could use $(this).parent().find(".line-item") which searches for any .line-items under the parent. Either one should work, so pick your favorite :) - Lindsay On May 2, 12

[jQuery] Re: How do I cancel event helpers?

2008-05-02 Thread BlueCockatoo
Here's some info on how event binding works in jQuery: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F But specifically you can use .hover() and .unbind("hover") on your element to bind and unbind. On May 2, 11:41 am, jr <[EMAIL PROTECTED]

[jQuery] Re: Excellent File Tree

2008-05-02 Thread tlphipps
I'll second that. I just implemented this control in our system (rollout was last night). Next step is drag-and-drop sorting for folders. Hoping somebody else will write it before I have to! On May 2, 2:45 pm, Snef <[EMAIL PROTECTED]> wrote: > Looks very well. Hoping that someone will incl

[jQuery] Re: Ajax .click function after .get

2008-05-02 Thread BlueCockatoo
Come on, be nice to noobies even if you have seen the same question asked over and over. Everyone has to get started somewhere and what you're referring to isn't even in the API reference where I would look first for answers (and where search takes you if you type "events"), its in the FAQ. It mi

[jQuery] Re: adding a callback function?

2008-05-02 Thread BlueCockatoo
This may work for you. You actually create the function in the config options you pass to the control. I changed the reference in the setup and in the adjustValue functions as well. This isn't tested but hopefully should work. var myOptions = { min: 0,

[jQuery] Re: clone() help

2008-05-02 Thread elle
Hi KArl, I didn't know that. Will try again. Elle On May 3, 2:43 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Elle, > > When the book was published, .clone() didn't have the event-cloning > option. That was added in one of the 1.2.x releases. So if you're > using a version of jQuery after

[jQuery] Re: IE 6 double submit

2008-05-02 Thread Tomas GF
I see. Thanks for explain it clearly. I was confused by the ajaxForm documentation. -- View this message in context: http://www.nabble.com/IE-6-double-submit-tp16964708s27240p17026592.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: [PLUGIN] Excellent File Tree

2008-05-02 Thread Snef
Looks very well. Hoping that someone will include sorting ;-) Rey Bango wrote: > Thanks to Karl Swedberg for pointing this jQuery-based File Tree out. > > http://abeautifulsite.net/notebook.php?article=58 > > Rey

[jQuery] Help with selecting great grandchildren

2008-05-02 Thread Chuck Cheeze
Below is my html/EE code: {lang_showmoreinfo} {lang_standardconfigurations} {related_entries id="cf_products_parts"} {cf_parts_partnumber}

[jQuery] jQ implementation of CSS3 text-align-last property?

2008-05-02 Thread Su
So, I got it in my head that I wanted to use this effect today, which is, of course, not supported by any browser. I was curious if anyone's mashed together a scripted implementation. Spec details here: http://www.w3.org/TR/2001/WD-css3-text-20010517/#last-line-alignment-prop or at css3.com: http:

[jQuery] How do I cancel event helpers?

2008-05-02 Thread jr
I have attached the hover event to a element and it works fine. But how do I dynamically remove and add it again? Once it's working I cant seem to find a way in javascript to stop it again. I've tried calling 'hover' again on the same element with empty function callbacks, but it doesn't seem to

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Aleksandr
Everything is working now. Thanks to all. Last version of code is: $(document).ready(function(){ $("#link").click(function(){ if ($("#divLoginBox1").is(':hidden')) $("#divLoginBox1").show(); else{ $("#divLoginBox1").hide();

[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Andy Matthews
I'm not implementing the sandbox explicitly, so whatever that ends up being. This is an internal only app so I wasn't as worried about security as I normally would be. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack Killpatrick Sent: Friday, May 02, 2008 1:5

[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Jack Killpatrick
Thanks Andy. Is this living in the AIR application sandbox or the non-application sandbox? I need to do some sandboxing on my app, because I want to use some native AIR stuff, but ideally have my sandboxed js be pretty much the same as the js that is used in my standard (non-AIR) web app, so I'

[jQuery] [PLUGIN] Excellent File Tree

2008-05-02 Thread Rey Bango
Thanks to Karl Swedberg for pointing this jQuery-based File Tree out. http://abeautifulsite.net/notebook.php?article=58 Rey

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Josh Nathanson
Looks like you are missing a semicolon which will choke IE: $("#link").click(function(){ if ($("#divLoginBox1").is(':hidden')) $("#divLoginBox1").show(); else{ $("#divLoginBox1").hide(); } return false; }) <-- ADD SEMICO

[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Andy Matthews
Sure thing...here's a method I'm using to log a user in from my app: submitLogin: function (u,p) { /* * submits login credentials to the server for verification */ $.ajax({ url: URL + '&method=authenticate', cache: false, data:{ username: Base

[jQuery] Re: event binding on dynamically created elements? stumped

2008-05-02 Thread BlueCockatoo
You can put the event handler anywhere you want if it doesn't have to be an anonymous function. Here's the example I gave modified: // put this in your ready block $j('').insertAfter(this).focus(focusEventHandler); // put this wherever you want function focusEventHandler() { $(this).val('')

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Aleksandr
I am now have this jQuery code and it is working in FireFox, Safari and Opera but not in IE 6, 7: $(document).ready(function(){ $("#link").click(function(){ if ($("#divLoginBox1").is(':hidden')) $("#divLoginBox1").show(); else{ $("#d

[jQuery] Problem with logging form using the 'jQuery Form Plugin'

2008-05-02 Thread Dani
Good evening, I'm trying to code a logging form, but I have a problem redirecting the user to another page. The problem is that the page I want to redirect to is being loaded in the background, like it was an Ajax call (I've seen it thanks to the Firefox plugin Tamper Data). That's the code I'm us

[jQuery] adding a callback function?

2008-05-02 Thread Chris Hall
Hello everyone. I am trying to modify the SpinButton code (from here http://www.softwareunity.com/sandbox/jqueryspinbtn/) to include a callback when the value is changed. I'm very new to callback functions and have tried searching the web for how to add them but so far have had no luck. My desi

[jQuery] Re: Cluetip showing content below fold

2008-05-02 Thread Karl Swedberg
excellent! so glad to hear it. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 2, 2008, at 11:23 AM, sprak wrote: That did the trick; everything works perfectly now. Thanks! - Luis On May 2, 10:47 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: ok

[jQuery] Re: event binding on dynamically created elements? stumped

2008-05-02 Thread ripple_27
I agree with not wanting to add another plugin. Any time when you introduce new content to a page, that content does not have the characteristics as the content at load time. Have you tried putting your bindings into a function and calling that function when you need to. function bind() {

[jQuery] Re: event binding on dynamically created elements? stumped

2008-05-02 Thread Ariel Flesler
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 14:42, jquertil <[EMAIL PROTECTED]> wrote: > Ah, yes, livequery looks nice. Thanks. > > I'm really trying to get away without any plugi

[jQuery] Re: event binding on dynamically created elements? stumped

2008-05-02 Thread jquertil
Ah, yes, livequery looks nice. Thanks. I'm really trying to get away without any plugins however. Is livequery the only option for binding events to "ajax-loaded" DOM elements? All the suggestions so far would require the event handler to reside inside the function that loads the new DOM elemen

[jQuery] JSON generated by php not parsed in IE

2008-05-02 Thread joomlafreak
Hi I am going crazy on this. This is first time I tried to use JSON for the data I need and I have a php function that generates the data. While FF etc are showing the output the IE fails to go beyond the $.each to iterate over the JSON array. this is the data generated by PHP function {"items"

[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Web Specialist
Andy, I'll very happy if you could send that code samples to me. Marco Antonio On Fri, May 2, 2008 at 2:20 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > > Jack... > > There's absolutely no difference in making an AJAX call via traditional > browser based app vs an AIR app. I just completed a s

[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Andy Matthews
Jack... There's absolutely no difference in making an AJAX call via traditional browser based app vs an AIR app. I just completed a sort of one-way messaging app written in HTML/jQuery and it couldn't have been easier. Hit me up offlist and I'll be happy to provide code samples. andy -Ori

[jQuery] jQuery Corner no longer works in Safari 3.1

2008-05-02 Thread Devin Torres
In previous versions this could be fixed by setting a background-color on a parent node, but in recent versions (WebKit nightly too) it no longer works.

[jQuery] looking for simple AIR-jquery ajax example

2008-05-02 Thread Jack Killpatrick
Hi All, I'm looking for a code example (or tutorial or working app with source) that shows how to use jquery-fired ajax calls in an Adobe AIR application, preferably showing how to do things in the Application Sandbox and the Non-Application sandbox. To clarify, I'm not looking for examples

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread sawmac
try this $('#divLoginBox1').click(function(e) { e.stopPropagation(); }); $(document).click(function() { $('#divLoginBox1').hide(); }); --dave

[jQuery] Re: How to stop other elements on the page from dimming

2008-05-02 Thread Micky Hulse
On May 2, 4:32 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > "Why is my screen going dark when using fadeOut ?" For me, it is not really a case of going "dark", but more of a "... elements outside of the fade are being affected (flickering?) during the fade ..." So, I just tried this: body {

[jQuery] Re: Troubling IE problem

2008-05-02 Thread ripple_27
If you set the image to a background of a link the user wouldn't know any different. They would be attributes of the same element. 14% is still good traffic coming from one browser version. Regardless, it's the difference of looking professional and not. There's a few different ways you could ha

[jQuery] Re: Way to designate links as form submitters?

2008-05-02 Thread Rick Faircloth
Well... the original plan was to use the pagination links on the page to submit the form fields. That way a user could change the search options and just continue clicking the pagination links instead of "submitting" the new options. However, I believe this might be confusing, so I created a "C

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Aleksandr
z-index of divLoginBox1 is higher than wrapper div. On May 2, 3:52 pm, Jimslam <[EMAIL PROTECTED]> wrote: > So the other option is to have the "wrapper" not contain the > divLoginBox1 so that clicking inside of divLoginBox1 would not be > clicking inside of "wrapper". Just be sure to set the z-i

[jQuery] Re: Way to designate links as form submitters?

2008-05-02 Thread hj
> Anyway to do that? > > Have certain links, say with an id of "link", > to be programmed to submit a form when clicked? Why not mark up the links as buttons, or input type=submit elements, and then just use CSS to style them appropriately? -- hj

[jQuery] tablesorter

2008-05-02 Thread Scott
I'm working with tablesorter and I have multiple tables. I made it so when a button is pushed all the data from one table is put into one main table, basically doing this: $(SourceTable).find("tbody > tr").appendTo($ (TargetTable).find("tbody")); $(TargetTable).trigger("update"); This kind of wo

[jQuery] Re: Giving more parameters to the async load function ?

2008-05-02 Thread markus.staab
Maybe a callback function (given some usefull context parameters..) which produces the url could do the trick.. On 2 Mai, 17:24, jayg <[EMAIL PROTECTED]> wrote: > Thanks Jörn, > I will post code here when I get a good solution. However, I know the > treeview is being worked on in the UI project

[jQuery] Re: event trigger doesnt work ?

2008-05-02 Thread BlueCockatoo
I'm not sure that jQuery picks up on events that weren't assigned through jQuery... Maybe it does but I've only been using it as "unobtrusive javascript" and so haven't tried to trigger an event that I didn't bind through jQuery yet. Try this and see if it doesn't work for you instead: $(docume

[jQuery] Re: Shadow jQUery

2008-05-02 Thread Glen Lipka
How's this plugin? http://eyebulb.com/dropshadow/ Glen On Fri, May 2, 2008 at 6:15 AM, <[EMAIL PROTECTED]> wrote: > > I need Image Shadow with jQuery I think it is a the main jQuery. > 1.2.3.js > If there is an Example for the Code please let me know > Regards Pedram >

[jQuery] Re: Giving more parameters to the async load function ?

2008-05-02 Thread jayg
Thanks Jörn, I will post code here when I get a good solution. However, I know the treeview is being worked on in the UI project as well, should I be looking at something other than treview.asynch to make these changes to? Additionally, I was considering adding a 'custom' persist option, I can p

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Jimslam
So the other option is to have the "wrapper" not contain the divLoginBox1 so that clicking inside of divLoginBox1 would not be clicking inside of "wrapper". Just be sure to set the z-index on divLoginBox1 higher. On May 2, 4:21 am, Aleksandr <[EMAIL PROTECTED]> wrote: > I was try to do in this w

[jQuery] Re: Cluetip showing content below fold

2008-05-02 Thread sprak
That did the trick; everything works perfectly now. Thanks! - Luis On May 2, 10:47 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > ok. there was a problem someone noted a while back between cluetip and > the more recent versions of dimensions. I'm sure this is fixed in svn, > but don't think it

[jQuery] $.ajaxStart bind on a unique element

2008-05-02 Thread LostCore
Hi! I have this: - $(".submit_textarea").livequery("click", function(e){ e.preventDefault(); if($(this).attr("href") == "#save") { var savencancel = $(this).parent(); var textarea = $ (thi

[jQuery] Re: dimensiosn plugin

2008-05-02 Thread Brandon Aaron
To get the top and or left position of an element do the following: var position = $('#item1').position(); Now position.top is equal to the top and position.left is equal to the left. So if I wanted to assign the top position to another variable I could do it like this. var top = position.top;

[jQuery] Re: dimensiosn plugin

2008-05-02 Thread bdee1
i'm sorry i still dotn think i follow entirely. so if i had an div element with an id of item1. and i wanted to get the position of it. the dimensions documentation says i would do: var position = {}; $("#myElement").position(position); so then in this example it should be: $("#item1").posit

[jQuery] async treeview - still have problems re-initializing the tree

2008-05-02 Thread rolfsf
We're still having problems implementing a 'refresh' button for a treeview tree. We need to be able to re-initialize the tree, clearing out the current version completely, and reloading with data fresh from the server. we're clearing out the current tree with: $('#openExistingTree').empty(); and

[jQuery] Re: Cluetip showing content below fold

2008-05-02 Thread Karl Swedberg
ok. there was a problem someone noted a while back between cluetip and the more recent versions of dimensions. I'm sure this is fixed in svn, but don't think it made it into a release yet. would you mind trying the svn version? You can find it here: http://jqueryjs.googlecode.com/svn/trun

[jQuery] Re: clone() help

2008-05-02 Thread Karl Swedberg
Hi Elle, When the book was published, .clone() didn't have the event-cloning option. That was added in one of the 1.2.x releases. So if you're using a version of jQuery after 1.1.x, you should remove the cloneEvents.js script and try with .clone(true) --Karl _ Karl Swedb

[jQuery] Re: async treeview - Can we have a callback method that is invoked when the return status is not 200?

2008-05-02 Thread rolfsf
Thanks for the tip. I figured there must be some global method On May 2, 5:21 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > When the return code is an error, the global ajaxError event is > triggered. Give that a try. > > Jörn

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Wes Duff
I am having the same kind of problem. I am trying to select all the text inside a content div that has many , , , ect.. all located nested inside the div and I do not want any other text except the text inside the content div. I tried $("*").not("div#printercontrol, div#footer").annimate({fo

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Wes Duff
Ok Im stupid Just use $("div#primarycontentcontainer").animate({fontSize: '+=' + sliderStop}); On May 2, 9:00 am, Joe <[EMAIL PROTECTED]> wrote: > Ariel, > > You are correct. Attempting suggestions now. > > Thanks guys! > > Joe > > On May 2, 8:32 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Troubling IE problem

2008-05-02 Thread JBRU
I'm not at all offended by the comments. I rarely get offended at people trying to help me. :) On May 1, 5:28 pm, ripple <[EMAIL PROTECTED]> wrote: > It seems like all your doing is an accordion feature from page to page. Why? I went with the accordion effect because the number of links in the n

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Ariel Flesler
Don't feel like coding it all, but you need to iterate thru childNodes (contents() or $.each + .childNodes) and if it's a text node, you check the .nodeValue, create a new text node with the translation, and do original.parentNode.replaceChild( translated, original ); -- Ariel Flesler http://fles

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Alexandre Plennevaux
i just tried a very basic search/replace and it worked: $('body *').each(function(){ var original_text = $(this).text(); var new_text = 'hello baby'; $(this).text(new_text); }); it's over simplistic so for this firefox didn't have any issue. H

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Joe
Ariel, You are correct. Attempting suggestions now. Thanks guys! Joe On May 2, 8:32 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > @Jake and @Alexandre > > He doesn't want the text as a single string, he wants each node so he > can replace them. > > -- > Ariel Fleslerhttp://flesler.blogspot.c

[jQuery] Shadow jQUery

2008-05-02 Thread pedramphp
I need Image Shadow with jQuery I think it is a the main jQuery. 1.2.3.js If there is an Example for the Code please let me know Regards Pedram

[jQuery] $("

2008-05-02 Thread ccoroom
Hi. I am reading "jQuery in action" book. On that book, I got a serious question. The book says, "$("") ... we won't be able to use this technique to reliably create

[jQuery] Horirzonal Accordion

2008-05-02 Thread pedramphp
I need a Horizonal Accordion code for Download .. if there is a link for Download Please let me know !!! Regards Pedram

[jQuery] Re: Cluetip showing content below fold

2008-05-02 Thread sprak
Dimensions is definitely being included. jquery: 1.2.3, minified distribution dimensions: 1.2, minified distribution cluetip: 0.9.6 Tried turning the other libraries off, but that had no effect. I'll see what I can do about hosting the page so it is publically visible. - Luis On May 1, 1:5

[jQuery] Re: livequery with hoverIntent

2008-05-02 Thread Brandon Aaron
I don't see anything wrong with the code you posted. Could you post more of the code or a test page? -- Brandon Aaron On Fri, May 2, 2008 at 8:26 AM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > hello! > > i need to assign a behaviour triggered via the hoverIntent plugin to > elements fet

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Ariel Flesler
@Jake and @Alexandre He doesn't want the text as a single string, he wants each node so he can replace them. -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 10:30, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > i think you will need to feed a variable, because jquery loops through

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Alexandre Plennevaux
i think you will need to feed a variable, because jquery loops through each node, so: var fullText =''; $('body *').each(function(){ fullText += $(this).text(); }); On Fri, May 2, 2008 at 3:24 PM, Jake McGraw <[EMAIL PROTECTED]> wrote: > > ah why not try $("body").text() That should strip all

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Ariel Flesler
http://docs.jquery.com/Traversing/contents -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 09:55, Joe <[EMAIL PROTECTED]> wrote: > Okay I have read and > rereadhttp://www.learningjquery.com/2006/11/how-to-get-anything-you-want-pa... > > and > > http://www.learningjquery.com/2006/12/how

[jQuery] livequery with hoverIntent

2008-05-02 Thread Alexandre Plennevaux
hello! i need to assign a behaviour triggered via the hoverIntent plugin to elements fetched via ajax. I would assume i should use the livequery plugin for that, but my attempts have failed miserably so far. Here is the non livequery code, that works for DOM elements present on document rea

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Jake McGraw
ah why not try $("body").text() That should strip all of the markup? - jake On Fri, May 2, 2008 at 8:55 AM, Joe <[EMAIL PROTECTED]> wrote: > > Okay I have read and reread > http://www.learningjquery.com/2006/11/how-to-get-anything-you-want-part-1 > > and > > http://www.learningjquery.com/200

[jQuery] Re: Ajax .click function after .get

2008-05-02 Thread Ariel Flesler
Always read the docs first. http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Ariel Flesler http://flesler.blogspot.com On 1 mayo, 23:01, betomurcia <[EMAIL PROTECTED]> wrote: > Hello guys > > I am just starting to play with and learn jq

[jQuery] Re: [validate] RFC: buttons and cancel class

2008-05-02 Thread karan sev
Yes, that is a better solution. Thank you. ks On Apr 28, 1:35 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Karan Sev schrieb: > > > > > Hi, > > I have button (type: submit) with the class 'cancel' but this still > > results in the form being validated. It works if I change the button > > to an

[jQuery] jQuery Effect Problem In Firefox 2

2008-05-02 Thread pedramphp
Recently I faced A little Problem with my jQuery at my FireFox Browser I check My codes with 2 browsers which are Standard and Suitable for testing 1-IE7 2- Firefox 2 I used some jQUery Effects such as toggle ,slideDown, slideUp and etc… There was no problem in my IE7 but in one situation there

[jQuery] Re: count lis within a ul.

2008-05-02 Thread Dave Methvin
> So shouldnt it be > > $("div.belt > ul > li").length(); Nope, jQuery objects have a .size() method and a .length property, both return the number of elements in the object. I don't even see the size() method documented anymore so .length is the way to go. http://docs.jquery.com/Core

[jQuery] Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Joe
Okay I have read and reread http://www.learningjquery.com/2006/11/how-to-get-anything-you-want-part-1 and http://www.learningjquery.com/2006/12/how-to-get-anything-you-want-part-2 and still cannot figure out how to grab all the text (not the markup) on a page. I am toying with the Google Tran

[jQuery] how to unbind the glid function in featurecontactglider.js

2008-05-02 Thread mohsin
Dear All. I'm facing a problem in glider plug-in. Actually I want to disable the next link of "toc" class but in vain I unbind the glid function in my code but its throwing error of undefined glide. On the other hand If I unbind that function then no action perform in other condition like that:

[jQuery] Re: async treeview - Can we have a callback method that is invoked when the return status is not 200?

2008-05-02 Thread Jörn Zaefferer
When the return code is an error, the global ajaxError event is triggered. Give that a try. Jörn On Thu, May 1, 2008 at 7:46 PM, rolfsf <[EMAIL PROTECTED]> wrote: > > Another request for the Async Treeview - in our application, we have > an automatic session time out after a set period of idle

[jQuery] Re: jcarousel in ie 5.5

2008-05-02 Thread Dan G. Switzer, II
Ray, >Anybody knows how to make work jcarousel in ie 5.5?. Now i see a white >space in the place of the jcarousel. Perfect in ie6, ie7 and Firefox. >Thanks! jQuery only officially supports IE6 and above, so if you really need to support a browser that old you're probably going to have problems w

[jQuery] Re: jQuery and JSON - newbie!

2008-05-02 Thread Dave Probert
Glad I could help :) Cheers, Dave On May 2, 6:35 pm, eid <[EMAIL PROTECTED]> wrote: > Hi Dave, > > it worked great with a little bit of modification. > > Thank you very, very much! And I even learned something new today > then :) > > Thanks again > eid > > Dave Probert wrote: > > Hi eid, > > > I

[jQuery] Re: jQuery and JSON - newbie!

2008-05-02 Thread eid
Hi Dave, it worked great with a little bit of modification. Thank you very, very much! And I even learned something new today then :) Thanks again eid Dave Probert wrote: > Hi eid, > > I've taken a look at what you are trying to do and I think there are > two aspects that need to be 'corrected

[jQuery] Finding the size of an image

2008-05-02 Thread Bruce MacKay
Hello folks, I am wanting to find the width of an image loaded via an ajax call so that I can alter the width of a div holding the caption for that image. The image that is loaded is always tagged with an id of 'theImage'. Each image loaded with each ajax call has a slightly different width

[jQuery] Re: How to stop other elements on the page from dimming

2008-05-02 Thread Ariel Flesler
I'd say put it in the FAQ, that's where I'd go on a case like this. "Why is my screen going dark when using fadeOut ?" -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 07:17, Richard W <[EMAIL PROTECTED]> wrote: > I experienced the same problem and it haunted me in my sleep, I > started

[jQuery] Re: Using @ on Selector

2008-05-02 Thread Ariel Flesler
The @ is deprecated, [foo=bar] should be used instead, but it will still work. -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 01:34, "Mike Francisco" <[EMAIL PROTECTED]> wrote: > Sometime awhile back, I copied and used a piece of code that contains an @ > char on the selector: > > $("[E

[jQuery] [SITE SUBMISSION] discovercard.com

2008-05-02 Thread Richard D. Worth
I just noticed discovercard.com is using jQuery. When you're logged in, it also uses Klaus Hartl's excellent Tabs plugin. Cool. - Richard

[jQuery] Re: event binding on dynamically created elements? stumped

2008-05-02 Thread Ariel Flesler
Why use LiveQuery for an element that is in the DOM at the desired moment ? -- Ariel Flesler http://flesler.blogspot.com On 2 mayo, 06:31, yabado <[EMAIL PROTECTED]> wrote: > LiveQuery plug-in will make you happy. > > On May 1, 8:07 pm, jquertil <[EMAIL PROTECTED]> wrote: > > > > > Hello... > >

[jQuery] Re: Need to create a really simple slide animation that slides a div left and right when the corresponding left and right arrows are clicked

2008-05-02 Thread Mike Alsup
> I basically have a div of a fixed width and height with > overflow:hidden in place to hide the content. Within that div > (outerdiv) is another div (innerdiv) with a fixed width and move divs > (contentdivs) floated left inside it to make them sit alongside each > other. I have 2 arrows, on

[jQuery] How to extend a function

2008-05-02 Thread Darthmahon
Hi guys, I'm using thickbox to pop up content, but the thickbox.js is shared between multiple projects which means I cannot edit the core functions in that file. Instead, I want to run some "extra" javascript on one particular project and I wondered if there was a way to extend an existing funct

[jQuery] Re: clone() help

2008-05-02 Thread elle
Hi Karl, and thank you for your reply. This didn't really work -- unless I missed something important on the way. I was reading "Learning jQuery" and it says that .clone() doesn't copy the events related to the cloned items (which I need). It suggested to use copyEvents.js So, I have that script

[jQuery] Need to create a really simple slide animation that slides a div left and right when the corresponding left and right arrows are clicked

2008-05-02 Thread quirksmode
I basically have a div of a fixed width and height with overflow:hidden in place to hide the content. Within that div (outerdiv) is another div (innerdiv) with a fixed width and move divs (contentdivs) floated left inside it to make them sit alongside each other. I have 2 arrows, one pointing left

[jQuery] Re: random tab and simple content switching

2008-05-02 Thread Tim Marshall
Hi Can anyone else help with this? I tried adding a third item in var ids = [ 'latestArticle', 'inTheMag' ]; but have had no joy in getting it to randomnly appear. Any ideas? Cheers On Apr 5, 3:49 pm, Tim Marshall <[EMAIL PROTECTED]> wrote: > Hi Sperks > > I'm a bit new at JQuery and have been

[jQuery] How to extend a function

2008-05-02 Thread Darthmahon
Hi, I'm using thickbox to show content around a site, but the core thickbox.js is shared by multiple sites. For one particular site, I need to add some custom javascript when certain thickbox functions are called, such as TB_show and TB_remove. I've tried the code below, but this doesn't work.

[jQuery] jcarousel in ie 5.5

2008-05-02 Thread Ray Mckoy
Anybody knows how to make work jcarousel in ie 5.5?. Now i see a white space in the place of the jcarousel. Perfect in ie6, ie7 and Firefox. Thanks!

[jQuery] Re: Manipulating Select Options Doesn't work in IE7

2008-05-02 Thread MediaJunkie
I'd also like to know how to do this. Thanks.

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Aleksandr
I was try to do in this way. But it also close div clicking inside of it. So, if I click in wrapper area it close divLoginBox1. But if I clicked divLoginBox1 area it close it also. Should be the way how exclude divLoginBox1 area from wrapper div. This line not help to do it: $("#wrapper").not

  1   2   >