[jQuery] button/image/password input shortcuts
Any chance we can get these axed from the 1.0 release? I find it much less inconvenient to have to say $('input[@type="button"]') to get an input of type button than to not be able to say $('button') to get an actual button element. At this point I am running into places where I have to change my html templates if I want to use jQuery for element selection. Makes me cranky :) -Stephen _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] indicator?
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Ajax</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN
[jQuery] Binding function not working after several elements loaded (Solved!!)
Regarding my first post, I think I solved it. All I did was place the "ready" function and all the scritps at the bottom of the HTML page. I was doing tests with "size" and noticed that everytime I accessed the page I got a different number for the count of elements matched. First refresh was alwasy "cero", then the count incremented the more a accessed the page. Is there a problem with placing the Ready function outside the page HEADER? Cheers.<br clear="all"> -- **** Ivan Quintero _______________________________________________
[jQuery] function: toggleslide
<div>hi all, for some reason.. the first thing i add to these types of scripts is (ie: i did this for my scriptaculous and prototype implementation) : toggle + slide = toggleslide ! am i the only nut who keeps seeing a use for this? i usually just combine both functions to form the one (since i happen to use this effect often). for jQuery it goes a little something like this: --------------------------- toggleslide: function() { return this.each(function(){ var
[jQuery] Binding function not working after several elements loaded
I am binding a ajax call to an image tag for a script that displays blog comments hierchichally. The ajax call executes a PHP script that marks a comment to be deleted afterwards. The binded function does not work when there are too many comments on a page. Although the problem appears randomly, I found out that it occurs consistently on pages that have lots of comments (it will work for, say, the first 20 comments only). Here is the <span style="font-style: italic;">ready <span style="font-style:
[jQuery] Documentation in non greek?
Hi all, I am new to jquery and to scripting in general. I have read the tutorial and the documention but still I am having difficulties understanding and to achive what I want. Would appreciate very much if someone could guide or help me out. What I want to achive is some slideUp and slideDowns. On my page I have 3 separate div with paragraphs and each div has a link inside saying "more>>" What I want to do is if more>> is clicked then a slidedown should appear with even more information below. For
[jQuery] .get()
> It would be nice if we could do:
[jQuery] Documentation in non greek?
Sean, you are the man! :) Works like a well oiled machine! Wanna swap brains? :) Thanks ALOT! >From: sunsean <littlecooldude@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] Documentation in non greek? >Date: Fri, 23 Jun 2006 13:26:07 -0500 > >O! I see, try this: > >$(document).ready(function(){ > $("a.expand").toggle(function(){ > $(".expandme",this.parentNode).slideDown("slow"); > },function(){ > $(".expandme",this.parentNode).slideUp("slow");
[jQuery] Element visible?
Hi all, I am looking for a JQuery-way to know, if a block element (div etc.) is visible on a page. What I mean is the viewport, the clipping a user can see without scrolling the page. Ideally, it would work like this: $('#mydiv').turnsVisible(function(){ $(this).load(...); }); So, if a user scrolls down and "mydiv" gets visible, the callback function gets executed (but only once). Has someone done something like this before or can give me a hint, where to start? Thanks and greetings, Arash _______________________________________________
[jQuery] .get()
> BTW, one thing I don't really like about jQuery is that $() returns > a jQuery object and I need to use $().get(0) to get the real element. I have used jQuery in several projects and not once used get(). To me it feels like the goto of jQuery because it allows backsliding into DOM habits rather than encouraging a jQuery solution--for example a plugin that could be used in a continuation chain. An escape hatch is good for special situations, but inconvenient as a front door. At least that's my experience.
[jQuery] Documentation in non greek?
Hi Sean, Well I am using FF (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608) and I have to click on link <a class="expand">More info>></a> twice to be able to show the hidden And after the second click it works fine with just 1 click until I reload the page... Puzzled... >From: sunsean <littlecooldude@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] Documentation in non greek? >Date: Fri, 23 Jun
[jQuery] Documentation in non greek?
Hi again, I have tried to follow this what you guys have written butt now it is even more in greek. First of all is there some kind of wiki or documentation for us NON programmers? Second I am still having problems with the dubble click issue.. <code> <script type="text/javascript"> $(document).ready(function(){ $("a.expand").toggle(function(){ $(".expandme",this.parentNode).slideUp("slow"); },function(){ $(".expandme",this.parentNode).slideDown("slow"); }); }); </script> <body> <div> Some text
[jQuery] jQuery hide/show from href target
<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]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"Trebuchet MS"; panose-1:2 11 6
[jQuery] event-handling extra data best practices
<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> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] jQuery Sample: Collapsible List
Not a plugin, but an example of what you can do with jQuery: http://sam.collett.googlepages.com/collapsibleList.html Not quite as fancy as TreeView by Myles Angell: http://be.twixt.us/jquery/treeViewEffects.php http://be.twixt.us/jquery/treeViewHover.php But still helpful I think and a different method of toggling (no images used, click on the text of nodes that have children). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Documentation in non greek?
Hi Christof, Thanks, it shure did hide but the first time I click the link it does not expand, but the second time. Known bug or did I go wrong somewhere?
[jQuery] jQuery speed-up hack
(Warning: my hack is not very compatibile with existing jQuery codebase) An application I've used jQuery with became dog-slow after a while. The problem was I've used $(".ClassName") a lot to link functions (like show/hide panel on checkbox click) to page elements. Perhaps it was a change in jQuery, perhaps I've made some mistake in my code, didn't matter -- the app was too slow for production (4-5s on each pageload). I've narrowed the problem to the $() function, which currently is huge and contains
[jQuery] Tree View
<html xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0pt; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times
[jQuery] Documentation in non greek?
Greetings Sean, Kill you? No way it works perfectly and even if it didn't I am just happy that someone took his time to help a lost soul. I am still confused though :) What I am trying to achive is that is hidden on page reaload as default and not expanded. Is this possible? Take care >From: sunsean <littlecooldude@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] Documentation in non greek? >Date: Thu, 22 Jun 2006
[jQuery] jQuery speed-up hack
I believe that would be useful. I checked our code, we only ever use get(0). Thanks, Shawn Tumey Cofounder MT Web Productions LLC -----
[jQuery] jquery not working with DWR
I'm using AjaxCFC, a component written for Coldfusion for very easy interaction between the server and HTML-client. AjaxCFC uses DWR script library... To do all rest I really would like to use jquery. But they don't seem to work together. If I use jquery, DWR fails . Anybody else experienced this problem or maybe has a workaround? I'm quite new to jquery, thus I don't know if this was discussed before... - Daniel _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] document.ready error in latest SVN
Something simple like: $(document).ready(test); function test() { alert("test"); } Gives: "second argument to Function.prototype.apply must be an array" This seems new. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Plugin: numeric
This plugin prevents invalid characters (like A,B,C !,",£, $ etc) from being typed into a text box when you want to type a number. Does not validate if the number is valid on submit. http://sam.collett.googlepages.com/numeric.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] checkbox has no properties
Hi, I check if a checkbox is checked or not when the page is ready, like this : $(document).ready(function(){ var vendu = document.refedit.vendu.checked; if(!vendu) { $("#form_vendu").hide(""); } }); but Firefox always says that document.refedit.vendu has no properties. In IE, sometimes it's ok, sometimes it has no properties. If I test my checkbox with a click function, then it's ok. What am I missing, I can't find where the problem is. Thanks,
[jQuery] Plugin for client-side form validation
Hi Sam, hi Klaus,
[jQuery] fadeIn to opacity
I normally don't ask questions, but I've been staring at the fx code for a while and I just can't seem to find how I change the stopping opacity of the fadeIn (or fadeOut) function. I would have thought it would be this: $(obj).fadeIn("crawl",{max:0.6}); This idealy would stop the fadeIn at 60% opacity, but aprently I am wrong. Any suggestions. I'll keep looking at the code in the meantime. ~Sean _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] button/image/password input shortcuts
> At this point I am running into places where I have to change
[jQuery] Tree View
Hi All, I'm not sure if it's been done before, but I felt inspired by Dean Edward's Das Bloat (<a href="http://dean.edwards.name/weblog/2006/05/das-bloat/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://dean.edwards.name/weblog/2006/05/das-bloat/</a>) referencing the large size that the Yahoo UI Tree View control was. I took a look at it and began work on a stripped down, simple tree view using strictly jQuery. This is no way is a replacement for the current Tree View
[jQuery] jQuery speed-up hack
> From: John Resig
[jQuery] Xul
Hello, How can i make this work ? Thank you for your help Regards Salvatore <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="findfile-window" title="Recherche de fichiers" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="text/javascript" src="http://jquery.com/src/latest/"></script> <script type="text/javascript"> $(document).ready(function(){ alert("test"); var
[jQuery] A fix for flickering at end of $.fx.height
I've had problems with $.fx.height flickering at the end of $().hide('fast'), so I've made a change to $.fx: ... z.a = function(){ // >> Michal T. 06/06/22 un-flicker hack if (ty == 'height' || ty == 'width') { if (z.now < 1) z.el.style.display = 'none'; else if (z.el.style.display == 'none') z.el.style.display = ''; } // << z.el.style[ty] = z.now+'px'; }; ... So, basically, if height is 1 or less, it hides the object. I guess it was something like setting 0 (or -1?) to height resulted in flicker.
[jQuery] Applying fx to two adjacent elements (like opening blinds on a window)
Imagine an image, in the centre of a fixed width/height div, aligned centrally on a page. It has a menu to either side, that are hidden initially, but show on mouse over. Illustrated in ASCII art (so better to view in a client using a monospace font). --------------------------------- ¦ ¦ ¦ IMAGE ¦ ¦ ¦ --------------------------------- Then when you mouse over it, a menu slides out to either side (DIV size stays the same). --------------------------------- ¦ ¦ ¦ <-M IMAGE M-> ¦ ¦ ¦ ---------------------------------
[jQuery] Search a multi-row Select list
> And for your information.
[jQuery] Search a multi-row Select list
And for your information. I solved it myself. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Christof Donat Sent: Thursday, June 22, 2006 11:27 AM To: jQuery Discussion. Subject: Re: [jQuery] Search a multi-row Select list Hi,
[jQuery] Search a multi-row Select list
Just to be sure, help on discussion boards is ALWAYS appreciated. BUT.. Your final comment was distasteful. ... In case you have problems to combine that with my last mail, you can of course also engage me or others on this list - but not for free. Christof _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ************************************************************************* This communication, including attachments, is for the exclusive
[jQuery] http://www.eyecon.ro/interface/ author on this list?
@Jay: I think I fixed the problem. Try to download the interface again @John: I had the protection for microsoft's events triggers selectstart and dragstart but for the element. Later I changed the plugin so the element itself was not moved at all, but a draghelper with a copy of the element. Now I moved the protection for the draghelper. I don't want to use 'document.onselectstart' because will ruin the selection for the whole document wich is a big ussablity flaw. _______________________________________________
[jQuery] Xul - Xml
Hello, I would like to use JQuery with Xul. Is it possible ? Regards Salvatore _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] duplicating table rows for input form.
Hi, I am looking at using jQuery for a project of mine where I am going to be redeveloping some ASP pages into PHP. I am currently very active in the Drupal community and I am actually a full time Drupal Developer and Maintainer of the Drupal E-Commerce module, and I know that some people in Drupal are thinking very hard about replacing Drupals current js implementation with jQuery. ATM there is a lot of really bad js that I wrote to allow rows in a table with input fields to be added to the table
[jQuery] live search in one line of code
What I forgot to mention is that uri IS defined earlier in code, and that I'm using event-based model 'cause I deal with some far east languges. I just found jquery and started to rewrite some parts of my code. This live search in one line was very interesting to me. Original code is not fully jqeried and works with FF. This one line - does not. And there is lot of new stuff every day that I cannot catch up! Some of things you guys posted helped me for other things. Tnx <br clear="all"> -- Dragan
[jQuery] Plugin thoughts.
Hi, I'm currently working on a plugin called "dataGrid", the plan is for it to work on top a existing html structure in this case <tables>. Read in the data and build the "data grid" dynamically. Features will for a start include sorting of the different columns. Now to the question: Because not all browsers are supported by jQuery, and this plugin will modify existing html-structures it would be great to have a function like "$.isBrowserSupported()" (returning true / false) built in to the core.
Next Page