[jQuery] 3d Universe in jQuery
> Yesterday scientists agreed about the fact that Pluto
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 done completely in Javascript, with jQuery: http://jquery.com/blog/2006/08/01/3d-universe-with-jquery/ Also, be sure to Digg it up, to get the word out: http://digg.com/programming/Solar_system_made_from_JavaScript --John
[jQuery] Problem with .height/.css?
I've been out of the loop on the list here for a little while, and I've recently thrown on the latest SVN JQuery. Running into some odd problems. I've got something like the following: $(".edit").click(function(){ $("body").append("<div id='overlay'></div><iframe id='edit' src='http://www.google.com'></iframe>"); $(window).scroll(function(){ $("#overlay").top(window.pageYOffset + 'px'); $("#edit").top(window.pageYOffset + 100 + 'px'); }); }); which is intended to be a
[jQuery] autocomplete configuration
Hi folks, I'm having difficulty understanding the configuration settings of Gilles' AutoComplete (http://proj.jquery.com/docs/Plugins/) I can get the suggestions back from the server and into the text box, but when I click anywhere else on the screen (e.g. on a submit button to process the selected option further, or just clicking away on the screen apart from the textbox) the selected option disappears from the textbox, leaving me with nothing. Is there anyone with experience with this autocomplete
[jQuery] needed: edit html plugin
Do you mean you need a wysiwyg? * Posted:* Thu Aug 24 21:46:40 EDT 2006 *From:* Francisco Brito <francisco.brito at gmail.com <mailto:discuss%40jquery.com?Subject=%5BjQuery%5D%20needed%3A%20edit%20html%20plugin&In-Reply-To=22910c670608241142l2374443ajeb2bf8667e2c0ee2%40mail.gmail.com>> Hmm... not that kind of selections/ranges. I meant within textareas or inputs. There's probably code within the autocomplete plugin that does something like that. I'll dive into it. _______________________________________________
[jQuery] needed: edit html plugin
Does anyone know of a jQuery plugin for editing HTML? It's a mega pain in the plugin to deal with browser whims regarding ranges, selections and editable HTML. (refresher: like dojo's or HTMLArea) By the way, does anyone know of a plugin for handling selections/ranges? -Brito <blatant_advertisement> I've just posted an entry about jQuery (yet another "jQuery is great" post). Read it if you're interested. <a href="http://nullisnull.blogspot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
[jQuery] Production Rails site using jQuery
There's been a lot of discussion on jQuery for Rails development, especially with wycats' post on the blog. I've had my wifi cafes site (<a href="http://wifi.earthcode.com">http://wifi.earthcode.com</a>) up for a month or so running on Rails + jQuery. Most of the jQuery code on Wifi is in the Google maps interaction (adding a cafe particularly), with a bit in the CSS ratings system. I can definitely say it's more work to develop on Rails with jQ vs. prototype. And, a lot of Rails programmers don't
[jQuery] ajaxStart etc. not working
<!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"> <font size="-1"><font face="Tahoma">This code doesn't work with 1.0a // // Ajax loading $(document).ajaxStart( function() { alert('test'); $('#ajaxBusy').show(); } ).ajaxStop( function() { $('#ajaxBusy').hide(); } ); I'm trying to bind one global
[jQuery] AJAXGrid plugin - text version
Some improvements: * fixed columns * keyboard navigation: page up/down to scroll pages, F2 to edit the current cell * autocompleter for input fields * better speed, still on Internet Explorer pauloads a lot the proccesor * the header cells can be clicked to sort to columns same link http://interface.eyecon.ro/demos/grid.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] f has no properties
Awesome. Glad it helped. <!----------------//------ 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 Huck Sent: Thursday, August 24, 2006 10:08 AM To: discuss@jquery.com Subject: Re: [jQuery] f has no properties Andy Matthews
[jQuery] f has no properties
I have some simple jquery code that works fine in standalone tests, but errors when integrated into a larger project. I have noticed in the larger project, FireBug reports "f has no properties" on line 14 of the main jquery lib. Even though my standalone test calls the exact same copy (and it doesn't matter whether it's a local copy or the one from http://jquery.com/src/latest.js), FireBug doesn't report that error. Can someone shed some light on this for me? This is all I'm doing: <script
[jQuery] f has no properties
Try removing references to other javascript code and start from there. It's likely that something else is overwriting jQuery code. Are you using Prototype? <!----------------//------ 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 Huck Sent: Thursday, August 24, 2006 9:30 AM To: discuss@jquery.com
[jQuery] New Plugin: jQBrowser - Extend jQuery’s browser detection capabilities
Hi folks. I needed browser detection that was a little more robust than $.browser so I wrote a quick plugin to extend it. Please let me know if you find any problems with it. Any other feedback is also more than welcome. http://davecardwell.co.uk/geekery/javascript/jquery/jqbrowser/ Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery.toArray() ?
Hi all, does jQuery have a method to transform its results to an array of DOM nodes? Like for example: var lis = $('li').toArray(); I need to gather some <li> elements and resort them based on an expando property or a class name. If not I can only go the way with each and create my own array, right? var lis = []; $('li').each(function() { lis.push(this); }); -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] What happened to visual jquery?
I was trying to go to the visual jquery docs at <a href="http://www.visualjquery.com/">http://www.visualjquery.com/</a> the other day, and i noticed that their not there anymore! Now its a website for "Wycats Designs". The visual docs were my favorite way to look around in the jquery documentation, because i didnt have to wait for load times as much. Anyone know what happened? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Hiding divs with class
I think I'm missing something fairly fundamental in my understanding of JQuery.... I'm just trying to hide a collection of DIVs in a page all with a specific class, however, my code isn't working at all. I've knocked up a simple page with very little HTML to show my code. This looks like: <!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" > <head> <title>Test Page</title> <script type="text/javascript"
[jQuery] Serializable Form Upload Element
Hi I was looking around for a neat and generic way to handle file uploads. I found several different approaches, and it seems like this is a classic case for using ajax in any case (<a href="http://www.codeandcoffee.com/2006/08/02/too-much-ajax/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.codeandcoffee.com/2006/08/02/too-much-ajax/</a>). Some of the references I found: - <span> Asynchronous file upload with AJAX progress bar in PHP (</span><a href="http://tomas.epineer.se/archives/3"
[jQuery] Serializable Form Upload Element
Have you seen: P.O.R.K ( http://beta.zapguide.nl/iframe/ ) ? Tried to do something like this on a seperate script. got it working on one specific form, but getting an element to reload after the file was submitted to iframe was too much for me :( -- Matti Putkonen matti.putkonen@fi3.fi www.fi3.fi _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Documenting plugins
There is a section on the jQuery dev site about documenting plugins: http://proj.jquery.com/docs/Plugins/Documenting/ However, that is about documenting them using Wiki formatting. Perhaps there should be a guide on documenting the plugin via JavaScript comments - i.e. like how it is done with the jQuery source code? Maybe a generic tool that generates documentation from source would be a good idea? So you just download it, drag your source onto it (or supply as a parameter if command line) and then
[jQuery] New Plugin: Spy
Hi, I've written a jQuery plugin that creates similar functionality to the Digg spy (http://digg.com/spy). Examples and documentation: http://leftlogic.com/info/articles/jquery_spy Source: http://leftlogic.com/jquery_spy/spy.js Will be grateful for any feedback. Thanks, Remy Sharp _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery and openjsan.org
to John Resig: Have you considered uploading jQuery to openjsan.org? I ask, becuase I feel the Perl guys could use a decent foundation to do their work on, and jQuery might fit the bill. ---- to everyone else: I'm a little concerned about JSAN, because it started out as a promising project to bring something CPAN-like for all Javascript programmers, but it's kinda fizzled out after the initial excitement. One serious problem in my mind is that it's mainly Perl people who seem to care about it right
[jQuery] How to combine lt and gt?
Hi, how do I combine lt and gt? $("p:lt(5):gt(3)") or $("p:lt(5) gt(3)") doesn't seem to work... michael _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] html() + firebug = funky
the html() function calls: this.set( "innerHTML", h ); which makes it set the innerHTML attribute, not property. If you inspect the markup with firebug, you'll see that firebug will actually render html in its pane. Very funky. May I suggest that it's done via: this.each(function(){this.innerHTML = h;}); Thoughts? happy coding. -Brito _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] "Erasing" contents of a form
>> Or do $("formElement").reset();
[jQuery] bad example on documentation page
http://john.jquery.com/jquery/docs/index.xml If you click "B" then "background( )" the result is operating on some html without a background set. Seeing the "" *empty* result as the result is fairly worthless. It might be more useful to start with a background and show the returned results with something in them. Just a nitpick - good docs help a ton though. -- View this message in context: http://www.nabble.com/bad-example-on-documentation-page-tf2143806.html#a5918027 Sent from the JQuery forum
[jQuery] "Erasing" contents of a form
<html> <body> Hi folks, I use the function below to send user comments to a database and get refreshed on the current page - no problems. However, I cannot seem to "erase" the contents of the comments form (id=NewCommentZ) for subsequent use - the text area and text input elements remain populated with the previously entered content. The disabled lines in the code below are my guesses - no more - of how to erase the form's contents, but I wasn't lucky. I'd appreciate someone providing me with some
[jQuery] jQuery via NNTP @ GMANE
Hi everyone, Per my request, jQuery mailing list is now available via NNTP at: nntp://news.gmane.org/gmane.comp.lang.javascript.jquery Cheers! Yours sincerely, Roman Filippov. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] slideDown/Up from/to settings
Hi, I am trying to create a set of tabbed panels. Whenever a tab is clicked instead of simply hiding one div and showing another I want the existing tab panel to grow or shrink to the size of the next tab panel. To do this I have been looking at jQuery's slideDown and slideUp methods however they do not facilitate a *from *or *to *setting. Has anyone hacked a solution to this? Or created anything similar? Thx in advance, Peter (p.s Sorry for the resend) _______________________________________________
[jQuery] AJAXGrid plugin
<!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"> This is a plugin I worked on a lot. Has a lot of features: <ul> <li>in place edit: the cells converts into text field, textarea or select </li> <li>resizeable columns</li> <li>keyboard navigation</li> <li>live scrolling</li> <li>triggers events on select and onsort , based on those you
[jQuery] TableSorter 1.0.3 plugin for jQuery released
ChangeLog ------------------ * Renamed tablesorter.js > jquery.tablesorter.js * Bugfix: Now possible to have to instaces of tableSorter with diffrent defaults. * Bugfix: sortColumn would not work with value 0. * Added: Support for John's soon to be released pager plugin. * Added: Support for US long date with format: Jul 6, 2006 8:14 AM * Added: New parameter columnParser. See: example/columnparser.html * Added: New parameter minRowsForWaitingMsg. See: example/minrows.html * Added: Support for building
[jQuery] Event does not always bind to object
Hi, I have a pretty strange problem with one of my scripts. I am working on a little CRM and the customer overview page has six blocks looking something like this: <div id="general"><h1>the title</h1> <a href="#" id="general_opener"><img src='openup_small.png' /></a> <div class="block">familiy name<br /> first name ....</div> </div> When a user clicks on the image/link the following script runs: $(document).ready(function(){ $("a#general_opener").click(function(){ if ( $("div#general div.block").is(":hidden")
[jQuery] selector help
I need to select all li elements that dont have ul elements as children. I tryed this $("li").not(">ul") but it does not work. -- View this message in context: http://www.nabble.com/selector-help-tf2137367.html#a5898490 Sent from the JQuery forum at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] slideDown/Up from/to settings
<!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="#333333"> <font face="Trebuchet MS">Hi, I am trying to create a set of tabbed panels. Whenever a tab is clicked instead of simply hiding one div and showing another I want the existing tab panel to grow or shrink to the size of the next tab panel. To do this I have been looking at jQuery's slideDown and slideUp
[jQuery] $(this).getAttribute("href") Doesn't work
why wouldn't you just do this.href -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Nilesh Patel Sent: 16 August 2006 22:22 To: discuss@jquery.com Subject: [jQuery] $(this).getAttribute("href") Doesn't work hey , I found a solution that works correctly. try this.. $.attr($('a').get(0),'href') 100% works its called by first value is object, then 2nd value is attribute -- Nilesh B. Patel Contact: 704.723.6427 website: www.n-bp.com _______________________________________________
[jQuery] Oddness with jq-corner plugin.
I am having trouble getting Dave Methvin's jq-corner plugin to work on a page, and have discovered something very strange. I copied his test page, the corner lib, and the latest jquery to a folder on my local machine and adjusted the paths accordingly. Everything is in the same folder. Now, here's what's weird: If I open the test page directly (as in file://...), it works fine. However, if I *serve* the exact same page via my local copy of Apache (1.3.x on OS X), the corners don't work. So, file://path/to/test.html,
[jQuery] The format of xml response
The following is the interface file: <script language="javascript" type="text/javascript"> $(document).ready(function(){ $("a").click(function(){ $.post("ajax-post-handler.php",{ name: "John", address: "123 Main St." }, function(xml){ alert( $("name",xml).text() ); } ); return(false); }); }); </script> </head> <body> <a href="http://jquery.com/">jQuery</a> <div id="maindiv"></div> </body> </html> The following
[jQuery] The format of xml response
You are not sending down a Content-type: text/xml header, so the browser is interpreting your XML as plain text. To confirm this suspicion, change your alert to: alert( xml ); You want the alert to display something like [object XMLwhatever]. Instead, it will probably display the actual XML text. This indicates that it was interpreted as plain text. Adding the header will fix that. -Mike
[jQuery] date picker plugin update
Hi, I've just released some fixes to my jQuery date picker plugin which you can get from here: http://kelvinluck.com/assets/jquery/datePicker/ The fixes since I last announced on the list are: * You can now specify an end date - dates after this can't be selected ($.datePicker.setLastDate). * The markup required to use the plugin is now much cleaner. * You can now localise the plugin and change the language of the strings within it ($.datePicker.setLanguageStrings). * There is a fix involving an
[jQuery] Combining fade and slide
Hi all, I lost track with all the changes in jQuery. How can I combine fade and slide effects? Chaining like 'slideUp().fadeOut()' once worked but doesn't anymore, see the last example here: http://stilbuero.de/jquery/tabs/ Can somebody give me a little example? Thank you, Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Invalid pointer error on IE
There was a problem that an invalid pointer error occurs. The error occurs only in IE. The error did not occur in the same script in Firefox and Opera either. The problem seems to occur in the following parts when it is [[e.className ==""]]. src/jquery/jquery.js has: function(e,a) { if ( e.className ) e = e.className; return new RegExp("(^|\\s)" + a + "(\\s|$)").test(e); <-- Error occures in this line. I was able to correct it with the following patches. Index: src/jquery/jquery.js ===================================================================
Next Page