[jQuery] Disable focus on form fields
Hi I'm trying to disable focus on certain form elements using the following code: $("#id").focus(function() { this.blur(); }); but I get an error in firefox pointing to that line ([Exception... "'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: <a href="http://localhost/dev/js/job_specs.js">http://localhost/dev/js/job_specs.js</a> :: anonymous :: line
[jQuery] Dynamic fly out menus
<!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.2180" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=983374018-01082006><FONT face=Arial color=#0000ff size=2>By using 'bloated' anchor tags you can simulate a div:hover effect. (example: <A href="http://jojowebdesign.com/">http://jojowebdesign.com/</A> the top horizontal menu.)</FONT></SPAN></DIV> <DIV><SPAN class=983374018-01082006><FONT
[jQuery] DOM Gallery
> When the 1st thumbnail is clicked, fadeIn occurs once > When the 2ndst thumbnail is clicked, fadeIn occurs twice > When the 3rd thumbnail is clicked, fadeIn occurs three times > and so on... > Any ideas why? Yep, it's attaching a new .load() event each time it goes through showPic(). By moving the event assignment to the initial load the problem should be eliminated. At that point showPic is only two lines, so you might as well fold those into the .click() handler and boil it down to 8 lines: $(function(){
[jQuery] More dynamic menus
Does anyone know how I can create a stripe as shown in the demo (<a href="http://jojowebdesign.com/skills/javascript/dynamic_menus.asp">http://jojowebdesign.com/skills/javascript/dynamic_menus.asp</a>) But not having to manually set the padding style on the <a> tag as shown below? That it would be fun, and with the *right* color/hue change it would look gradient. JS: $('.divLeft').hover(function(){ $(this).addClass('highlighted');},function(){ $(this).removeClass('highlighted');
[jQuery] DOM Gallery
<div>Hi, I have managed to convert <a href="http://host.sonspring.com/domgallery/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host.sonspring.com/domgallery/</a> to <a href="http://www.dreamlettes.net/whims/fidmGallery/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.dreamlettes.net/whims/fidmGallery/ </a> Suggestions to make this better apprecited Thanks </div><span class="sg"> Ranjan</span> _______________________________________________
[jQuery] DOM Gallery
> I have managed to convert
[jQuery] Suckerfish Drop Down Menu Plugin
<!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.2180" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=858402818-01082006><FONT face=Arial color=#0000ff size=2>Hi Ranjan!</FONT></SPAN></DIV> <DIV><SPAN class=858402818-01082006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=858402818-01082006><FONT face=Arial color=#0000ff size=2>Do you have
[jQuery] $("a").click(function()) not working...
Beautiful! Thanks everyone. I've never used that particular functionality before so I'd never run into that problem. You just made my co-worker very happy. <!----------------//------ 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: Tuesday, August 01, 2006 3:35 PM To: jQuery Discussion.
[jQuery] $("a").click(function()) not working...
I'm trying to convince one of my co-workers to start using jQuery. So he's been doing some testing (basic stuff copied from the site) and having trouble getting it working. Thinking it might just be his setup I copied his code over to my machine to test. It doesn't work on my end either. Can someone review this and see what's going wrong? The load function runs correctly but the click doesn't run at all, nor does it return an error. The version of jQ I'm using is: Built Fri May 12 13:01:23 2006 <!DOCTYPE
[jQuery] Suckerfish Drop Down Menu Plugin
// suckerFish - jQuery plugin for Drop Down Menus by Ranjan Datta // v 0.8 // Free beer and free speech. Enjoy! $.fn.sfHover = function(a) { return this.each(function(){ $(this).find('li').each(function() { $(this).bind('mouseover',function() { $(this).addClass("sfhover"); }); $(this).bind('mouseout',function() { $(this).removeClass("sfhover"); }); }); }); }; Ranjan _______________________________________________
[jQuery] Dynamic fly out menus
<!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=109290218-01082006><FONT face=Arial color=#0000ff size=2>Wow...</FONT></SPAN></DIV> <DIV><SPAN class=109290218-01082006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=109290218-01082006><FONT face=Arial color=#0000ff size=2>I totally missed
[jQuery] Dynamic fly out menus
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>Dynamic fly out menus</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi there.</FONT> </P> <P><FONT SIZE=2 FACE="Arial">Does anyone have an example of Jquery Dynamic flyout header menus?</FONT> </P> <FONT SIZE=3><BR> <BR> *************************************************************************<BR>
[jQuery] Jquery GZIP?
I've depended on GZIP for IE based apps and found it to be rather reliable but our compressed files were typically XML files and excel worksheets over 64KB in size. However, since jQuery's latest (compressed) is only 16K and a GZIP'd sane is 10K, is the savings really worth the effort? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Mr Xia Sent: Tuesday, August 01, 2006 11:19 AM To: discuss@jquery.com Subject: [jQuery] Jquery GZIP? Is it
[jQuery] Can anyone write a Y! UI Carousel Component withjquery?
Awesome examples, great slide shows.. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of poni Sent: Tuesday, July 18, 2006 12:25 PM To: jQuery Discussion. Subject: Re: [jQuery] Can anyone write a Y! UI Carousel Component withjquery?
[jQuery] AJAX states
One thing, how to treat the ajax state changes and status ?? I mean, any plugin like $.glassPane() ( <a href="http://www.malsup.com/jquery/taconite/">http://www.malsup.com/jquery/taconite/</a> ) there they use <pre id="line1">.ajaxStart(function() { } and .ajaxStop(function() { } is it jQuery native? thx </pre> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Jquery GZIP?
Is it ok to GZIP jquery? The savings seem better than any obfuscator/packer I've seen.. I've heard that there may be some issues with IE, but does anyone have a test URL anywhere for that, or a list of findings. I can't seem to find anything solid on this subject. Thanks _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] 3d Universe in jQuery
Seconded. IE6/PC and I get nothing. Works great in FF though, very cool. <!----------------//------ 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, August 01, 2006 4:17 AM To: jQuery Discussion. Subject: Re: [jQuery] 3d Universe in jQuery
[jQuery] 1.0 feature list
Can't wait John! I've been a good little acolyte and told every one of my developer friends about jQuery. Trying to spread the word about the good news you know. <!----------------//------ 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: Tuesday, August 01, 2006 2:27 AM To: jQuery
[jQuery] unsubscribing?
Where can I unsubscribe from the mailing list? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] 3d Universe in 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.2769" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=248181609-01082006><FONT face=Arial color=#0000ff size=2>same here! simply amazing... c",) </FONT></SPAN></DIV> <DIV><SPAN class=248181609-01082006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=248181609-01082006><FONT face=Arial color=#0000ff
[jQuery] 3d Universe in jQuery
Awesome example.. It looks great in firefox, too bad it doesn't work in Internet Explorer 6. That might give people the idea that jQuery isn't browser compatible.. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: dinsdag 1 augustus 2006 10:44 To: jQuery Discussion. Subject: [jQuery] 3d Universe in jQuery Hi Everyone - I just made a post to the blog concerning a really cool jQuery demo that's just been release - a 3d universe
[jQuery] $(this).getAttribute("href") Doesn't work
$(this).getAttribute("href"); Doesn't work while this.getAttribute("href"); does. I am trying something like this: $(this).find("h3 a").getAttribute("href"); but cant. -- Best Regards, Nate Wienert _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How do I fetch the latest svn release?
Thanks very much! Success with fetching it. CBWhiz wrote: <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">1. Install svn: <a href="http://subversion.tigris.org/project_packages.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://subversion.tigris.org/project_packages.html</a> 2. Command Prompt: md jQuery cd jQuery svn co svn://jquery.com/jquery . build 3.
[jQuery] 1.0 feature list
I'm kind of lost here, if I've missed (obvious) announcements, please correct me. 1.0a was a great step, but 1.0a and newer SVN versions still contain bugs. That's OK, we know we're not ready for an actual release yet. What I'm not sure of, is the feature set of the actual 1.0 release. Is it feature frozen now, or si it still being tweaked? If we know what the final functions/objects/methods etc. will be, what's in core and what's been moved to a plugin, it would be much easier to work on plugins
[jQuery] $.post
can be a lazy question, but i can go through. I met jQuery today and i want to try a simple post or get. my doubt is how to send the id of the clicked <li> element? $("li").not(".titulo").click( function(/* does anything goes here? <------------- doubt */){ //$(this).hide("slow"); $.post("remove.cfm",{ id: /* id of clicked <li> <------------- doubt */ },function(){ $(this).hide("slow"); });//end function / .post }); //end onclick
[jQuery] Ajax parameters
Hi, Is it possible to send parameters to the server using $.ajax()? I don't want to add params to the URL BTW. I'm trying with this, but no param is available on server-side: $.ajax({ url: "/someUrl", type: "GET", data: "a=aa&b=bb", error: function() {alert('eerrrr');}, success: function(http) {}, complete: function() {} }); Thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How do I fetch the latest svn release?
I can't seem to figure out how to grab the latest svn release (168)? The Subversion page comes formatted for HTML display, and the links at <a href="http://proj.jquery.com/src/">http://proj.jquery.com/src/</a> have an older (June 17) release. Those older versions of jQuery seem to have problems with one browser or another such that I cannot deploy what I believe to be trivial implementations of the library, either that or I'm not using it correctly, which is certainly not out of the question. =p
jQuery International
Hello Everyone - I have some questions concerning the Internationalization of jQuery up on the blog, including a poll - please help me out by responding: http://jquery.com/blog/2006/07/29/jquery-international/ The text of the post can be found below: If there's anything that's apparent from watching the jQuery mailing list and jQuery-related blog posts on Technorati, it's that there's a huge international audience for the library. As I've been working on the new version of the web site (to be released
[jQuery] jQuery attribute selection
I definitely prefer the Xpath variation since most of our work involves XSL/XML and thus Xpath. But I suppose designers may prefer the CSS syntax.
[jQuery] jQuery attribute selection
Xpath uses the colon syntax $("FORM[@my:handler='Validator']"). Hopefully the enhancement will support both syntaxes. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Monday, July 31, 2006 5:00 PM To: jQuery Discussion. Subject: Re: [jQuery] jQuery attribute selection
[jQuery] jQuery attribute selection
jQuery doesn't seem to be able to handle namespaced attributes as selectors. For example: $("FORM[@my:handler='Validator']) Fails to find any items. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:my="urn:my-extra-data"> ... <form id="user-info" my:handler="Validator"> <input type="text" size="10" my:pattern="#ssn"/> <input type="text" size="2" my:pattern="#integer" my:min-value="0"
[jQuery] jQuery and Object.prototype extensions
> > If you want to use any other JavaScript code reliably, you
[jQuery] jQuery and Object.prototype extensions
Yeah, I know some our shortcuts are no-nos when utlizing other frameworks and we're changing those. .about() is only a debug helper and only present in test code. Prod code never refers to .about() and the other extensions are being relocated. What's you opinion about extensions to 'primitive' objects (e.g.: "my string".trim()) and static class methods (e.g.: Math.round( num, precision ))? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of
[jQuery] .get Question
Hi, i want to replace the innerHtml of an div with data from an xml document. the data in the xml document is html syntax and within an element called "data". i do this with .get : $.get("foo.xml",function(xml){ $('#bar').html($("data",xml).text()); }); this works, but i only get the text within "data" and all html syntax is striped out. if i want to get the _complete_ content of "data", including html syntax how do i do this? thanx, Daniel _______________________________________________ jQuery
[jQuery] jQuery and Object.prototype extensions
> My standard toolkit has a few extensions to Object via
[jQuery] jQuery and Object.prototype extensions
Thanks... I figured that the object was being used as an associative array but wasn't sure. I 'spose I'll move .toXml() and .toQueryString() elsewhere, but .about() stays! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Blair Mitchelmore Sent: Monday, July 31, 2006 4:00 PM To: jQuery Discussion. Subject: Re: [jQuery] jQuery and Object.prototype extensions You're extending on the Object object via it's prototype property which means ALL
[jQuery] jQuery and Object.prototype extensions
My standard toolkit has a few extensions to Object via Object.prototype.extension = function( ... ) { ... }. While debugging some odd behavior, I noticed that jQuery calls all of my extended Object methods as event handlers within its handleEvent() method. Thinking perhaps a naming clash caused the behavior, I renamed my .toXml() method to .toXmlText() but it was still invoked. function handleEvent(event) { var returnValue = true; event = event || fixEvent(window.event); var handlers = []; for (
[jQuery] jQuery.merge() question
> You're right, I realized this afterward - I want to combine
[jQuery] jQuery.merge() question
From SVN: /** * Merge two arrays together, removing all duplicates. * * @private * @name $.merge * @type Array * @param Array a The first array to merge. * @param Array b The second array to merge. */ Which is merged into? IE, which array should be the 'defaults'? I assume array a is the defaults, and anything not in array a gets added to the result from array b. Either way, it'd be nice fo ryou to clear it up in the documentation. _______________________________________________ jQuery mailing list
[jQuery] jQuery.merge() question
--
Next Page