[jQuery] fadeOut for each
> I use $(".rounded").fadeOut(900) to nicely fade out > some elements.This is wrapped in a setTimeout() > thing so that it happens after 10 seconds. Looks like seven seconds, but anyway, you can use :visible in the selector to avoid the each: window.setTimeout(function() { $(".rounded:visible").fadeOut(900); }, 1000*7); If you can narrow down the selector a bit more (like div.rounded) it would be more efficient. The way it is now, it will have to look at every element in document.body to determine
[jQuery] Another tablesortable question
Using the rebind, the table now also sorts correctly after a value change (see post http://www.nabble.com/TableSorter--%3E-reinitialise-tf2661122.html ) However, the first column in my table shows a delete icon, clicking on it deletes the row. Resorting the table makes the deleted row (I physically delete it from the DOM) reappear. Does anyone have an idea on how to fix this problem? Tx _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] siblings after a specified node
You misunderstood me, I just want to do something with x3 and x4, not all divs. (In a click() I want to hide all divs coming after the clicked div). -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Fazal Sent: Monday, December 04, 2006 1:30 PM To: discuss@jquery.com Subject: Re: [jQuery] siblings after a specified node Hi Nandi, you can use: $("#parent-element").find("div").each(function(i){ //do your stuff here } Fazal Kolman Nándor-2
[jQuery] siblings after a specified node
<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=iso-8859-2"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] My first jQuery project has reached open beta!
Hi, First a big thank you to everyone on this list that helped me with the problems I had and of course a really big thank you to John Resig and everyone that helped him on jQuery! I started with this project three weeks ago to learn jQuery and for that I think it came out pretty well. (If you wonder why the tool is already indexing for half a year, it's because I've taken that part from on older php project I never finished) Here's the link to the tool, it's a feed aggregator with some unique features
[jQuery] $(document).ready() .append
I got the following problem. With some diffuclties to explain. this is what it does. 1. in a table td you can click. 2. action: jquery look ID up in an array 3. .append the whole bunch of information in the page 4. This new information fadeIn. 5. This new data also has some buttons where jquery should respond on. Problem: jquery does not respond on the new .appended information. My guess is that the DOM and jquery does not yet know about this new data. So I need to do something to make sure that
[jQuery] jquery + application/xml
Hi all, a jquery ;) i wanted to at LI append to existing UL so: $("#menu").append("<li><a href=.......</li>"); Works fine in IE and Local in all others. This Site works online with Content Negotiation, will say FF or Opera and so ones become application/xml Now, is works not, not valid!!! See in inspector is a DIV involved??? <div ........><li><a href=........ i have say LI not DIV!? What is to do? -- Viele Grüße, Olaf ------------------------------- olaf.bosch@t-online.de http://olaf-bosch.de www.akitafreund.de
[jQuery] Slider with jquery?
Can anyone tell me if theres a slider plugin for jquery? Thanks in advance. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Non-website usage: Twadget
Just thought I'd send this out in case anyone's interested. I've used JQuery as part of a Windows Vista sidebar gadget I've built called Twadget (http://arsecandle.org/twadget/). It's a gadget that allows you to follow your friends' statuses (and update your own) on the rawkin' Twitter.com Since Vista gadgets are just zipped up HTML+Javascript, JQuery's a natural choice. It made event-handling and smooth UI effects a piece of piss. (Only downside? Twitter's API uses HTTP Auth, which JQuery doesn't
[jQuery] Window Size
Is there a jQuery way to get the window size cross-platform, or should I be using the algorithm at: <a href="http://www.howtocreate.co.uk/tutorials/javascript/browserwindow">http://www.howtocreate.co.uk/tutorials/javascript/browserwindow </a><br clear="all"> -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] loading content and using events
Hello everybody, This question involves the following situation... The main html page has container divs that are blank. When the page loads, a javascript function called 'pageLoad();' is called. This function fills a blank div called 'top' with a form. It does this via .load('php/dspFrontPage.php') dspFrontPage.php contains... <? $toDisplay .= "<form id='submission_form'>"; $toDisplay .= "<input class='submission_firstSentence' type='text' name='firstSentence' /><br />"; $toDisplay .= "<input type='submit'
[jQuery] removeAttr() break in IE
Hi, I'm encountering a bug in removeAttr() method. Under IE, removeAttr's action doesn't work. You can test this in this page : http://gimp4you.eu.org/sandbox/js/test/removeAttr.html (jQuery 1.0.3) Mehdi. -- View this message in context: http://www.nabble.com/removeAttr%28%29-break-in-IE-tf2743948.html#a7655971 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Tooltip plugin update
Hi folks, just wanted to let you know that I updated the tooltip plugin. A quite often requested feature, repositioning of the tooltip when at the right or bottom or borders, is now included. Details, demo and documentation can be found here: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ Have fun. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Designing for reuse
This will be a short thread--NOT! :-)
[jQuery] Designing for reuse
I'm using a grid plugin that I created based on what I've seen of other plugins. The grid method is added to jQuery and I can create a grid like so... var data = [['a', 'b'],['c','d']] $('#grid').grid({ data: data }).show() Later, I'm going to need to control the grid... $('#grid').scrollToRow(6).highLightRow(6) It seems like a terrible idea to add these methods to the jQuery object, when they are only going to apply to an element that has become a grid. Two ideas to keep things looking like jQuery..
[jQuery] html() returns different val in Firefox and IE?
I encountering some strange inconsistencies between Firefox and IE in regards to the .html() method. In Firefox everything's working fine - but in IE, the previous html gets returned. An example would explain the problem best: I have html like this: <div id="editTogle"></div> <div id="viewToggle"><span id="aboutYou">text to change here</span> | # edit </div> I use the outer div to hide everything in it, and the inner span to change only the text within it. So, my script looks like this: //hide view
[jQuery] Reading comments from the dom.
Although we rarely want to pay any attention (programmatically) to the comments in the html, I thought it would be cool to read them in jquery. They are in the dom, obj.nodeType == COMMENT_NODE. But jquery just skips over that node type. I could imagine doing $('a').prevComments() or $('a').nextComments() or $('a').Comments() A plugin could drop down to simple dom navigation to get the info and then return the text. Has anyone done this? Does it sound useful to anyone? <br clear="all"> -- Ⓙⓐⓚⓔ -
[jQuery] html() returns different val in Firefox and IE?
> Alright, here you go:
[jQuery] a new website with jQuery
or, a rather old website (founded circa 1994) that has launched a new version, jquery-ed. http://www.monde-diplomatique.fr/ thanks John, Jörn and all jQuery is credited @ http://www.monde-diplomatique.fr/diplo/logiciels/ -- Fil _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] MyDayLite (to-do list) release. All files included.
I originally showed this 3-4 months ago in its very early stages. I've been working on it periodically and using it everyday since then and I think its finally to a stage where I can release it. I'm not a rockstar PHP or JS programmer... I'm sure there are areas that can be optimized so be nice :) jQuery has a great community and new plug-ins are coming out everyday and I want to contribute back. So below you'll find a zip file containing everything needed to install this app on your own server.
[jQuery] IE7 native xmlhttp breaks load() ?
Hey all, Sorry if this is a tired issue, I swear I did my best to search for it. I'm using load() to do some ajax content, but it seems to be broken in IE7. However, if I disable "Native XMLHTTP Support" in IE prefs, it works fine. The page is http://www.telltalegames.com/samandmax (although some of the other Javascript in there is a nightmare, for which I apologize... a cleanup is in the works), but this should be the relevant section: // First we fade out the box $('#ajax_episodebox').fadeOut("normal",function()
[jQuery] Corner plugin added to SVN
http://jquery.com/dev/svn/trunk/plugins/corner/jquery.corner.js?format=txt This latest version fixes the problem with fixed-height divs. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] html() returns different val in Firefox and IE?
> Again, this is working fine in Firefox, but not in IE - so I
[jQuery] Window Size
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=760183122-01122006><FONT color=#0000ff><FONT color=#000000>> Is there a jQuery way to get the window size cross-platform,</FONT></FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=760183122-01122006><FONT color=#0000ff><FONT color=#000000>> or should
[jQuery] Using .addClass() to add dynamic class not for CSS
If the spider allows for JS code, then yea it should be fine, but I don't know of many spiders that do more then look at the raw text of the file and then index it. I'm not familiar with MicroID so I really can't answer. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of digital spaghetti Sent: Friday, December 01, 2006 12:50 PM To: jQuery Discussion. Subject: Re: [jQuery] Using .addClass() to add dynamic class not for CSS Yea, I figured it
[jQuery] Cookies Redux
I began to rework some old cookie code when Klaus released his great and tiny cookie utility (see http://jquery.com/plugins/), so I put mine back on the shelf. Over the last couple of weekends, I pulled my code back out to make it available anyway. The next step, if I continue with this, is to reduce some of the verbose code. You can see my cookies.js and cookieJar.js as http://www.dmlair.com/jquery/jqCookies/. BTW: The demo page uses jQuery, but the cookie libraries do not. -- View this message
[jQuery] modalContent Plugin 0.7
I've released the very-quickly incremented modalContent plugin which is now at 0.7. This release fixes bugs, adds animations to the display of the modalContent and an unmodalContent() function which can turn off the modalContent when using ajax or what not. The file size (6.2K) is based upon heavy whitespace and comments. I'm working on a comment-less version to cut down on file size and will offer both on the page. The demo and download is available at <a href="http://jquery.glyphix.com" target="_blank"
[jQuery] Hover over div layers
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28"> <TITLE>Hover over div layers</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I posted on Answers.Yahoo.com and was told jquery is the best tool for making links that show a hidden div layer.</FONT> </P> <P><A HREF="http://answers.yahoo.com/question/index?qid=20061201095722AAvfws3&r=w"><U><FONT
[jQuery] My ThickBoxMod
Hey guys, Just thought I'd throw my ThickBox files up here. I've made many, if not most, of the changes posted here for improvements and enhancements, as well as a few of my own. I've tried to credit and comment where ever I've made changes, but I'm sure I've missed a few of these. Anyway, it's pretty ugly with all the commented out code and notes, but I wanted the changes to be visible. I decided to give it to the group in case, with the changes, some more refinements could be made. 6k packed as
[jQuery] Using .addClass() to add dynamic class not for CSS
You want to look at the Generated Source, not the normal Source FF started with. FF doesn't update that view as JS changes are made, so it's pointless to check that. Firebug or the Web Developers Toolbar would help you out a lot. -ALEX -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of digital spaghetti Sent: Friday, December 01, 2006 6:51 AM To: jQuery Discussion. Subject: Re: [jQuery] Using .addClass() to add dynamic class not for CSS Paul,
[jQuery] Hover over div layers
> I posted on Answers.Yahoo.com and was told jquery
[jQuery] fadeOut for each
I use $(".rounded").fadeOut(900) to nicely fade out some elements. This is wrapped in a setTimeout() thing so that it happens after 10 seconds. If someone has already manually closed one of the elements, I have to use this code:: window.setTimeout(function() { $(".rounded").each(function() { if(this.style['display']!='none') $(this).fadeOut(900); }) }, 1000*7); What do more experienced jQuery people think about that approach? Is that the easiest way to do it? -- Peter Bengtsson, work www.fry-it.com
[jQuery] Parameters truncated after $.post
How is your data parameter formatted in the $.post call? It should be an object of key/value pairs rather than a request uri string like 'key=value&key2=value2'. m. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Christoph Baudson Sent: Thursday, November 30, 2006 8:23 AM To: jQuery Discussion. Subject: [jQuery] Parameters truncated after $.post Hi there, in my script I'm trying to send an 80KB String via $.post, but somehow I only receive
[jQuery] Using .addClass() to add dynamic class not for CSS
Hey folks, I am working on a Microcontent module for Drupal that uses jQuery, but I cannot seem to get that functionality to work. I need to ask, does .addClass actually add class text to a tag, or is it just applying it in the background. To explain, my code looks like this: $(function(){ $("div[@id*=node]").addClass("microid-' . $hash . '") }); Now, $hash is generated from hashing the users email and homepage url. When I add the JS to drupal_add_js, this is how it outputs, so I know this bit is
[jQuery] iFxTransfer problem with IE
Hi, I meet a problem with the ifxtransfer plugin. It doesn't work with IE7. COuld you help ? el.TransferTo( { to: 'd_' + el.attr('id'), duration: 500, complete: function(to) { $(to).click(deleteFromSelectedCategories).Pulsate(100,2); } } ).Puff(400); This returns me an error in Jquery on es=e.style. Thanks for your time. Nerique -- View this message in context: http://www.nabble.com/iFxTransfer-problem-with-IE-tf2718478.html#a7579660 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] modalContent Plugin 0.7
>> You could reduce the code by using switch Switch usually ends up being vertical code, lookup tables are often shorter and faster. In Javascript, switch is just a nice-looking form of if-then-else. > modalContent.top(mdcTop + 'px').left(mdcLeft + 'px'); > switch(animation){ > case 'fade': > modalContent.fadeIn(speed); > break; > case 'slide': > modalContent.hide().slideDown(speed); > break; > case 'show': > modalContent.show(); > break; > } If you had the user define the animation effect in terms
[jQuery] MyDayLite (to-do list) release. All files included.
Sorry for the long email but I enjoy thinking about and tweaking interfaces to make them easier to use so that's why I seem to just go on and on. If you're not interested in this kind of thing or take offense with constructive criticism then you should probably stop reading now. :) On Wednesday, November 29, 2006 10:37 PM Juha Suni <> said:
[jQuery] fadein/fadeout flicker in ie6
Hey all, I am putting together this site http://ierev.informationexperts.com/ http://ierev.informationexperts.com/ and I am having issues with flickering in ie6, If you click on the lop right "extranet login" and on any of the title bars, eg. "on our minds","portfolio", you will see the flicker. Things look good in FF2 but not so much in ie6 Thanks -- View this message in context: http://www.nabble.com/fadein-fadeout-flicker-in-ie6-tf2733149.html#a7623967 Sent from the JQuery mailing list archive
[jQuery] Communicating with PHP
Im trying to get javascript and php to communicate...Ive got a sortable list (using Interface and jQuery) and I have a serialize function running to check updates to the list. This serialized hash is returned as so: "sort_me[]=sort9&sort_me[]=sort10"....and so on. What I want to do is send that string to a php file (using jQuery's load() function) and have the php script get the order of the elements (sort9, sort10, etc) and insert them into a MySQL database. The problem is that the hash from jQuery
[jQuery] tableEditor plugin Updated : Add new rows
On Thursday, November 30, 2006 1:28 PM Brice Burgess <> said:
Next Page