[jQuery] .not($(obj))
Hi all It would be useful to be able subtract a list of elements generated from a compound selector - from the results of another. I thought I might be able to do this using what is documented as $(obj) within a .not() but isn't working for me. Perhaps there is a good reason it's failing? Here's a silly simplistic example, where I want to select the paragraphs that are not bold and don't have a class of 'odd': var evenweak = $("p").not(".odd").not("[b]"); // This works but I want the opposite $(
[jQuery] dreamweaver and CodeHints for jquery
Hey guys and gals, I know some of us use DW to do their coding for the pretty colors and the code hints it provides, and since I have been using jquery for, well, everything I decided to start creating those codehints. attached is what I have so far, which is only the $ and A section of the jquery.com/api page and probably won't put to much effort into it till the next version of jquery comes out (i read there will be a bunch of deletions from the code). Here is a quick tutorial to get it going:
[jQuery] dimensions plugin: height() and width()
Hi everyone and Happy New Year 2007. I'm using Kevin Luck's <span style="font-weight: bold;">jScrollPane</span> plugin (<a href="http://kelvinluck.com/assets/jquery/jScrollPane/">http://kelvinluck.com/assets/jquery/jScrollPane/ </a>), wich is great stuff but uses the plug in <span style="font-weight: bold;">Dimensions</span> wich overrides jQuery's functions <span style="font-weight: bold;">height()</span> and <span style="font-weight: bold;"> width()</span>. The diference between the two namespaces
[jQuery] off-topic: Happy New Year for you all
Hey, I wish you all we all, web fans, programmers, code line lovers like me, a really great 2007. Lets make jQuery dominates the world! lol Im doing my part, spreading the word in Brazil. (= ha, im not good with words, especially in english hehe, so watch this production: <a href="http://www.youtube.com/watch?v=xUin06U0EPg">http://www.youtube.com/watch?v=xUin06U0EPg</a> $("people").each( function(){ $(this).hugYourFriend(); console.log('lol'); }); _______________________________________________
[jQuery] bind and unbind events HELP!
Hi friends, I ran into a problem using the bind and unbind events. I have a function that triggers when $(document).ready. The function name is begin. This function iterates through all the span elements in the DOM and find an id that begins with 'eip-' then assign 3 events, "contextmenu", "mouseover", and "mouseout". The contextmenu event triggers a edit() function. When this edit function is triggered. it does $("span").unbind to remove all events so that none of them can be editable. Then one
[jQuery] Thanks -- Jquery for a great tool in 2006
Jquery is the first Javascript library that I found useful so I actually use it. Great job everyone who helped. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to get the form name
I have a UL inside some form tags and a I want to be able to get the name or id of that form. $('#ul_opts').ancestors('form').id() Works in IE but returns null in FF. Any thoughts? Thanks, David -- View this message in context: http://www.nabble.com/How-to-get-the-form-name-tf2903016.html#a8110854 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] animate not pixel perfect?
I'm having a problem with the .animate method. I'm using it to slide some div's left and right. One part of the project does not have alot of text but has some background images and some images, the other is very textheavy. One of these effects is loaded asynchronously and the other is loaded on page load, but they both experience the same problem. It runs fine, but about 3 out of 5 times it doesnt end up at the right position. Such as when I slide the text left and then slide it back right again
[jQuery] Sortable Reorder?
When i save my sortables as serialized data, is there a way of restoring it using the a sortable (sort?) function i jQuery? Say a list like: left = '1|3|2'; right = '3|1|2'; then when the page loads it sorts it into that order automagically? Thanks in Advanced. -- View this message in context: http://www.nabble.com/Sortable-Reorder--tf2901782.html#a8107178 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] New plugin: jScrollPane
Hi all, I've just released my new plugin - it is called jScrollPane and replaces the browser's scrollbars where a container has an overflow of auto and a fixed height: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html As you can see, it is unobtrusive and degrades gracefully to the browsers own scrollbars. The custom scrollbars are completely stylable via CSS. Afaik they work on all browsers jQuery supports but let me know if you notice otherwise. One question I have to improve
[jQuery] Stopping fadeIn/fadeOut effects from piling up
Hi, I've written a simple image rollover script using jQuery. The script enhances my site's navigation bar: for each image/link, on 'mouseover', it fades in a corresponding image in the middle of the bar; and on 'mouseout', it fades out the corresponding image, and restores a default image (a 'star' image) in the middle of the bar. Demo of the script: http://basement.greenash.net.au/jquery-rollover-example/ Source code: http://basement.greenash.net.au/jquery-rollover-example/js/jq-rollover.js As
[jQuery] slideToggle flicker
Hello, I have a minimal test case up: http://www.dragon-labs.com/client/indieed/code/14/sandbox.html I am experiencing a flicker when the div is sliding down (opening). This is occuring in Firefox and Safari (untested in IE). Has anyone else ran into this problem or am I just overlooking something very simple? Thanks! -Jake -- View this message in context: http://www.nabble.com/slideToggle-flicker-tf2900860.html#a8104610 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] Having an issue accessing a node.
> ...since the spec requires name and ID to be
[jQuery] Having an issue accessing a node.
> $('#blog[headline]').val('newvalue');
[jQuery] New Plugin: JSwitchy
Ten days ago, A List Apart posted an article titled Switchy McLayout: An Adaptive Layout Technique ( http://www.alistapart.com/articles/switchymclayout ). In this article, they explained how to use JavaScript to change stylesheets on the fly depending on the size of the browser window. Their code was quite compact at only 1KB, but it required the user to define everything in the JavaScript code. I thought I could do better and considered this to be a prime subject for a JQuery plugin. So off I went
[jQuery] slideUp / slideDown and nested divs
While converting from prototype + script.aculo.us to jQuery + interface I now have a problem with nested divs and slideUp / slideDown functions. To me it seems these efects don't transfer the heigh to parent div. Check these two examples. initially display: none; http://www.appelsiini.net/~tuupola/jquery/slideupdown/slideupdown.html initially display: block; http://www.appelsiini.net/~tuupola/jquery/slideupdown/slideupdown2.html Is this problem more with html or with jQuery? -- Mika Tuupola http://www.appelsiini.net/~tuupola/
[jQuery] Create / access my own DOM element properties with jQuery?
Hi all What is the best way to attach and access my own properties to DOM elements within the confines of jQuery? I'm attempting to write a script which iterates through a multi-level multi-nested ordered list. Starting from the deepest level and working up, I want to store an accumulated value on each element - based on the number of children each ol / li contains. Storing the values within a .each() is working okay: this.kids = count; But retrieving these values is proving to be a problem - for
[jQuery] Help on form plugin Malsup :)
I am having an issue with the form plug in i cant access my ajax json response data. $(function(){ $('#ticket-form').ajaxForm({ dataType: "json", success: function(data){ alert(data.event); } }); }); my responce" {"event":"editSuccess","msg":"w00t refresh"} I cant seem to access event it just spits out the whole damn string :@ Jason Y www.purepressure.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Having an issue accessing a node.
$('#blog[headline]').val('newvalue'); <input type="text" id="blog[headline]" name="blog[headline]" value="" /> It seems i cant access the node for [] in the name breaks the ability to access it unless i am doing something wrong? Jason Y www.purepressure.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] updated codehint and codecolor list for dreamweaver and jQuery
<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] My First Plugin - Custom Select Box
Here is my first attempt at a plug-in. It is definitely in the early stage of development, but I thought I'd put it out here for you guys to rip apart (and hopefully provide a suggestions or two) Here it is => http://brilliantretail.com/cases/select/ Custom Select Plugin Let me know what you think..... Thanks, David -- View this message in context: http://www.nabble.com/My-First-Plugin---Custom-Select-Box-tf2893253.html#a8083502 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] A Semantic Solution for Presenting NSFW Content
jquery is mentioned in a blog post : http://pj.doland.org/archives/041577.php. It's used for a workaround for the missing attribute selector of css in IE6 David _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Splitter
> What do you mean by splitter widgets? Like a split pane view? Yep, similar to this: http://www.jackslocum.com/blog/examples/splitter3.htm I didn't see anything in Stefan's site that would do it. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Roadmap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" name="Compose message area"> <DIV>And two minutes afterwards
[jQuery] jQuery Roadmap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" name="Compose message area"> <DIV>Should there be a sat-nav
[jQuery] jQuery Roadmap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" name="Compose message area"> <DIV>Jeez Aaron that was quick!!!
[jQuery] jQuery Roadmap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" name="Compose message area"> <DIV>Hi everyone,</DIV> <DIV> </DIV>
[jQuery] New Plugin: JSwitchy
Very nice implementation. Using the title attribute on the stylesheet was a great idea too. Thanks! -ALEX -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jason Levine Sent: Friday, December 29, 2006 8:39 AM To: discuss@jquery.com Subject: [jQuery] New Plugin: JSwitchy Ten days ago, A List Apart posted an article titled Switchy McLayout: An Adaptive Layout Technique ( http://www.alistapart.com/articles/switchymclayout ). In this article,
[jQuery] Very Cool Window Plugin
This plugin is VERY cool: http://www.consulenza-web.com/jquery-floating-windows-plugin.dc-14.html The developer is Marco Pegoraro but I haven't seen him on the list. I'd like to see if the docs could be translated to English. Anyone know Marco? Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Regular Expressions
This may have been answered somewhere, but alas, I cannot find it. I would like to use a regular expression to filter through certain dom elements, but Im not sure if jQuery takes regex. Also, it might be possible with attribute selectors, but Im not sure how. I want to grab all divs with an ID that starts with "col_" (easy enough with $('div[@id^=col_]')), but also ends with a number. The regex would look something like this: /^col_[0-9]/ Any ideas? Thanks in advance, Nate -- View this message in
[jQuery] $('a')[0].click() not working?
I'm embarassed to post this, but is the click() method not supported for links to trigger them? I have a div that has a link inside of it that I want to trigger as if someone clicked that link when they click the div. <div id="foo"> <a href="<a href="http://jquery.com">http://jquery.com</a>">MyLink</a> </div> $('#foo').bind('click', function(){ // Works in IE, not Firefox $('> a', this)[0].click(); // I've also tried $('> a', this).trigger('click'); }); Does the click method just
[jQuery] New Plugin: JSwitchy
You just have to design multiple stylesheets. The one template will change based on which stylesheet is enabled. ----- Original Message ---- From: Andy Matthews <andy@icglink.com> To: jQuery Discussion. <discuss@jquery.com> Sent: Friday, December 29, 2006 12:05:32 PM Subject: Re: [jQuery] New Plugin: JSwitchy Wow... That's pretty nice. So do you actually have to design multiple templates or is just designing multiple stylesheets? <!----------------//------ andy matthews web developer certified advanced
[jQuery] New Plugin: JSwitchy
Wow... That's pretty nice. So do you actually have to design multiple templates or is just designing multiple stylesheets? <!----------------//------ 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 Jason Levine Sent: Friday, December 29, 2006 10:39 AM To: discuss@jquery.com Subject: [jQuery] New
[jQuery] Splitter
> I've found the one Stefan did, at least:
[jQuery] Very Cool Window Plugin
Runs REALLY, REALLY slow on my IE6/PC. <!----------------//------ 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 Rey Bango Sent: Thursday, December 28, 2006 9:09 PM To: jQuery Discussion. Subject: [jQuery] Very Cool Window Plugin This plugin is VERY cool: http://www.consulenza-web.com/jquery-floating-windows-plugin.dc-14.html
[jQuery] Getting the val() or html() of an FCKEditor field using jQuery
Right... Found that after I posted. Thanks for pointing it out though! <!----------------//------ 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 bander Sent: Thursday, December 28, 2006 6:06 PM To: discuss@jquery.com Subject: Re: [jQuery] Getting the val() or html() of an FCKEditor field using
[jQuery] slider
Anyone know of a jQuery slider, similar to this YUI Slider: <a href="http://developer.yahoo.com/yui/examples/slider/index.html">http://developer.yahoo.com/yui/examples/slider/index.html</a> Dave _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] My First Plugin - Custom Select Box
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <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);}
[jQuery] Duplicating Events in a New Object
Heh... sorry, just needed the address, hit reply and did not remove the old message. M > -----Original Message----- > From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On > Behalf Of blemming > Sent: Thursday, December 28, 2006 11:13 PM > To: discuss@jquery.com > Subject: Re: [jQuery] Duplicating Events in a New Object > > > Does this have anything to do with my plugin? > > > Michael Haggerty-4
[jQuery] Splitter
--
Next Page