[jQuery] IE bug in the Tab plugin
Hi, There seems to be an issue with the Tab plugin in IE 6.0 ... Try it at jQuery doc page : http://docs.jquery.com/UI/Tabs When the mouse hover the tabs or when tabs are clicked, they disappear and there's a lot of blinking. It does not happen in Firefox. Is there a fix for that ? Thanks
[jQuery] [validate] Validation plugin: class="cancel" requires double click to post.
I have a form with multiple fields that I'm validating (some with methods added for custom validation) with Jörn Zaeffere's excellent jQuery Validation plugin. How do you circumvent validation with specified submit controls (in other words, fire validation with some submit inputs, but do not fire validation with others)? I have added the class "cancel" to the required submit input, but this control now requires a double-click to submit?!? (verified in Firefox 3 and IE7) <input type="submit" name="ctl00$C$Proceed"
[jQuery] get onclick value
<a id="link1" onclick="target=_self" href="http://test.com/">link</a> alert( $("#link1").attr("onclick") ); expect will be target=_self but the result is function anonymous() { target=_self } any idea how could I only get target=_self back
get onclick value
EDIT: I found this problem only in IE, not in FF <a id="link1" onclick="target=_self" href="http://test.com/">link</a> alert( $("#link1").attr("onclick") ); expect will be target=_self but the result is function anonymous() { target=_self } any idea how could I only get target=_self back
[jQuery] page refreshs on form submit
Hi folks, I've searched the Internet for a while but couldn't find a reason why my problem occurs. So, I'm working on a jQuery-plugin for Grails and I'm struggling with an AJAX-submit of a form. The attached code, generated by the plugin, leads the browser (Opera 9.6, Firefox 3.0.3 working with jQuery 1.2.6) to show the result on a new page instead of calling the success-function. Maybe I'm just to tired at the moment (3 am here), but I can't see my mistake. Hopefully someone can help me =) Cheers
[jQuery] Impossible challenge: when bg image loads
It's possible to callback a function when a background image of an element, defined in css, finish to loads? Example: div#mydiv { background-image: url(files/bg.jpg); } Thanks.
[jQuery] Timeout is triggered after calling .abort() on xhr request
Hi! I'v found that aborting ajax request that has timeout set, doesn't stop timeout event from occuring. My code is something like: -------------------------------------------------- $.ajaxSetup({ timeout:120000 }); var req = $.ajax({url:AJAX_URLS.my_url, type: 'GET', dataType: 'json', error: function(data, textStatus, errorThrown){ this_obj.error_handler(data, textStatus, errorThrown); }, success: function(data) { this_obj.success_handler(data); } }); (...) // somewhere else: req.abort(); req =
[jQuery] SUPERFISH Supersubs problem in mozilla firefox
Hi all, I have been toiling over this nav system for many hours and have finalllllllllly got it looking tight in all the browsers....and I have one wee problem left to tackle. After browsing this board for a while and not finding an answer, I figured I would throw caution to the wind and post up a message. I have some very long submenu categories, so I have employed the supersubs plugin to help keep the widths looking tight. It is doing the trick on most browsers, but I am stumped when it comes to
[jQuery] Newbie question: how to reference an element via XML attribute.
Hi, everyone. Sorry for such simple question but not being familiar with jQuery I just can´t find how to do this: The objective is to change the content several elements of a page loading an XML file via the "get" function. The XML file: <?xml version="1.0" encoding="UTF-8"?> <Texts> <item id="Txt1">Some text in english</item> <item id="Txt2">Some more text in ENG</item> </Texts> The HTML code: <span id="Txt1"></span> <span id="Txt2"></span> -->>>> Note each item in the XML
[jQuery] Odd behavior in IE with select boxes
I'm seeing some odd behavior in IE with my SELECT boxes. In the static HTML, I have the following: <label for="type" class="dialog first">Select Type</label> <select id="type" class="dialog first"> <option selected value="">--- Type ---</option> </select> In JavaScript, I have the following: $.get("create.do", params, function(data) { if( $('option', idSel).length > 0 ) { var firstOption = $('option', idSel); $(idSel).replaceWith(data); $(idSel).prepend(firstOption);
[jQuery] tablesorter AJAX resort
I have an table that a user can sort by selecting one or more columns. A user can then do a search on the table which will clear out the tbody and then insert new table rows into the <tbody>. When this happens the table headings still have the user selections for which columns they want sorted, but the table is NOT sorted because of the ajax call and subsequent update to the tbody. I do this after the ajax update of the table. $("#sortable_table").trigger("update"); I know I have to do $("#sortable_table").trigger("sorton",OPTIONS)
[jQuery] what is the best way to do this
<div dir="ltr">Hi I use jquery to filter a dataset based on classes. Each item has a class of the profile that news item is in so lets say <div class="profile1"> <div class="profile2"> <div class="profile3"> nof in a forum i check checkbox for profile 1 and 3 and now i need to have have the classes with profile 1 and 3 set to a new class whats the best way to go about his. </div>
[jQuery] startsWith / endsWith
Hi, it would be nice to find these two functionalities in the jQuery Utilities/String operations, beside trim(). No ? -- View this message in context: http://www.nabble.com/startsWith---endsWith-tp19997960s27240p19997960.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jqmodal overlay is flashing with internet explorer
Hi folks, My problem is, that when I open a jqmodal window, for a short time, the overlay has full opacity. This problem only occours with Internet Explorer. I'm very thankfull that this problem also happen on the official jqmodal site, when you open example 6, the alert() override. I hope this helps you, to help me ;). Greetings Tim
[jQuery] Slide Show (S6) Autoplay Addon Beta (w/ Scroll-Up Effect) - jQuery Animate in Action
Hello, At yesterday's Vancouver Ajax Hack Night inspired by Karl Swedberg's Scroll Up Headline Reader jQuery Tutorial [1] I put together an autoplay addon (Beta version) for the S6 slide show package. Using jQuery's animate[2] function lets you loop through slides in autoplay with a scroll-up effect and more. It's as easy as replacing: $( cid ).hide(); // hide current slide $( nid ).show(); // show next slide with: var cheight = $( cid ).outerHeight(); $( cid ).animate({top: -(cheight+5)},"slow");
[jQuery] minify + gzip??????? stupid question i know but please explain...
the recomendation out there is serve your JS "minified + gzipped".... ok, i downloaded the YUI minified and use it to minify all my files (~50% size reduction)... now whats all this talk about gzipping? do i have to manually download gzip and do the same thing? AFTER I minify the file? (or write a batch that does both?) or if i enable mod_deflate it takes care of the gzipping? thanks! :)
[jQuery] Using multiple selectors
I've a form like <form id="Test" ...> <fieldset> <table ...> <tbody> <tr> <td><input name="Prefix"></td> Now I try to access it in the following way: $('#Test, Prefix').value = 'Testing"; I also tried $('#Test', 'Prefix').value = 'Testing"; with no success. Any idea what's wrong? O. Wyss
[jQuery] BlockUI blacks-out whole screen (BlockUI2.0x, IE7). Opacity?
Hi there, I am using jQuery 1.2.6 and BlockUI 2.09 (09/16/2008) on a local server, because of a school project. The BlockUI works perfectly in FireFox (2x and 3x) but I'm having problems in IE7; it blacks-out the whole screen. Only the 'loading'-text is visible; the *website* is gone. My opacity is 0.5, but this seems not to work in IE7. Does anyone got a solution? I have searched Google and forums, but nobody seemed to have a solution to my problem. Thanks for any reply!
[jQuery] Problems with find()
Hi, I'm having some problems with a plugin I'm developing. I'm using '$(this).find('whatever')' to locate the relevant elements within the html code, which works fine if just one instance of the plugin is initialised. However, if multiple versions are called they start to conflict with each other because they seem to be referencing the same elements. I thought that find() would only locate descendant elements. E.g. $('#myList').find('li'); Would only find <li> elements that descended from <ul id="myList">.
[jQuery] superfish request- supersubs (left/right menu)
Could the supersubs function also include an option to display the menu, left or right. It seems currently it depends on this line of code: // update offset position of descendant ul to reflect new width of parent .each(function(){ var $childUl = $('>ul',this); var offsetDirection = $childUl.css('left')!==undefined ? 'left' : 'right'; $childUl.css(offsetDirection,emWidth); }) for me this isn't working cause
[jQuery] Replacing special characters from Ajax - xml data
Hi, I've got a xml feed that I'm getting from an external url, it's in utf-8 format and loads fine (looks perfect if I just copy it into the local xml file). But the problem is that our way of getting this xml file which is something the company have coded earlier (old now) seems to encode it as something other than utf-8. So when I output the data special characters like our æøå (å and such) turns into garble. I can probably get this code of ours changed internally, but in the meantime it
[jQuery] Hover In/Out with quick mouse movements
So I have this bug... I have an initial div set to hide on document init, and fadeIn when I hover over the parent div, then fadeOut when I hover back out of the parent div. When I move the mouse fast in and out of the parent div, the child div seems to queue up the movements so after I stop moving the mouse, the fadeIn and fadeOut effects keep running until they have caught up with the mouse movements. Any ideas how to fix this? Still getting my head around jQuery and javascript, so any help would
[jQuery] how can i query all fields with values in a form
hi friends, i wanted to reference a field by it's name, in the form it is found. my way was: var inputs = jQuery(the_form).find('input'); //a list of fields var field = jQuery(inputs).filter('[name='+fieldname+']'); my problem is, that inputs doesn't contain textarea and select fields. is there a more complete solution? i imagine a sum of arrays similar to inputs. any way to put an or in this query? best regards, alex
[jQuery] SerialScroll navigation modification question
<div dir="ltr">Hi I am using the serialscroll on my site to page through a news resultset. I am using the naviagation option that automatically turns a given list into the naviagation for this scroller. However I would like to have the link in the ul have a new class when its clicked so I can style this differently, whats the best way to do this. thanks in advance Armand </div>
[jQuery] Lightbox Plugin wanted
I'm looking for a jquery lightbox plugin for a screenshot tour. I want to present an image in a lightbox with a text below the image and a link to the next image. When the user clicks the link, the next image and the next text should be displayed, again with a link to the next screenshot. - The tour should start with a click on a text link. Most lightbox scripts I found work if you show all images as thumbs on the original html page. But I don't want the images to be visible at the original page
[jQuery] treeview: options 'animated' and 'speed'
In an older version of my application, I applied option 'speed: "fast"' to my treeview. For a more recent version I wanted to find out exactly which settings are applicable for this option, but I could't find any documentation on it. The 'animated' option is documented though and because it can be set to "fast" as well, I figured it was sort of a replacement for 'speed'. Apparently it isn't though and 'animation' has a very nasty side effects on my treeview, giving me problems withe the rendering
[jQuery] UI/Sortables beginner understanding problem
Hello I successfully created two UI/Sortables lists, that are connectWith each other. The lists have a decimal numbering, so it looks like the two lists are diplayed in two rows as one: 1. first List 2. blu 3. blubb 4. foo 5. second list 6. bar 7. foobar The UI docs are not clear enough to me. They lack of examples. Sorry I am a beginner.... ;-) http://docs.jquery.com/UI/Sortables http://docs.jquery.com/UI/Sortables/sortable#options How can I access the ui.item (the current dragged element) to change
[jQuery] how to store xml in a variable
Hello! I need to store in object variables xml data contained in different xml files. The code i came up with does not seem to function properly. Can you tell me what i'm doing wrong? $(document).ready(function() { // To preload more files, add them to the filesToLoad array. var filesToLoad = [{ instance: 'ds_projects_XML', file: 'projects/datascapes.xml' }, { instance: 'ds_people_XML', file: 'people/datascapes.xml'}]; for (var i = 0; i < filesToLoad.length; i++) { var $file = filesToLoad[i].file;
[jQuery] AJAX/JSON/PHP function works in Safari/FF but not in IE
This code works flawless in Safari and FF but not in any IE. Can anyone see the problem? $(document).ready(function() { $("#jquery_spinner_2").hide(function() { first = true; teaser(function() { $("#jquery_spinner_2").hide(function() { $("#jquery_spinner_1").fadeIn('slow') }); }); teaser(); }); function teaser() { var spinnerContainer_1 = $('#jquery_spinner_1'); var spinnerContainer_2 = $('#jquery_spinner_2'); $.ajax({ url: '/_library/ajax.php', data: 'ajax-action=getStartImages', dataType: 'json',
[jQuery] AJAX/JSON/PHP function works in Safair/FF but not in IE
This code works flawless in Safari and FF but not in any IE. Kan anyone see the problem? $(document).ready(function() { $("#jquery_spinner_2").hide(function() { first = true; teaser(function() { $("#jquery_spinner_2").hide(function() { $("#jquery_spinner_1").fadeIn('slow') }); }); teaser(); }); function teaser() { var spinnerContainer_1 = $('#jquery_spinner_1'); var spinnerContainer_2 = $('#jquery_spinner_2');
[jQuery] AJAX/JSON/PHP function works in Safari/FF but not in IE
This code works flawless in Safari and FF but not in any IE. Kan anyone see the problem? $(document).ready(function() { $("#jquery_spinner_2").hide(function() { first = true; teaser(function() { $("#jquery_spinner_2").hide(function() { $("#jquery_spinner_1").fadeIn('slow') }); }); teaser(); }); function teaser() { var spinnerContainer_1 = $('#jquery_spinner_1'); var spinnerContainer_2 = $('#jquery_spinner_2');
[jQuery] AJAX/JSON/PHP function works in Safari/FF but not in IE
This code works flawless in Safari and FF but not in any IE. Kan anyone see the problem? $(document).ready(function() { $("#jquery_spinner_2").hide(function() { first = true; teaser(function() { $("#jquery_spinner_2").hide(function() { $("#jquery_spinner_1").fadeIn('slow') }); }); teaser(); }); function teaser() { var spinnerContainer_1 = $('#jquery_spinner_1'); var spinnerContainer_2 = $('#jquery_spinner_2');
[jQuery] [validate] Validation code in separate file, fails to work
Hello! I am curious how I can add all the validation code in a separate file. I have put the code in a javascript file then included it. Only it ain't working then. Do I need to do something special for this work? I have like this in the file: $(document).ready(function() { var validator = ....more_code_here... } and then I include in the normal way in the HTML document Yours, Weyert
[jQuery] making style changes on keydown event
Hi All, I am new to jQuery and need some help. I am writing a custom suggest box in jQuery. One behavior I am trying to achieve is highlight suggestions on keydown on keyup events. I have written css classes for it and I am using toggleClass in event handler. But problem I am facing is that the style changes are done as long as event is live. Let me explain it, I am changing background- color on keydown event, the color changes on keydown event but as soon as I release key the background-color gets
[jQuery] thusharaweerasingha@gmail.com has invited you to have a 3D avatar chat
<img width="600" height="0" src="http://www.imvu.com/catalog/web_gotmail.php?userId=30551333&type=invite&token=0I6TK5Y1CYSABWAWZXFFK5" /> <table width="600" cellpadding="0" cellspacing="0" border="0"> <tr> <td><a href="http://www.imvu.com/email_redirect.php?source=new_invite_email.html&customers_id=recipient_is_not_a_customer&destination=http%3A%2F%2Fwww.imvu.com%2Fcatalog%2Fweb_invite_landing.php%3Ffrom%3Dinvited%26userId%3D30551333%26token%3D0I6TK5Y1CYSABWAWZXFFK5" target="_blank"><img src="http://www.imvu.com/catalog/web_images/html_mails/invite_blu_600_hdr.gif"
Problem with imported style in text shadow with jquery
Hi; I have used this script for text shadow. http://eyebulb.com/dropshadow/ When css is in html file, every thing is ok. But when I ımport external css i cant see any style in my page, and i cannot use this script in my designs with imported styles. My example file is http://rapidshare.com/files/154154471/jq.rar.html How can I solve this problem. Thanks in advance
[jQuery] Pack or Min | Which is better for faster loading?
<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] [ANN] S6 - Easier to Understand and Extend S5 Rewrite using jQuery
Hello, For the Slide Show (S9) gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read I've created a rewrite of Eric Meyer's S5 JavaScript code using the jQuery JavaScript library. The idea is that the new code (S6) is easier to understand and easier to extend. You can find the code online @ http://slideshow.rubyforge.org/svn/trunk/lib/templates/s6/slides.js and compare it to http://slideshow.rubyforge.org/svn/trunk/lib/templates/s5/slides.js
[jQuery] Translate standard HREF's into JavaScript expressions -- string manipulation help..
Just needing some pointers on jQuery string manipulation I have a content management system - in which I am applying experimental (jQuery) ajax functions - these work OK - ! But ather than hack the CMS source code, I want to create a function that replaces the standard hrefs that the CMS generates
[jQuery] Superfish Basic (horizontal)- How to go right across the screen
Hi everyone... [FULL width across the entire page needed] Loving Superfish.... got the basic example up... just need to to go RIGHT across the entire screen even if there's just the 4 menu items on the left. Also i'd like to remove the padding and be able to have it totally at the top of the page... I have'nt been able to figure out, yet.... how to get it to go full width... Can anyone tell me what I change in the css? Geez, that does feel like a silly question though it could be one of those ones
Next Page