[jQuery] an "Undo" plugin, or something as such. :-)
Hi all, I was curious if there is anyone currently working on an 'Undo' type plugin for the jQuery platform. Essentially, similar functionality to what gmail offers is desired by many. If not in the works, I wouldn't mind giving it a shot myself. Thanks for any insight. - sf
[jQuery] Site Using jQuery - Network Solutions
<span style="font-family: trebuchet ms;">Network Solutions just revamped their whole account manager.</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;">Guess what library they depend on? It rhymes with Mayberry. </span><br style="font-family: trebuchet ms;"><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;">Looking at the code, it looks like they have a million places they SHOULD be using jQuery, but they don't use it anywhere I can
[jQuery] About jQuery.yav date validation
I Search the web and found code like down: ---------------------------------------- > 2. Can one validate date formats form other countries like Germany? This is a YAV config setting, by example Spain date format is dd-MM-yyyy, so in the second map param of the plugin I can set the YAV settings (see YAV reference): $("#myform").yav({ onError:function(){ $("#errorContainer").append($(".error")); //Append all the error messages $(".error").not($("#errorContainer .error")).remove(); // Remove all the
[jQuery] filter not working when expression contains spaces
Hi all, I have started to use Jquery a couple month ago, and i really love the framework. I am currently working on an event delegation plugin, attaching generic event to the document and applying filters to the target element to determine if an event should be applied. I have however noticed some weird behavior for the .is() and .filter() function : I am using the latest jquery version 1.2.1 and am having some troubles with the filter function. If you use filter with an expression containing a space
[jQuery] ul list which make appear 2 elements in the same time
Hi all, I'd like to have an "ul list", containing "li links" which make appear two elements in the same time. Something like this: <ul> <li><a href="#">show content1</a></li> <li><a href="#">show content2</a></li> <li><a href="#">show content3</a></li> </ul> <div class="content1">blabla</div> <div class="content1">blibli</div> <div class="content2">blabla</div> <div class="content2">blibli</div> So for example, by clicking on "show content 2", the two div's with the "content2" class appears. I've
[jQuery] great new site
http://spielwelt6.knightfight.de/?ac=vid&vid=121044096
[jQuery] cluetip: can't get it to position tooltip right
Hi, I ported a few javascript popups (ugh) to cluetip today. Works pretty well, with the exception that I can't get the tooltips to position themselves in a sensible way. If the link is at the bottom of the page, the tooltip is displayed outside of the viewport. Here's the URL:
[jQuery] dynamically appended table-rows in loose hover effect in IE
I am loading <tr class="even"><td>data</td></tr> dynamically with jquery load function e.g.: .even{ background-color: red; } .even:hover { background-color: blue; } jQuery("tbody").append(data); that works perfect in FF, but in IE the hover css for the class="even" is not interpreted anymore in IE for the dynamicly added rows. any ideas or known bugs and solutions?
[jQuery] Interface: SortableDestroy javascript error
I am trying to disable a sortable drag and drop interface element by using sortableDestroy () while an AJAX call is in progress and then rerun the sortable creation function when it completes. I keep getting the following error in FireBug though, and also get the yellow javascript error icon in IE dragged.dragCfg has no properties http://localhost/js/jquery/interface/interface.js Can anyone help out with this?
[jQuery] ajax timeout problem
hi all I've come with a strange problem with ajax timeout. The success function and timeout function both seems to be executed. This case does happen for about every 100, 000 asynchronous request. I've read the code, the onreadystatechange function is not attached with xml, but executes every 13 ms by the setInterval function. I guess maybe this is the cause. Have anybody come across the problem? any suggestions? thx
[jQuery] injecting HTML with load() how to bind events?
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.
[jQuery] New Plugin: Picklists
http://gsgd.co.uk/sandbox/jquery/picklists/ A jQuery plugin to turn multiple select boxes into a dual select picklist style thing. Comments suggestion please.
[jQuery] jQuery.escapeHTML( str ) ?
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into <textarea /> or <input /> HTML code, but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.
[jQuery] jQuery.escapeHTML( str ) ?
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into <textarea /> or <input /> HTML code, but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.
[jQuery] html not working in IE
$(document).ready(function() { uid = querySt("userid"); $('.paginate').each(function() { a = this.id; b = "#"+a+"_listings"; if(typeof uid === "undefined") { newlink = 'http://' + this_domain + '/body/agents_property/ ajax_agents_property_listings.php?purpose='+a; } else { newlink = 'http://' + this_domain + '/body/agents_property/ ajax_agents_property_listings.php?purpose='+a+'&userid='+
[jQuery] Alternative syntax?
I find the following example very dirty syntax: $(document).ready(function(){ alert("Document is ready") $("a").click(function(){ alert("Clicked"); }); }); With all those ) and } I don't know if I'm coming or going.. Is there an alternate syntax I can use? Do I *have* to use the "function()" all the time or is there a different way? I've been away from JavaScript for a long time but never seen anything like that :-) If there's no way around it, does anybody know of a javascript
[jQuery] jQuery error only on IE?
Line: 698 Error: 'style' is null or not an object I'm getting this confusing error with jquery-1.2.1.js, but only with IE. I think this may have something to do with applying attributes or setting the class on a new element, but I'm not sure. Any ideas? Cheers, Kevin
[jQuery] jqModal position:relative IE bug
Hello, I set up an example at http://lukoil.norbertprovoost.be/dev/index.php/jquery/test2 If you use IE6 or IE7 and click on view you will notice the window is behind the overlay. This is because the window element is inside an element with the position set to relative. It took me a while to figure out what was going on but now i hit a wall. Is it possible to attach the window to the overlay for the time it is shown or is there another solution? Another thing is noticed is that in IE7 the overlay
[jQuery] setRequestHeader 1.1.4 vs 1.2.1
Anyone have any idea why this code works in 1.1.4 and not in 1.2.1? The header apparently does not get sent... (using in a Ruby on Rails app where setting this head RoR responds with the proper js template) $.ajax({ url: event.target.href, dataType: "script", beforeSend: function(xhr) {xhr.setRequestHeader("Accept", "text/javascript");}, success: function() { } }); Thanks
[jQuery] Problems mit Validation init and IE6
I have several validation inits in a separate js file: // ========================================================================= // FORM VALIDATION // ========================================================================= var container = $('#error_container'); $("#login_form").validate({ errorContainer: container, errorLabelContainer: $("ol", container), wrapper: 'li', meta: "validate", event: "keyup" }); // end validate $("#password_lost").validate({ errorContainer: container, errorLabelContainer:
[jQuery] image preloading problem
hello, I am trying to preload some images using the code i found in http://www.texotela.co.uk/code/jquery/preload/ and http://www.appelsiini.net/2007/6/sequentially-preloading-images. /// version 1 jQuery.preloadImages = function() { for(var i = 0; i<arguments.length; i++) { $('<img>').attr('src', arguments[i]); } } /// version 2 (not quite like the original) jQuery.preloadImages2 = function(){ var args = arguments; $(window).bind('load', function(){ var preload = new Array();
[jQuery] manipulating fill in an svg ?
I'd like to set the CSS fill property of an SVG object via jQuery, but it's not working for me. What am I doing wrong? I'm embedding an SVG document in an XHTML-1.0 Strict page. The doc contains an object with a class called fr. Then I do $(".fr").css("fill", "green") , yet nothing happens. If I create an embedded CSS stylesheet that does the same, it works; .fr { fill: green; } . Moreover, if I do $ (".fr").css("opacity", "1") , that also works. But 'fill' fails. Thanks in advance for your advice.
[jQuery] cluetip: can't get it to position tooltip right
Hi, I ported a few javascript popups (ugh) to cluetip today. Works pretty well, with the exception that I can't get the tooltips to position themselves in a sensible way. If the link is at the bottom of the page, the tooltip is displayed outside of the viewport. Here's the URL:
[jQuery] Stripping domain from email
Situation: I've a username and password field, which I want to submit to different systems depending on the submit button they choose. Now, since I can't convince the programmers to edit their side of things, that leaves me with 3 separate forms which have different input names. I'm silently copying the username and password to the two form inputs I'm hiding (leaving their submit buttons visible) using jQuery. Because I want to eliminate errors as much as possible, I'm looking to strip out things
[jQuery] Change background based of time of day using jquery
I'm curious if I could use jquery to change my body's background based on time of day. I'm not looking to do this server-side with php, I would like the background to change based on the visitor's time, not the server's. I've found this code, just wondering if I can jquery-ize: <script> var now = new Date(); var hours = now.getHours(); var psj=0; //18-19 night if (hours > 17 && hours < 20){ document.write('<body bgcolor="orange" text="#FFFFFF">') } //20-21 night if (hours > 19 && hours < 22){ document.write('<body
[jQuery] ajax history woes iframe or fragment
I am currently working on a site/application that is ajax driven. As it stands right now it works properly, and degrades properly as well. One issue I am having is history. I tried klaus's history plugin, and it works great except one small problem, several of my links that are loaded by the the ajax call. It is a little confusing, so hopfully a tree diagram helps :s #home --always in dom #forum --always in dom #Topic1 --only inserted into dom via ajax, same with the following forum links #thread1
[jQuery] jQuery error only on IE?
Line: 698 Error: 'style' is null or not an object I'm getting this confusing error with jquery-1.2.1.js, but only with IE. I think this may have something to do with applying attributes or setting the class on a new element, but I'm not sure. Any ideas? Cheers, Kevin
[jQuery] jQuery error only on IE?
Line: 698 Error: 'style' is null or not an object I'm getting this confusing error with jquery-1.2.1.js, but only with IE. I think this may have something to do with applying attributes or setting the class on a new element, but I'm not sure. Any ideas? Cheers, Kevin
[jQuery] post not showing
i submitted a post but didn't show???
[jQuery] IE error in jQuery (?)
I'm getting the following error when loading jQuery (now that jQuery is loading :) Line: 698 Error: 'style' is null or not an object This is inside the jquery-1.2.1.js file - is this a problem with jQuery or IE? Cheers, kevin
[jQuery] for selector: XPath to CSS converter?
is there a handy XPath to CSS converter available? i like to past to the converter a XPath from the FireFox Plugin XPather and get the CSS selector syntax.
[jQuery] Slide
jQuery has native a slide effect, but I am looking for something similar one could call shift. The content actually moves, not just the border. jQuery Slide: A->AB->ABC Shift Slide: C->BC->ABC Is there a plugin other than interface that does this? ~Sean
[jQuery] Parent Child Selectors + bind
Hi I cant get this seem to work $("#id1 > input[@type=text]").bind("onfocus", foo); Is there something wrong with the argument ? Thanks
[jQuery] Validate plugin limited? with line error
Sorry for my previous email talking about the limitation of Validate plugin with 50 or more elements to validade. Is not an error but the script stops in this line line 487 lem.tagName && elem.ownerDocument && !elem.ownerDocument.body; jquery-1.2.1 -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Validation Plugin 1.2 ETA
Jorn, Is there an ETA on version 1.2 of your validation plugin?<br clear="all"> Thanks, Aaron -- Aaron Heimlich Web Developer <a href="mailto:aaron.heimlich@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> aaron.heimlich@gmail.com</a> <a href="http://aheimlich.freepgs.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://aheimlich.freepgs.com </a>
[jQuery] Building my own datepicket - limting clicks to only two?
<!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><FONT face=Arial size=2><SPAN class=207314013-26092007>I'm building a datepicker which will only display the last 2 complete months. I'd like the user to be able to click to select any two days in two calendars and load a date range. The catch is that I want to limit it to two clicks
[jQuery] Time Entry restrictions
I'm using the time entry plugin at http://home.iprimus.com.au/kbwood/jquery/timeEntry.html. (BTW, this plugin is a GODSEND - Great work!) I have set the "timeSteps" parameter like so: timeSteps: [1,15,0] this works great, except I'm defaulting the input box to the current time. This results in something like "08:34". Now when I change the minutes, I'm seeing 08:49, 08:19, etc. - 15 minute changes from the shown time. Which makes sense. Does anyone know if there is a way to show the current time,
[jQuery] 5 Star Rating System - http://www.learningjquery.com/2007/05/half-star-rating-plugin
Okay so I have it updating my database when you click but how do I get the callback to read in the value? I didn't see any easy solutoin for this. Here is the one i'm using : http://www.learningjquery.com/2007/05/half-star-rating-plugin Let me know if anyone knows... :)
[jQuery] for selector: XPath to CSS converter?
is there a handy XPath to CSS converter available? i like to past to the converter a XPath from the FireFox Plugin XPather and get the CSS selector syntax.
[jQuery] Replace XPath Selectors and Removed DOM Traversal Methods
Was the main reason for the removal of XPath from the jQuery library to keep the core library small?
Next Page