[jQuery] Custom Jquery Builds
Months ago I seem to remember on the jquery site there was a tool that allowed you to pick what features and plug in to jquery you needs to create a custom jquery build. Where has that tool gone ? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Trouble with $(expr, context) and iframe documents
I'm trying to reference an element from within an iframe. The following normal javascript code works: var iframeDoc = window.frames[iframeName].document; var data = iframeDoc.getElementById(iframeElement); I'm trying to jqueryize the "data" variable as follows (using the actual element id name for the time being): var d2 = $("#inside_iframe_element",iframeDoc); This just yields [], however. How do I refer to an element within the iframe? -- View this message in context: http://www.nabble.com/Trouble-with-%24%28expr%2C-context%29-and-iframe-documents-tf2794146.html#a7795126
[jQuery] Trouble with $(expr, context) and iframe documents
Can someone please delete my email from this thing? I have tried to cancel many times. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Adam Skinner Sent: Monday, December 11, 2006 8:58 AM To: discuss@jquery.com Subject: [jQuery] Trouble with $(expr, context) and iframe documents I'm trying to reference an element from within an iframe. The following normal javascript code works: var iframeDoc = window.frames[iframeName].document; var data
[jQuery] Why the old school browser detection
Hi, After Drupal standardized on JQuery, I decided to look into using jquery for my other work, and started nosing through the code to see how robust things were. The first thing that really surprised me was the old-school browser detection being used. I first learned Javascript in the 90ties, from working on Dan Steinman's DYNAPI, and at that time we were doing things like : if(is.ie){ //do first thing }else if(is.ns){ //do other thing } But this turned out to be very inflexible, as new
[jQuery] plugin to store and fetch JSON in class
I discovered that the meta-data plugin wasn't all I wanted, so I wrote a very small plugin to store and fetch json from the class attribute. $(element).json() will return a json-string stored in the class attribute from the first matched element $(elements).json(string) will set the json-string in the class attribute for all matched elements comments as always welcome :) Andreas code: jQuery.fn.json = function(value) { if (typeof(value) == "string") { return this.each(function() { if (this.className.match(/\{.*\}/))
[jQuery] jquery autocomplete and mysql
Your PHP script must send back a text/xml header and your XML result content. The format of the XML is documented here: http://interface.eyecon.ro/docs/autocomplete The autocompleter will take the "text" child of each "item" element and display it as a suggestion, and will insert the "value" data as the field's value onselect. If you need to handle other values from the response XML, define an "onSelect" callback function in the options for Autocomplete. If you need more help than that, you're going
[jQuery] Multiple Unknown Invisible Calls
Thanks in advance for any help you can give this is driving me mad! I am making a plugin (which basically creates editable field) to learn jQuery, the code is here: http://www.sico.co.uk/jquery/jquery.editme.js The problem I am having is that each function call seems to get called multiple times and I don't know why! I call it like so: $("div.tags").editme("http://simoncorless/sicoadmin/articles/ajax-updatetags.php"); Then the current div is replaced, this works fine however if you enter text then
[jQuery] Targetting a Specific Submit Button
Hi, my code basically replaces the contents of a div with a form field. How do I target a specific submit button? For instance if you have 4 editable regions and you load them all I believe when you click submit it wants to submit them all and not the one associated with the div you are in. I target it like so: $("input[@type=submit]").click(function () { Can I make it speiocifically target the $(this) submit button, should this code directly target said button and actually my problem is elsewhere
[jQuery] jQuery & SVG ?
Hi, I'm a new user of jQuery. I'd like to know whether jQuery can be used from a SVG document. (I've searched the ML archive for SVG-related topics, but I did not find many of them, I hope the question has not been already answered). TIA, Manu _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery & SVG ?
--
[jQuery] Include JS scripts dynamically (before DOM has loaded)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi folks, I've been working on a little jQuery powered MVC framework for the past week and it really has started to produce some nice results. One of the things I highly depend on is the ability to dynamically include javascript files, and trigger a callback function when they are loaded.
[jQuery] SlideShow Development
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-9" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello; Firstly I am a newbie on jQuery, I have been working on <a href="http://www.kellishaver.com/misc/slideshow2/">kellishaver</a>'s slideshow in my <a href="http://boz3.di-tasarim.com/index.php?option=com_slide&Itemid=43">beta-site.</a> I need to auto-scroll onload, if not clicked left
[jQuery] interfaces bugfix?
Hi I like to send a bugfix to the developer which wrote the interfaces plugin. Does anybody know the email adddress form the developer of the great interfaces plugin so I can support him with the bugfix? I didn't find any contact on his website. Regards Roger Ineichen _____________________________ END OF MESSAGE _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Quotes around an attribute, required , optional, or wrong?
> $('div[@type="jtip"]')
[jQuery] IE6 fadeIn/fadeOut Problem (css prob?)
Yesterday there was a discussion here about opacity in IE; Kelvin Luck started the thread. You didn't show your markup, but the problem may be that the inheritance of opacity isn't working the way you expect. http://www.ozoneasylum.com/5561 -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of stargate Sent: Saturday, December 09, 2006 4:48 AM To: jQuery Discussion. Subject: [jQuery] IE6 fadeIn/fadeOut Problem (css prob?) Hello, i have a problem
[jQuery] Problems appending script tag in IE
In IE6, this doesn't execute the contents of file.js: $('body').append('<script type="text/javascript" src="file.js"></script>'); But this does: script = document.createElement('script'); script.type = 'text/javascript'; script.src = "file.js"; document.getElementsByTagName("body")[0].appendChild(script) I've tried a variety of permutations of the parameter to append with no success. I'm currently using rev543, and also tested with rev501. The $('body').append(...) version works fine in FF2. Bug?
[jQuery] Quotes around an attribute, required , optional, or wrong?
$('div[@type="jtip"]') or $('div[@type=jtip]') I've seen quotes in the docs, but have never gotten that to work. Am I missing something? I often use $("a[@href$=mid]") and similar, without the quotes. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Great AJAX RSS aggregator using jQUery
I found this on Digg, then viewed source and was pleased to find that it uses jquery :) http://www.osxcode.com/feedsearch/ digg article (I mentioned jquery was the JS framework used in the 3rd post) http://www.digg.com/design/Cool_AJAX_RSS_Feed_Aggregator#c4170361 We're also deep into a fulfillment project at work, and using jQuery extensively throughout the web app. --David -- View this message in context: http://www.nabble.com/Great-AJAX-RSS-aggregator-using-jQUery-tf2778782.html#a7752800 Sent
[jQuery] Elegant Loading Indicator
On Friday, December 08, 2006 3:09 AM Peter Bengtsson <> said:
[jQuery] jQuery API docs on gotAPI.com
Hi all. I'd like to submit the jQuery API docs to the gotAPI.com folks (<a href="http://www.gotapi.com/contribute/index.html">http://www.gotapi.com/contribute/index.html</a>). To do this we have to submit the jQuery doc in an XML format that has URLs that point to the jQuery doc hosted on <a href="http://jquery.com">jquery.com</a> (<a href="http://jquery.com/api/">http://jquery.com/api/</a>). However, the problem with our current API doc pages is that the methods aren't linkable... an anchor seems
[jQuery] this.addClass("foo")??
Here's the code that doesn't work. Can someone point me in the right direction? $(function(){ $("span.tagvalue").click(function() { // ...do other stuff... // add "clicked" as class now that it's been clicked this.addClass("clicked"); // THIS DOESN'T WORK }); }); This doesn't work because 'this' is not a jQuery object I guess. How sould I do this then? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ jQuery
[jQuery] Need help fine tuning
Hi all, new to the list, new to jquery, getting my feet wet. I've got a script that I could use some help fine-tuning and optimizing, and I'm hoping you all can help. The script is used to collapse forum topics and can be seen in place at <a href="http://gretschpages.com/forum/modern-gretsch-guitars/">http://gretschpages.com/forum/modern-gretsch-guitars/</a> ShowLatest() is a helper function that moves the first item up in the tree so it's still visible after the collapse. If the user has set a preference
[jQuery] dimensions (was: Adding an element ...)
> On the subject of dimensions, is there an x-browser way of detecting
[jQuery] Need help fine tuning
> Dave, I tried that, but $("div.recentposts a:first")
[jQuery] Need help fine tuning
> I've got a script that I could use some help fine-tuning and optimizing,
[jQuery] [Fwd: this.addClass("foo")??]
I figured it out. Use $(this) to convert 'this' to a jQuery object. -------- Original Message -------- Subject: this.addClass("foo")?? Date: Fri, 08 Dec 2006 17:40:26 +0000 From: Peter Bengtsson <peter@fry-it.com> To: jQuery Discussion. <discuss@jquery.com> Here's the code that doesn't work. Can someone point me in the right direction? $(function(){ $("span.tagvalue").click(function() { // ...do other stuff... // add "clicked" as class now that it's been clicked this.addClass("clicked"); // THIS
[jQuery] dimensions (was: Adding an element ...)
--
[jQuery] Adding an element directly below another one
This plugin places a given element directly underneath another one. $("#mydiv").below("#myinput") Or at least it is meant to. Doesn't seem to work as intended in IE 6, but Firefox seems OK. I am aware of the dimensions plugin, but am interested in trying to do this without relying on it. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] getJquery.org now up
Hey folks, Further to the discussions on this mailing list about getting the word about jQuery out to the world, I've created http://getjquery.org The idea behind it is to come up with a similar site to getfirefox.org, to advocate the use of jQuery alongside, and over other JS libraries. There isn't much there at the moment, just a Drupal site and a Wiki (http://getjquery.org/wiki) to get the ball rolling. I'll also be offering hosting to jQuery projects with a basic package for free (basic as in
[jQuery] Elegant Loading Indicator
Have a working example? I think I know what it does, but I'm not sure. <!----------------//------ 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 Jörn Zaefferer Sent: Friday, December 08, 2006 3:57 AM To: jQuery Discussion. Subject: [jQuery] Elegant Loading Indicator $(document.body).ajaxStart(function()
[jQuery] Efforts to Convert Folks to jQuery
> I liked Dave's (or was it Dan - cannot find it anymore) > quite recent quote. Something like: > > jQuery - makes JavaScript as short as if it read your mind. It was this thread: http://www.nabble.com/Change-href-of-external-links-tf2718387.html#a7627703 "You start with 10 lines of jQuery that would have been 20 lines of tedious DOM Javascript. By the time you are done it's down to two or three lines and it couldn't get any shorter unless it read your mind." The brevity of jQuery is definitely an
[jQuery] Spam in jQuery tickets
Take a look at tickets 472 and 466 (<a href="http://jquery.com/dev/bugs/1/">http://jquery.com/dev/bugs/1/</a>). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .focus() and Firefox
Hellos, http://ruphus.com/code/js/focusdebug/dropdown.html I'm trying to debug a problem with focus and Firebug, and I really can't figure out what's causing the problem. The samples in that demo are variations on this theme: $('#clickme').click(function(){ $('#yourname').get(0).focus(); return false; }); <a href="#" id="clickme">click to fill out form</a> <div id="one" class="dropdown"><strong>your name:</strong> <input id="yourname"></div> Focusing works only sporadically. For a while I thought
[jQuery] Elegant Loading Indicator
$(document.body).ajaxStart(function() { this.style.cursor = "wait"; }).ajaxStop(function() { this.style.cursor = "default"; }); I like the unobtrusive simplicity. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] datePicker changes layout
I noticed this too, it must be down to the floated calendar button You could wrap your inputs in a div and give it a 'clearfix' class: http://positioniseverything.net/easyclearing.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] bug in click() after upgrade to svn $Rev: 670 $ from $Rev: 415 $ FOUND
bug found at line 1551 of event.js f.apply(this, arguments); should be return f.apply(this, arguments); And entered in bug # 474.
[jQuery] How to get $.css values in px in Opera?
> I ran into a bit of an odd problem this morning: $.css returns
[jQuery] toggle() not working on input checkbox
hi I noticed that toggle() is not handling the clicks on a checkbox Dunno if it is an intented behavior for a reason I dont know or if it is a bug/enhancement to put in the bug tracker. So I post here before to have some feedback before to report it it necessary. What do you think ? olivvv _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Two new jQuery plugins: jquery.xslTransform and jquery.debug
Glyphix (http://www.glyphix.com) has released two more plugins under the MIT license: jQuery.xslTransform and jQuery.debug jQuery.xslTransform is a jQuery wrapper for Sarissa, providing the ability to replace any element on the page with the results from an XSL transformation of an XML document inside the browser on the fly (no server required). For example: $('your-selector-here').getTransform('path-to-xsl.xsl','path-to-xml.xml');. jQuery.debug is freedom from that !@#$!^$!%@#$!!! alert() function.
[jQuery] Efforts to Convert Folks to jQuery
Don't be a DOMass ;) --- Paul McLanahan <pmclanahan@gmail.com>
Next Page