[jQuery] JumpMenu Revisited: ver .01
The explanation and code is here: <a href="http://www.brianlitzinger.com/code/jump/">http://www.brianlitzinger.com/code/jump/</a> Most of the bugs have been worked out. Let me know what you think. Thanks to John for some code improvements. Brian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] iBox
http://www.ibegin.com/blog/p_ibox.html Thought it would be good to share this. Found it via digg. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Greasemonkey + jQuery?
Hi there Leandro, I used jQuery for Greasemonkey in the following script. Feel free to just cut and paste the code for your own use. The only issue was with the $(document).ready function (which you don't need since greasemonkey won't run the script till the document is loaded). http://userscripts.org/scripts/show/4217 ~Sean _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Tetris
Hi all, I saw what Dustin Diaz did with YUI (<a href="http://www.dustindiaz.com/yui-tetris/">http://www.dustindiaz.com/yui-tetris/</a>) to build a Tetris from scratch and wondered how it could be done with jQuery. So, I began to code... and here it is: <a href="http://fmarcia.info/jquery/tetris/tetris.html">http://fmarcia.info/jquery/tetris/tetris.html</a> Unpacked code here: <a href="http://fmarcia.info/jquery/tetris/tetris.js"> http://fmarcia.info/jquery/tetris/tetris.js</a> About the size (once
[jQuery] Problem with thickbox
Hi! On every page i get this error (from firebug): event has no properties - jquery.js (line 723) which points to fixEvent(event) function. Thickbox sometimes works, sometimes it works after reloading the page, it's really strange. There's also some js code from google and on the page itself, but i didn't write and i don't know if it could cause this problem. Setting breakpoint on thickbox TB_init method doesn't trigger anything so it's not being initialized at all. Do you have any idea what can
[jQuery] Find next element after (follow up)
Thanks for the code suggestions, though I had to use the wrapInner plugin to get the <a> in there properly(seems to be the only way IE will make the entire width an active hit area). I just stumbled upon the li+ part when nothing else was working. Fortunately it did exactly what I wanted it to. Is this a feature? I updated the page with the new code and a few comments. So far the biggest bug I've found is that the menu doesn't hover over the content below it like a real select list does. Instead
[jQuery] Inserting DOM objects with "after"
Hi, I am trying to add a cloned select box using the following syntax but I just get options added without the containing select. var addclone = $('#toclone').get(0).cloneNode(true); addclone.id = 'newid'; addclone.name = 'newname'; $('#afterme').after(addclone); Is this a bug or am I misunderstanding how it should work. Thanks Rob _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] discuss Digest, Vol 6, Issue 71
Dear Sender, This is an automated response to let you know that we have received your email. You should normally receive a response within 2 working days. The receipt of this automated response is no guarantee that we have read, understood, or agreed to the content of your email. Our office hours: Monday to Thursday - 08:00 to 17:00 / Friday - 08:00 to 16:00. We are closed on Saturdays, Sundays and Public Holidays. Regards, Homegel Creative _______________________________________________ jQuery mailing
[jQuery] Find next element after (follow up)
After thinking more about what I was trying to accomplish I think I came up with a better solution to my problem. I'm currently developing a university site that will have 20 or more people editing their respective content with Macromedia Contribute, so I'm using jQuery to simplify some common tasks such as pop-up windows, div toggling, alternating table row colors etc etc. The users only have access to CSS classes when editing a document, so adding JavaScript functions is out of the question. I've
[jQuery] discuss Digest, Vol 6, Issue 70
Dear Sender, This is an automated response to let you know that we have received your email. You should normally receive a response within 2 working days. The receipt of this automated response is no guarantee that we have read, understood, or agreed to the content of your email. Our office hours: Monday to Thursday - 08:00 to 17:00 / Friday - 08:00 to 16:00. We are closed on Saturdays, Sundays and Public Holidays. Regards, Homegel Creative _______________________________________________ jQuery mailing
[jQuery] Interface Sortables - Bug
Attn Mr Interface :) When using the Sortables plugin in a browser window that is scrolled partway down the document, the draggable item wants to drop in the wrong place. Have only tried this in Firefox 1.5+ See attached image. Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Find next element after
Is there a way to find the immediate next element after an element in question? For example my HTML is: <p class="foo"><a href="#">link</a> <ul> <li>text</li> <li>text</li> </ul> What I'm trying to do is target and show the first and only <ul> after the link in p.foo has been clicked. I'm trying to do this without giving the <ul> and id, and there might be multiple combinations of these on the same page. Any ideas? Thanks. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Search a multi-row Select list
Does this use onKeyUp? I see it doesn't. I think the idea I am after is for the 800 items in a Select List to be filtered quickly by typing ST in the QuickSearchbox and the Select list is updated onKeyUp? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Christof Donat Sent: Monday, June 19, 2006 3:48 PM To: jQuery Discussion. Subject: Re: [jQuery] Search a multi-row Select list Hi,
[jQuery] Using Xpath to get row by value?
WHen i try that i get "a.innerHTML has no properties", which Firebug says is occuring on line 570. But sue to the somewhat abstract nature of the jquery source, i cant figure out exactly what its trying to do. Perhaps the error is due to the fact its XML and not HTML DOM (ie: lack of innerHTML)? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin thoughts (IsBrowserSupported)
> 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. Just thinking out loud here... Binary isn't expressive enough for what you need to know. There are shades of difference in the support jQuery can offer for each browser, and some of the independent plugins have different requirements or limitations above that. Also remember that
[jQuery] save dom element for later
<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] Using Xpath to get row by value?
<div> <span style="font-size: 10pt; font-family: Arial;">I have an xml (via ajax), and I need to get an exact row based on the value of an entry. I can't seem to find the exact method of doing it (if its even possible). The xml looks like:</span> <span style="font-size: 10pt; font-family: Arial;"> <po_detail_line></span> <span style="font-size: 10pt; font-family: Arial;"><span> </span><po_line_id>252</po_line_id></span> <span style="font-size: 10pt; font-family: Arial;"><span> </span>….</span>
[jQuery] jQuery Plugin: ToolTipDemo
This plugin replaces the native tooltip in browsers. Serves more as a demo (adding elements, applying css, getting mouse coordinates) than a practical plugin (but still can be used as one) - plus there is also the one provided at http://www.eyecon.ro/interface/. It takes into account 'alt' as well as 'title' (I know alt shouldn't be used as a tooltip, but people do use it). http://sam.collett.googlepages.com/tooltip.html _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] window.onload @ dean's blog!
<!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="#000000"> <font size="-1"><font face="Tahoma"><a class="moz-txt-link-freetext" href="http://dean.edwards.name/weblog/2006/06/again/">http://dean.edwards.name/weblog/2006/06/again/</a> </font></font><i>"It looks like jQuery will be the first library out there with a genuine solution to this problem."</i> Now is this
[jQuery] discuss Digest, Vol 6, Issue 69
Dear Sender, This is an automated response to let you know that we have received your email. You should normally receive a response within 2 working days. The receipt of this automated response is no guarantee that we have read, understood, or agreed to the content of your email. Our office hours: Monday to Thursday - 08:00 to 17:00 / Friday - 08:00 to 16:00. We are closed on Saturdays, Sundays and Public Holidays. Regards, Homegel Creative _______________________________________________ jQuery mailing
[jQuery] Latest SVN (93) broken?
<!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">Hey, Where are all the form functions in the latest SVN? Ajax.js is a lot smaller and a lot of code seems to be "missing"... Regards Gilles </font></font> </body> </html> _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Help with parent in dropdown problem please?
Hi Mark. Try adding the following code to your css. #nav li.sfhover a , #nav li ul li.sfhover a, #nav li ul li ul li.sfhover a ,#nav li ul li ul li.sfhover li a:hover { background:#ECE3C0 url(images/bg_selected.gif) repeat-x top left; border-left:2px solid #D2908E; color:#fff; } #nav li.sfhover li a, #nav li ul li.sfhover li a, #nav li ul li ul li.sfhover li a { background:#ECE3C0 url(images/bg_l2.gif) repeat-x top right; border-left:2px solid #fff; color:#000; } ~Sean _______________________________________________
[jQuery] Namespaces
Hi Does jQuery allow me to reference elements in a specific namespace? eg $("namespace|element") Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] how to check if is running inside a frame or iframe?
Hi, I need to know how to recognize if my script is running inside an iframe. I've tried a bunch of xpath but I can't find the right solution. My problem is that I want to execute the jquery code only when it's called by the main frame. An idea? thanks _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Help with parent in dropdown problem please?
Hi all, I've been working on a drop down nested menu for a few days now on and off. I've got them pretty much doing what I want, except I need the selected path to show. For example if I have a menu with a "three deep" menu and I make a selection in the deepest menu, I want the elements in the parent menus to stay highlighted all the way to the top. For the life of me I can't get it to do anything remotley like I want. An example is at http://www.markpanay.com/test/jq/menu.html Can anybody help?
[jQuery] Search a multi-row Select list
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>Search a multi-row Select list</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT FACE="Times New Roman"><form name="carrRequestForm" style="margin-bottom: 0px; margin-top: 20px;"><BR> Quick Carrier Search: <input type="text" size="60" name="search"/><BR> <select
[jQuery] Custom Expressions / shortcut for hover.addClass,
It is linked. From http://jquery.com/ to (from the top nav) http://jquery.com/docs/ to http://jquery.com/docs/base/ from the list of sections. Then in a paragraph in the middle of the page in the sentence "The most basic use of this function is to pass in an expression" click expression to get to http://jquery.com/docs/BaseExpression/ from there.. click custom expressions http://jquery.com/docs/CustomExpressions/ I only write all this out because it proves points on both sides. The documentation
[jQuery] Div property
Hi all, I use wrap for <img src="..." class="dropshadow">. $(".dropshadow").wrap("<div class='wrap1'></div>"); .wrap1 css : Just float:left and background. And, I want to change the margins dynamically... I can use : $(".wrap1").each(function(i) { And here, how to know width of div ? And modify <img>, <div>, etc... }); Thank you, Florian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Another Easy DOM creation for jQuery
Another Easy DOM creation for jQuery My jQuery plugin. $.dom = function() { var ret = [], a = arguments, e, o, i=0, j, jq = $(); a = a[0].constructor == Array ? a[0] : a; for (; i<a.length; i++) { if (a[i] && a[i].nodeType) ret[ret.length] = a[i]; else if (a[i].$jquery) for (j=0; j<a[i].size(); j++) ret[ret.length] = a[i].get(j); else if (a[i].constructor == Array) { o = $.dom(a[i]).cur; for (j=0; j<o.length; j++) ret[ret.length] = o[j]; } else if (a[i+1] && a[i+1].constructor == Object) { e = ret[ret.length]
[jQuery] New bug with css selectors in jQuery
Hi, I've just noticed that the behaviour of jQuery has changed somewhere between r29 and r88. I am using this snippet of code: $("link[@rel*=style]").each in my stylesheet switcher. This no longer works in the new version of jQuery. There is a simplified test page up here: http://kelvinluck.com/assets/jquery/test/test1.html (r29 - works) http://kelvinluck.com/assets/jquery/test/test2.html (r88 - doesn't) Thanks, Kelvin :) -- No virus found in this outgoing message. Checked by AVG Free Edition. Version:
[jQuery] jQuery on Rails
Hi all, Sorry for deluging the list with jQrails announcements. I've put up a wiki at <a href="http://wiki.visualjquery.com">http://wiki.visualjquery.com</a>. The blog is still at <a href="http://blog.visualjquery.com"> http://blog.visualjquery.com</a> The tracker is still at <a href="http://rails.visualjquery.com">http://rails.visualjquery.com</a> The visual jQuery docs are still at <a href="http://www.visualjquery.com">http://www.visualjquery.com </a> If you get a chance, and use rails, please
[jQuery] toogle a layer but change the link
Here's my problem: I want to add a layer to my site which can be shown or hidden via a link. So far so good. My problem is that I need to have the link which toggles the layer to be changed. When the layer is hidden the link should be like: <a href="#" class="toogle">Show layer</a> when the layer is shown it should be: <a href="#" class="toogle">Hide layer</a> Is that possible to do? My current code looks like this: $("a.toggle").click(function() { $("#infoLayer").toggle();}); Thank you very much,
[jQuery] zebra tables
<!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="#000000"> <font size="-1"><font face="Tahoma">Gosh i love jQuery ;) $('table.view tr:even').addClass('even'); :) </font></font> </body> </html> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] username and password parameters for XMLHttpRequest
Hi, I've been using jQuery for my projects and I'm loving it. Just would like to post a feature request... I'd be nice to have the username and password parameters for XMLHttpRequest built in the $.xml function, so that HTTP authentication requests can be made through ajax. AFAIK these params are generally supported. More info here: http://www.peej.co.uk/articles/http-auth-with-html-forms.html Thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Time for some sort of forum?
<!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="#000000"> <font size="-1"><font face="Tahoma">I was wondering if we could go to some sort of forum s</font></font><font size="-1"><font face="Tahoma">ince the "help me with ..." and "develop" questions become a bit to much to digest each day... There are certainly some disadvantages but also some advantages: - searching
[jQuery] Time for some sort of forum?
Personally, a forum would be great for those who wish to help others with "How do I do this?" type of questions, and move the development related stuff to the mailing list. It's a bit tough going through 200 post digests, especially with the level of quotes that come into play. There's nothing wrong with the newbie questions, as long as we have people who wouldn't mind spending some time to answer those questions. It also makes JQuery look like a much more active project with active support behind
[jQuery] zebra tables
This is way to sweet. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Sortables Question
Is there any way to turn OFF the "sortable-ness"? I've got a list of links I need to reorder, but before and after the sorting, the links should be functional... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Custom Expressions / shortcut for hover.addClass, removeClass
Choan mentioned the documentation on "custom expressions", found here: http://jquery.com/docs/CustomExpressions/ I like the custom selectors, I think they are very useful. The custom elements expression, on the other hand, are somewhat dangerous. What if I use the $() to retrieve an radio element from my xml data? Nothing gets selected, because jQuery searches for <input type="radio"/>? What if I want to select all input elements, but not select or textarea? And now for something completly different:
[jQuery] CSS features
<!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.2800.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=288175514-16062006><FONT face=Arial color=#0000ff size=2>Great!!</FONT></SPAN></DIV> <DIV><SPAN class=288175514-16062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=288175514-16062006><FONT face=Arial color=#0000ff size=2>Does the css
Next Page