[jQuery] Possible to intercept enter/return key?
<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] jEditable on blank field
I'm using Mika Tuupola' great jEditable plugin to replace my homegrown edit-in-place implementation. I've run into a snag when editing blank fields. When I have a field (a div, not a form field) that's blank, I stick a in it so the div will still show up. In my implementation, I made the input box empty if the field only had " " in it. jEditable doesn't seem to do this, so the field starts out with " " in it, which isn't ideal. With no onEditStart type event, I can't even fix it
[jQuery] LiteBox in jQuery
I know about ThickBox. :) Look at this version of the concept: <a href="http://www.doknowevil.net/litebox/">http://www.doknowevil.net/litebox/</a> I am looking for a jQuery version of this. With the smooth transitions, and the next/back buttons. I thought I saw one a while ago, but I can't find it. Also, to ThickBox developers. I can not for the life of me figure out how to make transitions. I need cut/paste examples. :( Glen
[jQuery] jQuery dimScreen
http://docs.jquery.com/Plugins/dimScreen#Example I'm having difficulty getting this to work. It seems pretty straight- forward to me... I took the example and tried it via Firebug, but nothing happened. Any thoughts?
[jQuery] Problem accessing jQuery Documentation website
Oh my.. http://groups.google.com/group/jquery-en/browse_thread/thread/2fb8eb9152b705ef It's happening again today (2007-06-12 09:45Z). I got the message "jQuery JavaScript Library has a problem" over at Documentation (http://docs.jquery.com/). The main site (http://jquery.com/) isn't affected currently. Anyone have any idea what's wrong and for how long? Best of luck to those who's trying to fix it. -Michael-
[jQuery] jquery documentation as xml?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=687110610-12062007><FONT face=Arial size=2>Hello friends,</FONT></SPAN></DIV> <DIV><SPAN class=687110610-12062007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=687110610-12062007><FONT face=Arial size=2>i'm considering developing a small standalone app to
[jQuery] jquery.com is down
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=531394912-12062007><FONT face=Arial size=2>For your information, the jquery.com server is down, since a few hours.</FONT></SPAN></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Hope it's no<SPAN class=531394912-12062007>thing</SPAN>
[jQuery] Autcomplete function help
<!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.6000.16441" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I need to make some things when a value isnt given back in the autocomplete, i mean, when the input loses the focus (blur), to make certain tasks, but does not exist a function in the class for it, where I can implement a species
[jQuery] Slightly OT: javascript and AJAX response 'concurrency'
I have a function which generates an AJAX request to retrieve information. The display of this information requires modification of the interface - the structure of the function is roughly: <br style="font-family: courier new,monospace;"> <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; font-family: courier new,monospace;" class="gmail_quote">function getInfo() { do AJAX request, success callback is onAjaxResponse setup interface to
[jQuery] :contains - a bit more specific?
I have some layers, each of this layers has a span tag with a username. Now, I want to append some code to each layer that has a span which contains 'test'. The code I tried is: $("div.commentfooter[span:contains('test')]").append('class'); But that also appends 'class' to layers that have a span tag containing 'testman' or 'tester'. What do I need to change to only select those layers that have a span tag that contains the word 'test' and only this word? $("div.commentfooter[span:is('test')]").append('class');
[jQuery] IE7 and WinXP
Hi all, I have a simple page with some options and an ajax call made to update a div based on what options were chosen. This is on our intranet so only have to worry one browser (IE). This worked fine on windows 2000 pro and IE6; however since we got new computers with winxp and IE7, the ajax bit just doesnt happen. I played around with the internet & security settings - however nothing worked. Anyone else encountered similar issues ? Thanks T -- View this message in context: http://www.nabble.com/IE7-and-WinXP-tf3906311s15494.html#a11075131
[jQuery] textNodes Plugin 0.1
a set of plugins to work with textNodes inside the dom. <h1><acronym title="bastard jQuery text children">textNodes</acronym>() & replace() & split() & span() & <acronym title="the method that adds acronyms to a jQuery"> acronyms</acronym>() & more! </h1> get it here: <a href="http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/">http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/</a> <br clear="all">see it here: <a href="http://cigar.dynalias.org/plugins/textNodes/textNodes.html">http://cigar.dynalias.org/plugins/textNodes/textNodes.html</a>
[jQuery] Show hide div with cookie for remembering position -- possible solution
Hi all, After searching for a solution to my subject and not finding it, I've put together my own, which while working, feels rather long to me, and as more of a designer/themer, I'm wondering if this is the optimal code from a developer's point of view. I'm using the excellent jQuery cookie plugin for the cookies. Here's my jQuery code: <code> $('a.show').hide(); $('a.hide').click(function(){ $(this).hide(); $('a.show').show(); $('h2.title').hide(); $('.view-header-latest').hide();
[jQuery] jquery is'nt very effective at execution
http://fra.orkos.com/produits/tarifs.aspx Here is a page which I made. This page presents a list of products classified in a hierarchy. I have a textbox that allows the user to filter these products. Try to type a text in this textbox (for example the word "apple") and observe the speed of filtering. If you have a sufficient screen resolution you can also see that the hierarchy at left hand side is filtered at the same time. The only problem is that I need a hundred lines of script to do this...
[jQuery] Noob here, please help
Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list...
[jQuery] more problem, more problem with autocomple
<!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.6000.16441" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff background=""> <DIV><FONT face=Arial size=2>Why, if any1 can tellme, autocomplete post this with this encoded type</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2></FONT> <DIV><BR><FONT face=Arial size=2>Headers<BR>Response
[jQuery] Jquery similar to twinhelix's supernote js
Anyone familiar with: http://www.twinhelix.com/dhtml/supernote/demo/ IS there a similar jquery functionality or plugin, I looked at what I could find yesterday. Something that just provides a clickable popup, almost like a tooltip for any hyperlink. Thanks for any suggestions. There's nothing wrong with the twinhelix item's it's just if it's jquery-ized it would probably save bandwidth and be compatible with my other scripts for sure, like innerfade that will be used on this site.
[jQuery] Trouble updating divs with Ajax
I just can't get my head around this one. This Javascript function gets called everytime user submits a query through a form. It loads a Google Map, and also tries to update a div with results from Ajax query. All this is done in the callback-function. The GMap part works well, it loads some markers on the map, but the div is updated with the same text everytime, regardless of the Ajax query response. What am I doing wrong here? function loadMap(query) { if (GBrowserIsCompatible())
[jQuery] IDEA: Plugin Registering
I just had an idea, and thought Id share. Imagine <a href="http://plugins.jquery.com">http://plugins.jquery.com</a> Besides listing all the plugins with ratings and everything (the usual)... You could REGISTER your site as using a particular plugin. So when there is a new version, I would receive an email saying, "Hey, you use this plugin and you might want to upgrade. It has the following enhancements." Right now, I can't keep track of all the plugins I've used and what version they are. What is
[jQuery] Weird IE behavior - need help
Hi jQuery community, I've written a complex jQuery table plugin wich supports different selection models (single, multiple, exclusive), nested/hierarchical tables (like a tree) etc. Everything works well, but now - while the application goes testing by some clients - I stumbled by an very ugly performance issue in IE. The problem appers only on IE machines - very remarkable on slower lowend hardware. Anyway FF and Mozilla is fine at all. For an easier problem tracking I've extracted the problematic
[jQuery] Macrumors running live udpates of WWDC
Macrumors.com is running a "continuous" AJAX update of the keynote address of WWDC. No more "update in 60 seconds" countdown.
[jQuery] Form with multipart/form-data not working
Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype="multipart/form-data" from the form tag it works. Here's the code... <script type="text/javascript" src="/code/jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#loading').hide(); $('#product_code').blur(function() { $('#loading').show(); $.post("checkproductcode.cfm",
[jQuery] block plugin
I use the block pluggin in my App. I have a Page with this structure: <div> </div> <div id=iframe> <iframe> </div> if I execute the blockUI action in the iframe content only blocks the iframe window... I would like to block the main window.... in order to block all the screen? Any idea¿?
[jQuery] keycode javascript conversion to jquery
Hi all, I'm looking to convert an old javascript function to jquery. It simple captured the keycode event 13 (user pressing enter on the keyboard) if the user hits enter it initiates the action of clicking a button. I want to try jquery because no matter what I do with regular javascript, the keycode never get properly initiated in firefox. I was wondering if any of you could suggest the best method using jquery so it works with both firefox 2 and IE6/7 Current javascript: /* for enter key to initiate
[jQuery] waiting for a request to complete
Rob suggested:
[jQuery] optimization help
I am currently working through a script that at the moment works just fine but where there are some performance bottlenecks that I am trying to reduce. It works with acceptible speed when dealing with 40 or so elements but in practice the system could be dealing with hundreds so every ms I can scrape off the execution time will help. There are two sections I am focusing on in particular. One is my initialization function, the other is part of a loop which processes elements based on the value of
[jQuery] waiting for a request to complete
Rob
[jQuery] NEWS: TARR: Tabbed Ajax RSS Reader
Marc Stroz has created a new Joomla module which serves as an Ajax reader. He built it by leveraging jQuery, EXT and the simplepie xml parser to display different feeds in a tabbed format. Ajaxian has a nice writeup here: http://ajaxian.com/archives/tarr-tabbed-ajax-rss-reader The direct link is here: http://www.stroz.us/php/ Its great to see Joomla getting some jQuery love. Rey -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com
Help Test jQuery 1.1.3
Hi Everyone - A test build of the upcoming 1.1.3 release is ready for everyone to try. We need to be super-sure that there haven't been any regressions in this release, and in order to do that we'd like you to download this alpha release and try it in place of jQuery 1.1.2 (wherever you may be using it). Download the test release: * jQuery 1.1.3a (Uncompressed, Test Release) http://code.jquery.com/jquery-1.1.3a.js Here's what you can do to help: 1. Download the test release of jQuery 1.1.3 2. Temporarily
[jQuery] Interface Sortables
Hi, Say I've got this list: <ul id="sortable"> <li id="element1">stuff</li> <li id="element2">stuff</li> <li id="element3">stuff</li> </ul> Using Interface sortables I want to get a comma separated list of list item IDs after I've done some dragging. Say I've been doing some dragging and it's now: <ul id="sortable"> <li id="element3">stuff</li> <li id="element1">stuff</li> <li id="element2">stuff</li> </ul> I can use SortSerialize but this gives me the POST-ready version.
[jQuery] jCarousel flicker in FF 2.0
I'm trying to implement jCarousel (0.2.0-beta) and am having trouble with it in Firefox 2.0/Win XP.... http://www.homefront.tv/clients/gephardt/build/flicker.html After the slide effect, there's a flicker of white. I don't have the same problem in IE 6 or 7. I'm using the most up to date version of jQuery I can. Any ideas on how to fix the flicker?
[jQuery] waiting for a request to complete
I'm calling $.post to send some text back to a web server, where it gets logged. The function is something like this: function send_message(msg) { var params = {}; params['my_message'] = msg; $.post("/myhandler.php", params); } It calls a php page that appends it to a log. If I view the log in real time with tail -f log.txt, I can see the messages. The problem is that if I set up a page to send 5 messages, they aren't being displayed sequentially; I might see them in the order 2,1,4,3,5 -- and the
[jQuery] update input text when tick radio
Hello, is it possible to update a <input type="text"> when you tick a <input type="radio" name="1" value="10.00"> ? Basicly I will have a bunch of radios and when you tick it, it shoud update the input with the value of that radio that the user ticked. Thanks in advance.
[jQuery] ImageStrip and newer jquery library
Hi, i'm using this plugin : http://blog.joshuaeichorn.com/archives/2007/01/11/jquery-image-strip/ It works well with an older version of jquery (1.0.4) but when i try to use it with jquery 1.1.2, it tells me that.. Erreur : this.image.left is not a function Ligne : 30 Here is the line 30 : var left = this.image.left(); What can i do.. ? Thanks
[jQuery] [ot] String.split in Opera.
javascript:alert("hello there Opera".split(/\b/).length) Firefox says 5 , safari says 6, Opera says 15! it really got me confused while writing some jQuery code! now I use $.browser.opera ? /(\s+)/ : /\b/ ; instead. Ouch, I didn't realize there was that much of a difference!
[jQuery] Selector Help - hover and dblclick
In a table like this: <table id="choices-table" border="1" width="75%"> <tr><th>Item</th></tr> <tr id="row-1"><td>One</td></tr> <tr id="row-2"><td>Two</td></tr> <tr id="row-3"><td>Three</td></tr> </table> I want to highlight the rows when hovered. I also wan't to set a different background color on the row when double clicked. I have the following jquery code: $(document).ready( function() { $("tr[@class='']").hover( function(){ $(this).addClass('hilite');
[jQuery] jquery is slow at execution
http://fra.orkos.com/produits/tarifs.aspx Here is a page which I made. This page presents a list of products classified in a hierarchy. I have a textbox that allows the user to filter these products. Try to type a text in this textbox (for example the word "apple") and observe the speed of filtering. If you have a sufficient screen resolution you can also see that the hierarchy at left hand side is filtered at the same time. The only problem is that I need a hundred lines of script to do this...
[jQuery] Even Dojo site uses 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] More Superfish menu examples
Hi friends, I just created some more demonstrations of using Superfish to enhance different types of menus. The new examples are linked to from my original demo page, under the heading "Other menu examples". Here is the URL with a hash appended to take you straight to the new links: http://users.tpg.com.au/j_birch/plugins/superfish/#otherExamples I wanted to show how different styles of menus can be created with a few small CSS changes. The secret to creating new Superfish menus seems to be to get
[jQuery] Use a link to submit a form w/ the form plug-in
I'm wondering if it's possible to use a text link to submit a form that has a unique id? I'm using the Official form plug in (http:// www.malsup.com/jquery/form/) which is great, aside from me not being able to figure this out. (= Here is the code I'm using <php start loop> <script type="text/javascript"> <!-- $(document).ready(function() { $('#deleteForm<?=$comment['commentid']?>').ajaxForm({ target: '#editor-response', success: function() { $("#deletemsg<?=$comment['commentid']?
Next Page