[jQuery] Problem with 3D Carousel and IE6 + 7
Hi, I'm trying out the 3D Carousel from the Interface plugin and have problems with making it work in IE 6 and 7. In Firefox it works great. While initializing the carousel, IE chokes on line 118 in the fullsize source of carousel.js. The line reads: image = jQuery('img', this).get(0); The error code from IE is: "The object doesn't support the property or method." You can see the code here: http://www.askascandinavia.com/de/products.lasso I'm using the latest jQuery and the latest Interface plugin.
[jQuery] Common $.msie6 check seems to be wrong - WIndows Vista users please confirm
Hi all, a few plugins use some kind of check for IE 6, I for example use: $.browser.msie6 = $.browser.msie && ($.browser.version && $.browser.version < 7 || /6.0/.test(navigator.userAgent)); The second check is required for compatibility with jQuery 1.1.2 and below, $.browser.version was introduced in jQuery 1.1.3. Can somebody please confirm, that this check fails in Windows Vista (I don't have Vista), as the userAgent contains "Windows 6.0" here? In that case, it's better to use: /MSIE 6.0/.test(navigator.userAgent)
[jQuery] jQuery and communication.
I preparing chat, I've got mail window and new pop-up with chat. How could I send data form main window to pop-up window? My chat: www.pilat.com.pl/mychat
[jQuery] appfuse: jQuery + scriptaculous + datePicker
Hello all. I posted this over at Appfuse's Nabble list as first, but then thought this would be the better place. I have a default.jsp page that uses SiteMesh to 'decorate' all of my jsps. It contains the following js libraries: prototype.js scriptaculous.js global.js In order to use datePicker you need the following js libraries: jquery-1.x.js date.js jquery-dimensions.js jquery-datepicker.js I put those 4 js files in my test.jsp file. But when the test.jsp page is rendered, including all the stuff
[jQuery] Executing Javascript Code in Ajax Call In Safari
I am trying to run some ajax with jquery that is simply calling an HTML (PHP) file that also has some Javascript in it. In Firefox the JS gets executed but in Safari only the HTML is rendered. How can I get Safari to execute the Javascript within the page I am calling? The JS contained in the script works fine in FF but $.get("includes/shc/ p2.php", function(data){$("#p2Div").html(data);}); Doesn't work in Safari, the JS that is. Any ideas? Thanks, Michael
[jQuery] Thickbox - IE Only Finds Jquery Code at the Bottom of the Page, but Not at the Top.
Can you think of why Internet Explorer would find my Jquery code if it's at the bottom of the thickbox page, but not find the code when the code is placed at the top in the <head>? I'd rather not have to put the code at the bottom of the page if possible.
[jQuery] JSON-RPC v1.1
I've decided to being a slightly ambitious project. Like Drupal before, I'm trying to create a CMS using JQuery for some of the client side functionality. At the moment I'm just trying to write the underlying RPC calls using JSON-RPC (v1.1) (Yes I know its still a working draft, but I'm trying to get ahead of the game). I have a weird issue occuring when I make the AJAX call. Using Firefox, it works as one would expect. But using IE 6, the same call fails. Chucking in some debugging alerts, and things
[jQuery] Kudos and some comments
First, KUDOS to the developers of JQUERY. I just discovered it a few days ago and with it, I continue to be amazed of the on-going "web 2.0" tool developments! Being an old school guy, I still have my concerns about where all this web 2.0 stuff is going, but once you begin to use it more and you begin to put all those pragmatic "negatives" asidem you realize how powerful it all really is! I think what got me is seeing the power of javascript, I mean, JQUERY is basically a "another language layer"
[jQuery] Announcement: Spoilers plugin
Hi, all! Yet another plugin: http://jquery.com/plugins/project/Spoilers Demo: http://wanderinghorse.net/computing/javascript/jquery/spoilers/demo.html It is used to hide "spoiler" text from casual readers, who can reveal the text by mousing over it. See the web site for an example of how this can be useful. The code is based upon this jQuery forum thread: http://groups.google.com/group/jquery-en/browse_thread/thread/9d34cad45e541e36/8f02c8f79b5c7985 Many thanks to Michael Geary and Jay Salvat for
[jQuery] How to check input field
In a form there is an input field where users insert their email address. How can I check if it is the valid email or that it consists `@' . Thank you for help L.
[jQuery] jQuery Zen Garden Interface
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[New Plugins] Ajax Queue and Ajax Sync
Hey everyone - So Mike Hostetler was telling me about some Ajax queueing plugins that he wanted to write - so I got some ideas, and less than an hour later - here are two new Ajax queueing plugins for you to enjoy! Lame demo: http://dev.jquery.com/~john/plugins/ajaxqueue/ About the plugins: * Queued Ajax requests. A new Ajax request won't be started until the previous queued request has finished. Example: jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } });
[jQuery] Fastest method to create table rows
I'm working on a project that makes a web service call and pulls back data. Sometimes that data can be 1,000ish rows. What is the fastest way that I can create those rows? Right now I'm just doing string concatenation to make HTML and passing that to the .append method. I read the other day where someone(Klaus?) said that array.join was a faster way to do string concatenation. I'd like to avoid the string concats all together if there is a faster method. I'm just poking around for ideas. Thanks Josh
[jQuery] Odd Behavior in IE6: Links not parsing...
I built this function (with the help of this group) to parse any outbound link and append before my redirect page. it works fine in firefox, yet, IE has a problem doing it. heres the code: function outbound() { $('a[@href*=http://]').not('[@href*=kaflink.com]').each(function() { $(this).attr('href','http://kaflink.com/out.cfmx?url=' + $ (this).attr('href')).attr('target','_blank'); }); } again, it works fine in firefox, but IE just gives that little javascript error at the bottom
[jQuery] Postcode Regex Form Validation
Just spent a while working out how to do this with the form Validation plugin from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , but it's actually really logical when you get it. Still, might save someone else the effort! UK Postcodes have a fixed format and a standard regex to check against [1], so you can check them simply, if you define a postcode method to the validator plugin. To do this: <code> jQuery.validator.addMethod("postcode", function(value) { return /\b([A-PR-UWYZ][A-HK-Y0-9][A-HJKSTUW0-9]?[ABEHMNPRVWXY0-9]?)
[jQuery] Iframe events for local pages
Hi, I have locally two html files: main.html: <html> <head> </head> <body> <script type="text/javascript"> // here?? </script> <iframe id='myframe' src="sample.html"></iframe> </body> </html> sample.html <html> <head> </head> <body> <h1>title</h1> <h3>title 2</h3> </body> </html> sample.html is loaded in main.html by iframe. how is it possible catch (for example) a mouse-click on an element of sample.html in main.html without modify sample.html above with jquery???? I have tried many times and ways
[jQuery] An open letter to non-Believers...
A public jQuery forum is probably not the place to address non- Believers - that is, people who do not use jQuery - but my hope is that some of the Believers here will take this and pass it on to any non-Believers who they know, to help convert the Poor Sods who are wasting their time writing code to traverse and manipulate their [X]HTML DOMs. To help put this in context a bit, i want to lay my credentials out on the table, so that nobody will think that this letter is coming from a noob script-kiddie.
[jQuery] Draggable - change revert after start and before stop
If my draggable item does not reach a target, i want it to revert, so I set revert by default. When it hovers over a target, I want to set revert to false. I can't make this work. I thought it would be as easy as putting the following code in the onHover of the droppable: $('#'+drag.id).Draggable({revert:false}); But it doesn't work. Can you change the value of revert in the middle of a drag?
[jQuery] Selecting attributes of an element
Excuse my newbiness, how do I select a particular attribute of an element? Example: <li test1 ="foo" test2="bar"> foobar</li> how do I select and return the test1 attribute? Thanks
[jQuery] Form Plugin: Submitting async?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] Thickbox with Forms Plugin
Hey all. I am trying to use thickbox with the forms ajax plugin to upload files. I have copied the example exactly. However when I go to submit the form, the entire page is reloaded with the success message. I don't know if the forms plugin is having problems connecting to the form because the form is a hidden form? Am I missing something? Thanks for the help.
[jQuery] Metdata
Hi all, I've got some problems with the metadata plugin. First, i tried to use it on element that are cloned. Metadata are not cloned and are shared with all the cloned elements and the original one. The second thing i'm trying to do is to put "class type" metadata (named myId) on each tr of a table. I used tablesorter v2, and with a widget i need to manipulate the metadata. Problem is, after i sort the table by clicking on headers, the metadata seems to be lost. I don't get how to use metdata in
[jQuery] tabs, cookies and keeping state
I am using Klaus' tabs plugin with ajaxform and tabs remote:true. What I am trying to do is have a user login, then set up tabs based on their database profile. Each tab is a remote tab to a separate php page which requires a parameter to be passed in eg the file the tab call is users.php?user_ID=xxx which is derived from the login and set as a cookie. Everything works fine. The correct tabs are enabled/disabled by matching the database returns. But down in the page, where the link to the remote
[jQuery] Known Opera javascript bugs list
Does anyone know if there is a list of known JavaScript bugs for Opera 8? I did a significant rewrite of a section of code recently for a speedup. The speedup I got was pretty massive, especially so in IE, and it works in all my test browsers (IE6 and 7, Firefox 1.5, Safari 3 beta and Opera 9), but it causes a massive crash in Opera 8. I was originally doing a $.each on an object but when I discovered that doing return (false) doesn't seem to break you out of a loop like the documentation claims
[jQuery] Problem with updating lists using jQuery
What I am trying to do is this. I have an unordered list. Each item has a link to remove the item, and above is a simple form to add a new item. HTML: <ul id="propertyList"> <li id="1"><a href="javascript: void(0)" title="Delete" class="deleteProperty">Item 1</li> <li id="2"><a href="javascript: void(0)" title="Delete" class="deleteProperty">Item 2</li> </ul> jQuery Code: i=1; $("#addProperty").click(function() { // Get property values name = $('#property_name').val(); value = $('#property_value').val();
[jQuery] [New plugin] jQuery.YAV an easy web form validation using YAV library
Hi all, I just upload of my spare times in holidays ;-) . jQuery.YAV is a new plugin with the good things of YAV library and jQuery.Validation of Jörn Zaefferer. Some features: * Rules as class names. Set a rule class name in the field and the title and it will be validated. * Functions onError and onOk for more control post-validation. * Relationships between field or group of fields (A and B) or (C and D) * Repair little bug in YAV for multivalue class attribute Documentation, examples and download:
[jQuery] [Announce] charToTable plugin
Hi All, charToTable is a jQuery plugin I wrote some weeks ago. This plugin converts characters to HTML tables. You can even create animations, or a glyph editor with it. Perhaps it will be useful for somebody, who knows? Description + demos: http://www.hovinne.com/blog/index.php/2007/07/12/131-jquery-chartotable-plugin Enjoy, jf
[jQuery] Making periodical calls per Ajax?
Howdy! how does one making periodical Ajax calls using Jquery? Thanks
[jQuery] Jquery native HTML editor
Hi all, I would like to know if progress has been made on the Jquery native HTML editor, can one use it production code? Where can one download and evaluate the latest version? Thanks
[jQuery] Convert to jQuery
Hi, I need help in converting this to jquery: function resize(which, max) { var elem = document.getElementById(which); if (elem == undefined || elem == null) return false; if (max == undefined) max = 100; if (elem.width > elem.height) { if (elem.width > max) elem.width = max; } else { if (elem.height > max) elem.height = max; } } I an just know really getting into jquery but not sure how to convert tis. My aim to be able to this function onblur of the file input field - if possible.
[jQuery] Traversing Dom and Reading innerHTML
Hello there, i have the following problem: I need the selector for the HTML for the anker element after a given li element with a specific id. In the example i would need "Products" as the result for: Give me the HTML from the anker after the li element with the id=produkte. <html> <body> <ol> <li id="produkte"><a href="/pages/produkte/produkte_de.html">Products</ a> <ol> <li id="schlauchleitungen"> <a href="/pages/produkte/schlauchleitungen/ schlauchleitungen_de.html">Schläuche / -leitungen
[jQuery] Need help with $.post()
The form that contains the data i want to $.post is dynamically generated. So i do not know what elements it contains. Yet, i need to post everything. When i just use $.post('file.php',function(){ // Whatever }); it sends no post-stuff at all. and i can *not* use: $.post('file.php',{ foo: 'bar' },function(){ // whatever });
[jQuery] Move JSON into the JQuery's core?
What do you think? I think json is quite a standard way in developing javascript/ajax apps now.
[jQuery] Swapping img src in IE shows blank
I am trying to swap an image src using jquery, and in FF it works great, in IE6, its sometimes shows the image, and other times shows nothing. $('#arrow').attr("src","arrow_blue_right.gif"); Any ideas?
[jQuery] Nested Tables
Hi, I am trying to find a way to determine whether or not a particular table element has a child table element. If it does not have any children tables I want to change the class of the table. If it does have children table elements I do not want to do anything. Any ideas? M
[jQuery] Convert Text to Int
Here's my faulty code: var temp parseInt($('td#totalPriceData_1').text()); alert(temp); Here's what my HTML looks like: <td id="totalPriceData_1" class="totalPriceData"> $7.95 </td> Why does alert(temp) show me NaN for this temp var? What is a better way to convert this text to a int?
[jQuery] Two IE6/7 issues: clone() & creating DOM element
I'm having 2 little issues regarding IE6/7 with 2 instructions that seem to work just fine in most browsers but not in IE6/7. First one, using clone() method: $('div#content a').each(function(elem) { if(elem === 0) { var color = $(this).clone(false).addClass('content- link').css('color'); } } Second one, creating a DOM element: $('<script type="text/javascript" src="' + scriptsPath + scriptFiles[idx] + '.js"></script>)').appendTo("head"); Currently, I have no solution for the first
[jQuery] Possible typo/bug in jquery 1.1.3.1 source?
John, There is a "comma" at the end of line #694 in 1.1.3.1 jquery.js source, shouldn't this be a semi-colon? It's not part of an object literal, and may cause problems with IE6. We know how it loves extra commas. jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat", to jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat"; Regards, Mike Kidder
[jQuery] blockUI... I must be doing something wrong...
Hi folks, I'm in need of some help. I'm using blockUI to display a small set of fields to the user along with two buttons, "save" and "close". This little psuedo-form (it's not a true form) appears when the user clicks on a store from a list of stores that I'm displaying for them. It works great on the first click (regardless of the store selected) but doesn't work for any subsequent clicks. All subsequent clicks display the default "Please Wait" message. Here's how I'm accomplishing this so far:
[jQuery] Problem with manipulating imagemaps?
[sorry if this is a duplicate - it looks like I sent the first one to the old list address] My application uses client side imagemaps to allow the user to interact with a server-drawn dynamic image. So to do that, each time the image is changed, it needs to download a new imagemap with new areas (things have moved within the image). Here's my code to do that: $.get('editor-backend.php',{ map: mapfile, cmd: "imagemap" }, function(cont) { $('map#weathermap_imap').empty() $('map#weathermap_imap').append(cont);
Next Page