[jQuery] Jquery 1.1.3 and Validation plugin problems
Hi all! Excuse me if my question is so obvious, I just joined today :-) I would like to use Jörn Zaefferer´s Validation plugin(http:// bassistance.de/jquery-plugins/jquery-plugin-validation/) unfortunately it does nor work with Jquery 1.1.3, it fails with errors stating that it cant find "jquery.js" which looks like something hardcoded to me. Could someone tell me what I´ve done wrong? Thanks // Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[jQuery] Validation plugin and Version 1.1.3
Hi all! Excuse me if my question is so obvious, I just joined today :-) I would like to use Jörn Zaefferer´s Validation plugin(http:// bassistance.de/jquery-plugins/jquery-plugin-validation/) unfortunately it does nor work with Jquery 1.1.3, it fails with errors stating that it cant find "jquery.js" which looks like something hardcoded to me. Could someone tell me what I´ve done wrong? Thanks // Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[jQuery] Validation plugin and Version 1.1.3
Hi all! Excuse me if my question is so obvious, I just joined today :-) I would like to use Jörn Zaefferer´s Validation plugin(http:// bassistance.de/jquery-plugins/jquery-plugin-validation/) unfortunately it does nor work with Jquery 1.1.3, it fails with errors stating that it cant find "jquery.js" which looks like something hardcoded to me. Could someone tell me what I´ve done wrong? Thanks // Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[jQuery] 1.1.3 speed regression for selection of tags
Just been going through some of my current work and seeing what improvements come with jQuery 1.1.3. Unfortunately it looks like there's a bit of a regression in terms of speed for Firefox (2.0.0.4). So far I've only looked at the speed decrease when selecting 'input' elements, so it may be isolated to them or something general. You'll need Firebug on Firefox. Firebug lite is included though. Here's a page with using 1.1.2: http://krudd.net/jquery113speed/jquery_elementtest_112.html Result: setup:
[jQuery] accessing elements in frames
What am I doing wrong here? Shouldn't it possible to access elements in other frames, if the frame source is on the same server? This doesn't work: <html> <head> <script src="jquery-1.1.3.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#f1 p').click(function(){ alert( 'click' ); }); }); </script> </head> <frameset rows="100,*" /> <frame id="f1" src="frame.html" /> <frame id="f2" src="frame.html" /> </frameset> </html> content of frame.html: <html>
[jQuery] How to find elements with an exact text content?
Hi, I'm currently using :contains() to find elements that contain some string: <http://docs.jquery.com/DOM/Traversing#contains.28_str_.29> I would like now to find only elements that have a text content exactly equal to the string I chose. I didn't find any simple solution in the list archives or in any documentation. Thanks. -Nicolas -- Nicolas "Brush" HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/38608514@N00/M1c002
[jQuery] What would be the best way to accomplish this?
http://nokiko.howardshome.com/jqhowto.gif I am looking for the best way to create the above design. You have a title and a summary, you only get to see one line of the summary and need to click to see the rest. Is there an easy way to do this that it only displayss the first line or do i need to figure this out in another way? thanks for any help Armand
[jQuery] jQuery plugin architecture info
Hey all, I am really starting to get into programming some jQuery stuff. I love what I see so far, but I want to get into programming some plugins. I have read the getting started with plugin info on the jQuery site and I am slowly coming around. I have thrown together my first plugin, which seems to work, but I wanted to get some feedback on it: <a href="http://www.bennadel.com/blog/800-My-First-jQuery-Plugin.htm">http://www.bennadel.com/blog/800-My-First-jQuery-Plugin.htm</a> The way it works is
[jQuery] Tabs plugin, using iframes
I want to load some external data into the content part of the page. This only works with ajax: <pre><code>$('#container').tabs({ remote: true });</code></pre>But I want to be able to load external pages, I want to use an iframe instead. Is this possible? I guess I could use the load event, and manually set the source of an iframe. But wouldn't that ruin the functionality of the Tabs plugin? It would be great if I can use <code>fxAutoHeight: true</code> together with the iframe. Kia
[jQuery] jQuery 1.1.3 - CSS/XPath selector bug?
Hi there, until 1.1.2, this worked: $('a[@href$="html"]') Now I'm not sure if $('//a[@href$="html"]') would be syntactically correct, but this problem applies to both. However, with 1.1.3 I'm getting an "z has no properties" error in jQuery's filter function. This works when doing a query on id oder class. Haven't had time to look into the jQuery code yet... - is this a bug? Thanks, Bernd
[jQuery] Behaviour difference in XML document selectors in 1.13?
Hi, I've got an app that is processing an ajax returned XML document, which works fine under jquery 1.1.2 but partially breaks under 1.1.3. The XML (simplified for the example) is of the form: <type1 name"test"> <type2></type2> <type3> <type4>more text</type4> </type3> </type1> The selectors: $('type1', responseXML), $('type1/type2', responseXML), $('type1/type3', responseXML) $('type1/type3/type4',responseXML) all still work fine under 1.1.2 (OSX / Win32 FF, Opera, IE, Safari), but only the first
[jQuery] Resizing a iframe to height=100% using jQuery
I've seen several attempts to resize a iframe to fill up the rest of the window. This is an example of how to do it: <a href="http://brondsema.net/blog/index.php/2007/06/06/100_height_iframe">http://brondsema.net/blog/index.php/2007/06/06/100_height_iframe </a> How do I do the same thing using jQuery?
[jQuery] How to select the kast TR of a TABLE?
var row = jQuery("#test > tbody > tr : last"); something like that? (of coz the above one didn't work) thanks.
[jQuery] Interface ToolTip
Hello I'm using iTooltip plugin, the original element has a onmouseover function which changes the self.status, but the plugin disables it 'cause it binds its own function, i was wondering how could i change the self.status within' iToolTip.show() Or put it this way how can i tell jquery to change the self.status text Thanks
[jQuery] thickbox and other plugins z-index
hey, is im having a problem, im using tickbox to show diffrent page (ajax remote file), when im trying to use inside the page that ive got inside the thickbox, some plugins like jquery-calander or whatever its hides me the items so once i click on "show dates" ... is there a way to bring to front element inside thickbox ? -- View this message in context: http://www.nabble.com/thickbox-and-other-plugins-z-index-tf4018516s15494.html#a11412920 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Question about selectors
Hello everyone, I'm trying to select the children (ie. rows) of a table, where the table has a certain id. I tried $('table#my_id/tr') but that doesn't find anything. Then, I tried $('table#my_id').children(). That returns this mysterious <tbody> element. This element contains, for its own children, the children of the original table. There is not tbody element to be found in the html of my webpage. Now, as a workaround, I can just call .children() twice. But, does anyone understand what's going
[jQuery] Assigning a var to a jquery object?
Example: var jElement = $("#"+element).attr("id"); alert(jElement.attr('id')); This doesn't appear to work like this. Anyone know of the right way, or if there is a way to do this? Also, has anyone considered setting up a discussion forum for jQuery? I'm considering it...
[jQuery] Using jCarouselLite w text, as a menu?
I have a long horizontal list, that I use as a menu, that is too large. Is it possible to use jCarouselLite to solve this problem? In the install page[1] I see this: <div class="anyClass"> <ul> <li><img src="someimage" alt="1"></li> <li><img src="someimage" alt="2"></li> <li><img src="someimage" alt="3"></li> <li><img src="someimage" alt="4"></li> </ul> </div> But in my case, I don't have any images: <div class="anyClass"> <ul> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li>
[jQuery] slidedown doesn't seem to work with the newest version of jquery
thanks
[jQuery] Masked Input Plugin RC3
I keep coming across a few bugs here and there that need fixing. I've released the 3rd RC for my masked input plugin. This one has breaking changes, so if anyone is using it, please proceed carefully. Here's what I managed to get into this release. * BREAKING CHANGE: The mask function has been changed to more closely match the style of the jQuery library. Instead of calling .maskedinput(), you will need to call .mask(). Additionally the .AddMaskDefinition() has been moved to a namespace and renamed.
[jQuery] 1.1.3 and Interface
<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] 403 error in Firefox fixed, but not sure why it worked
I added the following to one of my files to hide and show a group of thumbnails and it gave me a 403 error in Firefox only: $(document).ready(function(){ $('div.more').hide(); $('br.clearbothMore').hide(); $('h2.contract').hide(); $('h2.expand').click(function() { $('div.more').toggle('crawl'); $('br.clearbothMore').toggle('crawl'); $('h2.expand').hide(); $('h2.contract').show(); return false; }); $('h2.contract').click(function()
[jQuery] Loading Klaus Hartl's Plugin? Tabs...
I'm sure this is a very basic question but I cannot seem to get my head around it. When I configure the tabs plugin, I have everything installed correctly, I call upon the main js file, and then include this before my layout, $(document).ready(function() { $('#container').tabs(); }); But to no avail, none of my tabs are set up correctly. Could I get some advice please.
[jQuery] jCarouselLite 0.3.0 released
<div>Hi friends,</div> <div> </div> <div>I have just released an updated version of jCarouselLite. Now it is in version 0.3.0. </div> <div> </div> <div>For those who are not familiar, jCarouselLite, is a very light-weight plugin that lets you navigate images/any HTML content in a carousel style widget. </div> <div>It has a lot of features for customization, yet it weights only 1.7 KB (compressed).</div> <div> </div> <div>This release features quite a few bug fixes from its earlier incarnation, a
[jQuery] jQuery 1.1.3 and easing plugin
Hi, I have replaced jQuery 1.1.2 with the new version and I've some problems with the easing plugin. The animations works properly, but I receive a lot of errors like this: "jQuery.easing[e.easing] is not a function". Any suggestion to solve this problem? Thanks in advance. -Bolos
[jQuery] OT: iPhone Interface in JavaScript
Some of you may have seen this but in case you missed it, David Cann created a cool littel iPhone interface that can help you determine what your app would look like using Apple's wonder phone. You can check it out here: http://davidcann.com/iphone/ I got the link from an site listed on Ajaxian which used it to build an iPhone version of NewYorkOnTap.com (http://www.newyorkontap.com/mobileDemo.aspx). The thing that stood out was his mention of how he got around ATT's slow Edge network: "It’s a bar
[jQuery] ReBinding
I am building a app that has a lot of $.posts so it requires me to rebind alot.. for some reason i have an infinite loop in IE but not FF and i cant figure out how it happened.. anyway.. do you think instead of binding functions to the locations, just using onclick="" and just having functions for the actions? which would take out the need to rebind every time something loads something, which by the way happens ALOT! I could always leave the things that have no need to be rebound alone.. and have
[jQuery] Form submit problem when dealing with more than 1 form
The code is here: http://www.bootsnall.com/frame/forgot.html - .htaccess u/p is frame/12 The js files that are being used are here: http://www.bootsnall.com/frame/javascript/jquery.js http://www.bootsnall.com/frame/javascript/form.js http://www.bootsnall.com/frame/javascript/action.php?a=front/forgot So the problem is that I'm trying to make my ajaxForm plugin to work with more than 1 form in a page. But the thing is that when submiting any one these 2 forms, it will show up the error and the "submiting
[jQuery] fadeIn w/jQuery 1.1.3?
I updated my main jquery.js file today updating my site to 1.1.3 (from 1.1.2) and everything works except fadeIn? I played around with it and fadeOut seems to work if I make the duration really long: $("#warning").fadeOut(10000); But doing the opposite for fadeIn: $("#warning").fadeIn(10000); Doesn't do anything - the element always remains visible. I also tried: $("#warning").fadeIn("slow"); But that didn't work either. Everything else works great! (tabs, tables, etc) Jim
[jQuery] get a form value after a post and page reloaded
All, I recently started using JQuery and I am facing one issue I could not resolve. I hope this is possible with Jquery. I have the following : <script type="text/javascript"> $(document).ready(function(){ // this section display the div "toBeDisplayed" only if #protected' equals to Y $('#protected').change(function(){if ($(this).val()=='Y' ) $('# toBeDisplayed').show("slow");else $('#toBeDisplayed').hide();}); }); </script > ... <form ... > <label for='protected'></label> <select name = 'protected'>
[jQuery] How to re-select?
e.g. How to re-select? <p id="i"> <input ... /> <input ... /> <input ... /> var i = jQuery("#i"); Q: so how to select all the input inside p? i know i can use jQuery("p > input"), but I want to re-use the variable i as already selected since i want my functions be more flexible...
[jQuery] form plugin
Hi, I have a question about the form plugin. I'd like to reuse the data, that's returned from the submited form. The form posts to the process.php, and the the process.php returns the msg. In stead of just displaying the returned data i'd like to check what it is. Why? Because i'm validating the data in tje process.php file and if the submit is successfully i'd like to disable the submit button so that resubmit cannot happen. I don't know how to do that. the form plugin has just the option for displaying
[jQuery] jQuery 1.1.3+ jBlock-Pluggin
Seems that block pluggin doens't work the same way with jQuery 1.1.3 With 1.1.2: - I had jBlock message with filter opacity in order to show a message with "semi transparent" background. With 1.1.3: - Same code doesn't maintain the "opacity" and now is 100% (0 transparency).
[jQuery] jqModal starting programmatically with different urls
Hello all, I was trying to use the jqModal script to load ajax pages dynamically with different urls. To do this I created a preview function where the url is dynamically created: function showPreview(name) { $("#preview").empty().html("Loading..."); $("#preview").jqm({ajax: 'view_'+ name + '.html', trigger:false}).jqmShow(); } However always the same view is returned. Can I reset the ajax parameter somehow or do I need to add a different parameter for this to work? The example page is at http://www.competities.com/jquery/demo-test/test_jqmodal.html
[jQuery] IE effects problem
Hi, im complete newbie in jquery and i have a bit frustrating problem.. Fading, hiding works fine on FF or Opera, but on IE.. Ajax loads page propely, but without all that nice fading ;) So, this script hides, loads page to div #tresc and shows it slowly: <script type="text/javascript"> $(document).ready(function(){ $('#tresc').hide().load('./home.html', {a:(new Date()).getTime()}).fadeIn(2000); }); </script> Further theres much more of scripts that loads different pages and there`s the same - ajax
[jQuery] Jquery presentation today
I'm giving a presentation today on jquery to our new development group. (my boss is now in charge of this group, previously under someone else here) is there any update on when 1.1.3 might be released? How close are we? Just was hoping I could say something about it. :-)
[jQuery] OT: Building an App in Adobe Air with Aptana
Download Squad has a nice little article about how to build an Adobe Air application using the Aptana Eclipse-based IDE. If you don't know what Air is, you've definitely been living under a rock. Air is a runtime that will allow you to run your web apps on the desktop with very little modification. It includes the SQLLite small footprint DBMS for offline storage and will eventually integrate with Google Gears. You can find the article here: http://www.downloadsquad.com/2007/07/02/build-your-first-adobe-air-application-with-aptana/
[jQuery] inner loop values
I'm building a dynamic table, assigning each row a unique ID based on the value of the counter, and trying to display the row id in an alert box when a row is clicked: $(function() { for (i=0; i<5; i++) { var row_id = 'row' + i; var rw = '<tr id="' + row_id + '"><td>row ' + i + '</td></tr>'; $('#t1').append (rw); $('#t1 tr#' + row_id).click( function() { alert(row_id); } ); } }); The problem is that although I get a different row_id for the id of each row, the alert box is always displaying "row4".
[jQuery] Safari - Problem with fadeIn / fadeOut
I've tested in IE 6, 7, Firefox, Opera, but Safari (for windows) is unpredictable, sometimes fading an image in, then not another. http trainthetrainers dot net the script in question is banner-top.js check the banner ad at the top. It's set to 8 second rotate for debug. Any known problems with jQuery in Safari? Sam
[jQuery] 1.1.3 breaks opacity effects in IE?
I noticed after upgrading to 1.1.3 that animations that had an opacity component no longer occured in IE7. They would just remain opaque until the animation was due to terminate at which point thery would all just immideately vanish. I swapped fadeIn and fadeOut with show and hide, which has both a resize and an opacity component, and I found that while the sizing part of the animation played the fading part didn't happen.
Next Page