[jQuery] .stop() bug?
here is my code: $('.heres_why').mouseover(function(event) { $('.join_reasons').css("left", (event.pageX - 235)); $('.join_reasons').stop().show("slow"); }); $('.heres_why').mouseout(function() { $('.join_reasons').stop().hide("slow"); }); Know if i mouseover and then mouseout halfway though the animation, it does stop and go back like it should. But then when i mouseover the object again, it only goes as far as i stop it before(in the case i explained, half way). Is this the excepted result?
[jQuery] When :"new tools to convert the documentation into the old XML format"
Hello all, Just one question : When : "new tools to convert the documentation into the old XML format". The new version of jQuery is great, but without doc xml .... clap, clap for the team Jquery. Forresst.
[jQuery] Older date selection in datapicker v2
I m using jquery date picker v2.Calendar starts from current date whereas i want to start it from jan 2007.Can anyone tell me how can i do this ? I tried few things in jquery.datepicker.js file bt nothing worked.Please help me out.
[jQuery] .click() issue in FireFox
I have rows of data that look like this <tr class="MainRow" onmouseover="this.className = 'Highlight';" onmouseout="this.className = 'MainRow';" onclick="addUnit(3);"> <td align="left">Battle Cobra C</td> <td align="left">1319 (0)</td> <td align="center"></td> <td align="center">40</td> <td align="center">5006750</td> <td align="center">Clan/Level 2</td> <td align="center">Upgrades</td> <td align="center">Present</td> <td align="center">Blood Spirit</td> </tr> I wrote a little method to add each
[jQuery] Need some help please - getting the name of the frame in which a page is currently loaded?
<!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.6000.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=996185519-12092007><FONT face=Arial size=2>I have a site which uses a frameset. I need to use jQuery get the name of the frame in which a page is currently loaded.</FONT></SPAN></DIV> <DIV> </DIV> <DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century Gothic">
[jQuery] jdMenu goes off the page
I am using jdMenu to implement new Add and Favorites menus for our application. However, the menu goes off the edge off the page. When I attempt to style it, the entire menu is moved. Is there a way to make the drop down portion stay right aligned with the page without moving the top-level element?
[jQuery] licensing for distribution
Do you offer any license for distributing jQuery? We have a community script in development and we wanted to add jQuery for the tabs design. Thanks, Geoffrey
[jQuery] New plugin - Lazy Load
Little something I worked on sunday. http://www.appelsiini.net/projects/lazyload Plugin which enables deferred loading (lazy loading) of images. In other words, images which are below the fold (far down the page not visible in browser) are not loaded before user scrolls down. This plugin should be useful with long pages which have lot of photo content. For example photoblogs. Demo pages is available. You might want to use Firebug or liveHTTP headers to better see what is happening. http://www.appelsiini.net/projects/lazyload/enabled.html
[jQuery] XSL Templating
Is there an option to apply XSL stylesheets to XML recieved via jQuery.ajax()? I have some templated xml which I'm loading but the stylesheets don't seem to be applied via an AJAX load. I always thought this was supposed to be done by the server, but I guess it's the browser...
[jQuery] [NEWS] I've never seen jQuery described quite like this before....
Ben Nadel is a bit of a character and he just described jQuery in a very unique way: http://www.bennadel.com/blog/949-jQuery-1-2-An-Unexpected-Surprise.htm Rey...
[jQuery] Superfish plugin fix for jQ1.2
I just updated a website to the all new jQ1.2 (Congrats on that great release!) and Superfish broke. After spending 30 minutes ruling out all other possibilities and a few broken gt(0) etc...... If found the problem Just replace the two instances of XPath selectors: ...li[ul]... with ...li:has(ul)... All is well after that. No biggie but I might as well save someone a few grey hair.
[jQuery] validate a form included via Ajax
Hi, I include a form via Ajax using thickbox like this: <a class="thickbox" href="#application.vPaths.ADMIN#i18n/task.cfm? height=200&width=300&modal=true&task=exportRb&mode=form&rb=#q.Name[i]#" title="Confirm export data"> The page called create a dynamic form in the thickbox win. Now my problem is validate the form: The normal syntax to bind the form to validation: $(document).ready(function(){ $("#addRbItem").validate({ errorContainer: $("#messageBox1"),
[jQuery] bind validation to an ajax included form
HI, I include a form with an ajax call: <form id="exportRb" class="cmxform" method="post"> <label for="expMailAddr">E-mail</label><input class="text" type="text" name="expMailAddr" value="" /> <input type="submit" class="submit" value="Export"/> </form> The form is displayed in a thickbox. Now I tried to ue the validation plugin(loaded in the calling page) adding to form tag: onubmit="setValidation(this)" and with this script inline: function setValidation(this){ $this = this; $(this).validate();
[jQuery] position in selector
I have the following code $('a').click(function() { console.log('anchor'+ pos+' in page); }); I'd like to be able to get the matched position number (pos) of each element found, so if my page has 5 anchor tags, if i click on the first a element in the page, its pos would be 1 (or 0), etc.
[jQuery] Animation bug in 1.2
Url in question: <a href="http://benjaminsterling.com/experiments/jqGalViewV2/">http://benjaminsterling.com/experiments/jqGalViewV2/</a> At about line 87 and then again at line 91 I have the following: $holder.animate({marginTop:-($mainImgContainer.height()*index)},'1000', opts.tnease); Depending on the link at bottom clicked, the marginTop gets set to what ever $mainImgContainer.height()*index adds up to, but with a minus infront. So if you click on eight you get -2492. And when you clicked 7,
[jQuery] jQuery and Acceptability
Came across this article today and thought it would be useful to those die hard accessibility guys: <a href="http://alastairc.ac/2007/08/usability-enhancements-with-javascript/">http://alastairc.ac/2007/08/usability-enhancements-with-javascript/ </a> It is not the greatest article, but is uses jQuery and has some good ideas.<br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com"> http://www.KenzoHosting.com</a>
[jQuery] Tablesorter plugin doesn't work properly with 1.2
Tablesorter 2.0 plugin doesn't work properly with JQuery 1.2. If I bind a click function to the items in the table, it works well, as far as I try to sort the table. After sorting, the clickable items loose their function. Everything works well with JQuery 1.1.4. Example can be seen here: http://bitkreta.hu/tsorter/index.html Gy
[jQuery] Page Reload On Link Click
I've been following several tutorials, trying to learn JQuery and I've been having some difficulty with what should be a trivial task. When I click a link to activate something like a <div> toggleing in and out of site, I get jumped to the top of the page. Also, my functions don't seem to be working. Can somebody help me with this? <a href="#" class="comment_toggle">[show comments]</a> <script type="text/javascript"> $(document).ready(function(){ $("a.comment_toggle").click(function(){$(div.comment").toggle();
[jQuery] newbie: how can I get the # of options in a SELECT element?
Using jQuery, how can I get the following value? document.myForm.mySelectElement.options.length
[jQuery] Zope3/JQuery Sprint
Hi all I'm a core developer of Zope3 and we organize a Zope3 Sprint in the Boston Area. One task whould be to integrate JQuery using JSON RPC. And intergrate JSON RPC support for JQuery which JQuery doesn't support right now. We also thinking about to build a Zope3 application server release which offers built in JQuery and JSON libraries ready to use for deveopers. You can see some early prototyping here: http://alpha.z3c.org Let me know if somebody is interested to join us at the sprint in Concord,
[jQuery] Visual jQuery
Hey all! Is there an update for Visual jQuery (http://visualjquery.com/ 1.1.2.html), or is it always up to date with the latest version of jQuery? Or has it merely been left to die? :-( Many thanks, Dan Atkinson
[jQuery] BlockUI - IE does not interpret JS script
Hi guys, been using Jquery a bit for my dashboard website at my work just to add eye candy and such... This is the first time I have run into an IE bug... What happens is that once a table get loaded with my code it shows the correct colours in Firefox on both windows and linux but does not interpret the JS in the file that I load when I open it with IE. Here is the code. Thank you for any and all help Boom ====THE JS SNIPPET==== $('#cserver').click(function() { $.blockUI.defaults.pageMessage = "<h1>Please
[jQuery] changing the order of alist
HI all. If possible i would like to have some advice on how to randomize the order of a list. Suppose we have such markup: <ul> <li>item 01</li> <li>item 02</li> <li>item 03</li> </ul> I want something that on page load, changes (hides and rewrite, i guess) my list in a random() order, like that: <ul> <li>item 03</li> <li>item 01</li> <li>item 02</li> </ul> Is there a "short" way top do that? Thanks GC
[jQuery] BlockUI - IE does not interpret JS script
Hi guys, been using Jquery a bit for my dashboard website at my work just to add eye candy and such... This is the first time I have run into an IE bug... What happens is that once a table get loaded with my code it shows the correct colours in Firefox on both windows and linux but does not interpret the JS in the file that I load when I open it with IE. Here is the code. Thank you for any and all help Marius ====THE JS SNIPPET==== $('#cserver').click(function() { $.blockUI.defaults.pageMessage =
[jQuery] unable to attach events when blockui is active
Hi All, I'd like to use the blockUI plugin to block a div while performing an ajax call. In the call, the div that's being blocked gets reloaded. Then, before I call unblock, I reattach event handlers (click handlers, etc) to the controls in the newly loaded div. Well, I try to, at least. When I try to do that, the event handlers do not work (an attached click does nothing). I'm guessing that they can't be attached while the div is being blocked, but am not sure. Known issue? Workaround? Thoughts?
[jQuery] Plugin detection code
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi there, I posted this before but not sure if it made it to the list. Here is an idea ive had for multi format plugin detection code, its not entirely finished, ie to detect for particular versions in windows media plugins it needs to use mimetypes instead etc. I needed something like this to detect for flip4mac plugin to display a different set of options for jquery media. Let me know if this
[jQuery] Check it out:download free,stock information,knowledge base,hot videos,hot games and hot tickets...
Check it out:download free,stock information,knowledge base,hot videos,hot games and hot tickets... http://groups.google.com/group/all-good-things/web/very-useful-websites
[jQuery] Superfish updated to work with jQuery 1.2
Hi all, Just a quick note to say that I have updated the Superfish menu plugin to work with jQuery 1.2. The only change required was changing li[ul] to li:has(ul) in two places, which was also reported by Sozzi (thanks Sozzi). The current Superfish version is now 1.3.1. There is also a link to the older JS file for use with jQuery 1.1.3 to 1.1.4 on my demo/docs page, which is here: http://users.tpg.com.au/j_birch/plugins/superfish/ Thanks to John and the amazing jQuery team for your hard work on
[jQuery] Invitation from Dug Falby (dug@donkeyontheedge.com)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style type="text/css" media="all"> <!-- #Qcntr { text-align: center; } #QmailMsg { color: #333333; margin: 10px auto; padding: 0px; background: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.5em; width: 550px; text-align: left; } #Qlogo { margin: 0px; float:left; } #Qinfo { text-align: right; font-family: inherit; } #Qstrap { float: right; font-family:
[jQuery] google reader slick animation using jquery
How can I achieve a similar animation like the one used in google reader? I have a container and want to append a lot of elements. I'm not using jquery at all today and use for (var i = 0; i < itemlength; i++) { container.appendChild(items[i]); } All I've achieved is this: for (var i = 0; i < itemlength; i++) { var it = $(items[i]); $it.hide(); $(container).append($it); $it.show('fast'); // sleep ... } Is this the way to do it? I can't see any animations at all. And also all the items get the style
[jQuery] hover and hoverIntent
I am wondering if anyone has noticed the issue with jQuery's hover function that makes it less than perfect for dropdown menus. Normally most browsers display the href of the link in the status bar at the bottom of the window when a user hovers that link. Because hover suppresses the default onmouseover and onmouseout behaviors by returning false for them for all children of the hovered element, it breaks the default browser feature. Recently a client of mine complained about this and I was wondering
[jQuery] Updated Demos to v1.2
<span style="font-family: trebuchet ms;">I did some spring cleaning on the demos I have accumulated.</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;">I erased the ones that I couldn't remember what they were demonstrating and updated the rest to 1.2.</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;">No bugs. In fact, some issues were resolved.</span><br style="font-family: trebuchet ms;"><br style="font-family: trebuchet ms;">
[jQuery] A more forgiving .html()
While figuring out an answer to a question on this forum, I noticed that .val() returns an array when used on a multiselect. and "just the value" in all other cases. I didn't know this before, but it makes sense. I came across this because .html() refused to insert the result of the .val(), exiting with an error. A thought that came to mind: Why not be more forgiving towards arguments for .html()? If it's not a string and not a DOM object, just convert it to a string, since the user says he wants
[jQuery] Learning JQuery book typo: plugins repo URL is 404
Hiya! i'm not sure where to post bugs related to the Learning jQuery book, so i'll drop it here: Page 309 says: "The jquery.com Plugin Repository at http://jquery.com/Plugins/ is a great place to start when looking for documentation." That URL is a 404, though - "plugins" should be lower-case. Perhaps the webmaster can adjust for that, rather than waiting on the next edition of the book. :)
[jQuery] Odd back-button behavior on 1.2 documentation pages
I've noticed something odd on the documentation pages. The back button is acting as though I've made multiple visits to the same page. For instance, if in a new browser window I visit http://docs.jquery.com/Release:jQuery_1.2/Effects I see seven entries in the Firefox's back-button drop-down, all pointing to the current page. I see the same behavior in IE6, IE7, and Op9. Safari3/win doesn't do this. The number of entries in the history varies; and I think it's related to the number of demos on the
[jQuery] jQuery repeater
i'm new to Jquery and i'm trying to create a plugin that does something similar to the way a .NET repeater works. you supply an array and a column template and it builds the table accordingly. i know that you can create an HTML string, attach events to it, and then append that string to a div on the page. similar to: $("<table><tr><td></td></tr></ table>").click("dosomething").appendTo("#divOnPage"); however, for my plugin, the column template determines the dynamics of the table (e.g. whether or
[jQuery] Need help with navigation fading in and out
This is my first attempt to utilize jQuery so if I ask obvious questions please bear with me... I'm working on the following site and trying to get the navigation to fade in on rollover and fade out on rollout. So far I've got the code written for the rollover state but it doesn't seem to be working at all. You can review it at: http://tolerase.com/test2.php thanks in advance.
[jQuery] Superfish CSS a class
Hi All, I am using the most recent version of superfish and jquery. I am trying to provide an alternative CSS style to the <a href tags as they are currently the same style as for links within the rest of the site. I tried the following by providing an <a id="super" where our menu gets generated and in the superfish CSS adding the following... .nav a#super { display:block; padding: 5px 1px 5px 3px; text-decoration:none; /* width:7.45em; */ color: #000000; font: normal 12px
[jQuery] rounded border plugin?
Hi All, I'm new to JQuery, and relatively new to JS. I noticed there are a few plugins for doing "rounded" corners, but the ones I've seen seem to work on background colors only. What I would ideally like is to have only rounded borders, in which the background and/or border color would change if the area inside the border was selected. Is there anything like this? Thanks, I'm really starting to get into JQuery, seems like a great library! Matt
[jQuery] blockUI scope / $.unblockUI not closing
<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:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
Next Page