[jQuery] Getting element dimensions
>> Is there a jQuery way of getting and setting an elements dimensions,
[jQuery] Getting element dimensions
That would be QUITE awesome John. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of John Resig Sent: Wednesday, June 28, 2006 2:44 PM To: jQuery Discussion. Subject: Re: [jQuery] Getting element dimensions Not yet, but that's definitely something that I'd like. It would
[jQuery] Getting element dimensions
Is there a jQuery way of getting and setting an elements dimensions, i.e. width, height, z-index, position on page? Something that would work well in a cross platform/browser way (so you don't have to worry that it is off by a few pixels or in completely the wrong place, or work around the IE box model). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Internet Explorer, Funky Keyup?
Alright, this works in Firefox. I'm using the DOM Plugin to generate some HTML... http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype --- Enter Code --- <div id="contactSearch">Loading Search Material. This site requires Javascript Enabled</div> <script language="Javascript" type="text/javascript"> function contactSearchPrototype() { var pt = $.DIV({"class": "contactSearch"}, $.FORM({"action": "#", "class":"contactSearchForm", "method":"POST"}, $.TABLE({"class": "contactSearchForm"},
[jQuery] Subscribe form / ajax / jQuery ?
A treasure hunt is never a bad thing. I've read through the JQ docs several times so I may have already seen the page you're talking about. Thanks for pointing me in the right direction though. For the record, I meant to change my example so that it referenced $('DIV').get(1).value. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] Subscribe form / ajax / jQuery ?
> So if I understand correctly, jquery can accept, as an
[jQuery] option in select list shows selected item and hides others?
Hi all, I am fairly new to jQuery. What I want to do is create a select list that when an option is selected, an input field on the page is shown. I have tried a few different approaches but all of my approaches end up showing and hiding ALL of the elements, not just the option selected. Right now I am using the toggle effect with code borrowed from http://markc.renta.net/jquery/ as well. A double whammy is that none of Mark's examples work in IE either. Example is at http://www.halseydesign.com/jquery
[jQuery] Subscribe form / ajax / jQuery ?
Great! So if I understand correctly, jquery can accept, as an argument to $(), either an HTML element, $('P') to get all P tags, or a class/div reference, $('#myDiv') or $('div.myClass'). A question for clarification's sake then. 1) Do single/double quotes matter? 2) You say that I can use $('DIV').val() to get/set the value of a DIV element. You also say I could use this too: $('DIV').get(0).value; I assume that if $() returned more than one element and I wanted to access informatiom
[jQuery] Subscribe form / ajax / jQuery ?
> var addy = $('YourEmailField').value;
[jQuery] Speeding up $$
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma"><a class="moz-txt-link-freetext" href="http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/">http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/</a> interesting read. </font></font> </body>
[jQuery] (NaQ) Fanboy
Sorry for the spam everyone, but I just wanted to take moment to give jQuery a big hug. At first I just thought jQuery was "kind of neat". But now that I am on the cusp on completeing a massive purchase order UI using it...I cannot gush enough about how much easier it makes everything. John and the peeps.... YOU RULE! Does anyone have a screenprinter? I want to make a shirt that says "The baby is jQuery's" -FG _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Subscribe form / ajax / jQuery ?
> > An offhand question...is using $('YourEmailField').value to get the
[jQuery] .html( string )
> > This code (untested) would fix it and still allow multiple targets:
[jQuery] Subscribe form / ajax / jQuery ?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=140340517-28062006><FONT face=Arial color=#0000ff size=2>Thanks, are there more things like these? I don't find this anywhere in the docs.</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion
[jQuery] Subscribe form / ajax / jQuery ?
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/> <o:SmartTagType
[jQuery] png alphaloader support?
I'm new to jQuery and was wondering if anyone has done anything like this in jQuery? <pre id="line1"><span class="comment"><!--[if lt IE 7]> <script type="text/javascript"> var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) function correctPNG() // correctly handle PNG transparency in Win IE 5.5 and 6. { if ((version >= 5.5) && ( document.body.filters)) { for(var i=0; i<document.images.length; i++) { var img = document.images[i] var imgName = img.src.toUpperCase()
[jQuery] Subscribe form / ajax / jQuery ?
Sounds like the third option on this page is what you want: http://jquery.com/demo/ajax/ (Loaded from a Dynamic HTML File) Or something like this inside your function: var addy = $('YourEmailField').value; $("div#myDiv").load("process.asp",{email:addy}); An offhand question...is using $('YourEmailField').value to get the value of a form field correct jquery code?? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530
[jQuery] .html( string )
>> This seems to fix it:
[jQuery] discuss Digest, Vol 6, Issue 82
200 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] discuss Digest, Vol 6, Issue 82
200 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin validation
I change the title and open a new thread. Before finding a way to load the scripts, my purpose was to find a way to be sure to choose JQuery certified plugin. Something like a team in charge to look at the code and test the behaviour before giving a label. I agree that it would be interresting to have an official way to call at these certified plugins. Regards _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .html( string )
> Its part of stable and dev as well as the svn version. It
[jQuery] .html( string )
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Why isn't $() working for me?
Michael... That's a marvelous explanation. Like I've mentioned, I want to learn the correct way, not what I THINK is the right way. Appreciated. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Michael Geary Sent: Tuesday, June 27, 2006 10:54 PM To: 'jQuery Discussion.'
[jQuery] Why isn't $() working for me?
Dean... I thought of that. I've tried both plain numberics as well as appending a letter to them (v_123456) and a plain string (control). <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Dean Edwards Sent: Tuesday, June 27, 2006 6:39 PM To: jQuery Discussion. Subject: Re:
[jQuery] Why isn't $() working for me?
Sean... That's totally cool. I love what I've seen of jquery. I'm not trying to make waves...I just want to learn the best way to do things. I'm eagerly awaiting John's documentation as I think that will make things much easier for beginning jquery users like myself. Thanks a lot! <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] Dropdown submit?
That worked, thanks. Luc Pestille Web Designer e: luc.pestille@in2.co.uk t: +44 (0)1628 899 700 f: +44 (0)1628 899 701 -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: 28 June 2006 12:36 To: jQuery Discussion. Subject: Re: [jQuery] Dropdown submit? Luc, try: $("#uniqueID select").bind("change", function() { this.form.submit(); }); You must avoid mixing up the onchange attribute in HTML and the name of the event itself (as
[jQuery] ancestor(-or-self)
Is there any chance of seeing the "ancestor" or "ancestor-or-self" axis in the xpath implementation of jquery? I've found in a few of my scripts I've needed to use such an axis, and in its absence I've had to loop on parentNode to find what I'm looking for, which is a little slow in my implementation. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery: autocomplete using delayedEvent and delayedQuery
jQuery: autocomplete using delayedEvent and delayedQuery Features: * Extensive comments * Custom load handler (do stuff before event handlers are attached) * Custom click handlers (you decide what you want to do on click (e.g. use the clicked value, get product information based upon ID, etc. etc.) * Keyboard navigation (up, down, home, end, enter, escape) * Mouse hover navigation * On the simple example: Type "test3", the exact match is given a new class * Customizable layout * Scrolls into view
[jQuery] FX bugs with DEV
We've found some strange quirks with effects in the latest DEV version. John asked (http://jquery.com/blog/2006/06/23/the-road-to-10/) if we could speak up if there were any problems. We've created a page so you can see what the issues are. We've not tested in IE yet, only FF (1.5.0.4), but the bugs are there and they're confusing. You can see more here: http://kilo75.com/jquery/ Hope this helps get jQuery to 1.0! _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] jQuery hide/show from href target
Thanks - I was expecting something like that or .hasClass Luc Pestille Web Designer e: luc.pestille@in2.co.uk t: +44 (0)1628 899 700 f: +44 (0)1628 899 701 -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of sunsean Sent: 27 June 2006 17:43 To: jQuery Discussion. Subject: Re: [jQuery] jQuery hide/show from href target Try inserting the following at the top of your function: if(this.className=="selectedjob") return; ~Sean In2 Thames House Mere
[jQuery] Why isn't $() working for me?
> $('#control').innerHTML = 'jquery? Why do you hate me?'; // this line doesn't work, and no errors either. It probably worked fine and returned an object to you, assuming you have a div named control. But since since when did the jQuery object get an .innerHTML property? There's no error in setting a new property named innerHTML, but since the jQuery object never uses it there isn't much utility in doing it either. You could try something like this: $('#control').html("Oh jQuery, why must I RTFM?
[jQuery] Odd behaviour with append()
What happens with the content variable? Where does the projects variable come from? Don't you end up with multiple infobar ids? .append() only clones the element if there is a single node matched, otherwise the nodes will move if they are already in the DOM tree since it uses appendChild(). -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Phillip B Oldham Sent: Tuesday, June 27, 2006 11:31 AM To: Mailing List: jQuery Subject: [jQuery] Odd
[jQuery] Why isn't $() working for me?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=ISO-8859-1> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY text=#000000 bgColor=#ffffff> <DIV><SPAN class=312274721-27062006><FONT face=Arial color=#0000ff size=2>For some reason, this code doesn't seem to be working for me. I'm using jquery.js (Built Wed May 17 19:45:36 2006). I'm working on a test for something else, this is just prep code. I've
[jQuery] Official plugins
>> The sort of nested callback approach feels a bit convoluted to me, >> though I understand it's necessary for asynchronous calls. > It is not only necessary for asynchronous loading of scripts, > but also for the fallback with generated script-tags. They can not > be synchronized. If there was a sync version--if it wrote script tags when a function wasn't provided--wouldn't that work as a sync solution? The dependent scripts would just need to wait for onload (or perhaps ready) to do their thing.
[jQuery] unscribe
unscribe<br clear="all"> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Why isn't $() working for me?
> From: Andy Matthews
[jQuery] Why isn't $() working for me?
Then why did this line do exactly what I thought it would: content = 'something goes here'; $('loggedOut').innerHTML = content; When that code ran, the words 'something goes here' appeared inside the div with an ID of loggedOut. I've read the manual, to some extent and didn't get an explanation that suited me. Like I said...I'm okay if that's the wrong way to write what I want to happen. But why is it working in one place and not in another? <!----------------//------ andy matthews web developer
[jQuery] Why isn't $() working for me?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=203121222-27062006><FONT face=Arial color=#0000ff size=2>Franck...</FONT></SPAN></DIV> <DIV><SPAN class=203121222-27062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=203121222-27062006><FONT face=Arial color=#0000ff size=2>I'll take a
[jQuery] $.fn.serialize bug?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">When i serialize a form i sometimes get the last input element twice. The first time is the correct value, and the second time it's blank. I think the bug is somewhere in these lines: </font></font><font size="-1"><font face="Tahoma">-----</font></font><font size="-1"><font
Next Page