[jQuery] hover on image flickers.
I was playing around with jQuery and this gallery. The idea is that it shows a bigger image on hover. That part works, but the image just won't stop flickering once you move your mouse over it. I really don't see why it flickers. Why does it do that, and how would I be able to fix it? http://tijmensmit.com/dev/gallery.html Regards, Tijmen
[jQuery] 'Jerky' copy and extended lines of copy when composing e-mails
I once saw someones post describing the problem he was having; I'm experiencing the same maddening problem. Now, I can't find him and I can find no mention of a similar problem on any other the other avenues of req assistance. A person in this group posted a similar problem but with graphics or similar. I sure hope someone has stopped 'jerky copy and extended lines' and will give me some advice. I'd sure be grateful. Michael miniMarine
[jQuery] Including several plugins for ajax loaded content - not just one function
Hello, I'm having trouble because I have a site where entire pages are loaded through ajax, and I want all the jquery plugins/code that I have to apply to the loaded content. For example: I have a jQuery slideshow plugin, a spelling checker, a richtext editor that changes all the elements with .rte class to turn into richtext editors, and some jquery code that looks for any div with class .hideme and hides them. A total of 5 js files and some randomly generated js in the header. How can I make it
[jQuery] Jcarousel lite parameter problem
I am working on adding a feature to jcarousel lite which will allow for continous scrolling when a button is hovered over previous or next. So far I am about half way there but I need to write an ending statment to tell jquery to stop the scroll upon the hover out event. What I have in the commented brackets is the part I tried to write (which would just advance the carousel one more cell then stop), but that didnt take at all. Also for any one that is familiar with jcarousels inner workings, how
[jQuery] jQ Validate Remote on blur()?
I'm very happy with jQuery Validate, but am having difficulty with the following scenario: rules: "user[email]": { required: true, email: true, remote: '/signups/unique_email?lf=' + $ ('.radios[checked]').attr('id') }, As you can see, this will (by default) issue an Ajax call after every keypress. The hash value onkeyup:false stops this behavior for all validations, but what I really want is to let all client-side behaviors take place on keyup, but the Ajax call only on change of focus. Is there
[jQuery] Performance Question: A Single "document.ready" or multiple?
Hello, I'm new to jquery and I've been wondering if there are any performance implications to "packing" all of my jquery code into a single instance of "$(document).ready(function()..." or using separate ones for each goal I want to achieve? All the best, Jeffrey
[jQuery] Accordion and external controls
I have a accordion menu that expands and contracts with mouse over: $("dd").hide(); var overFn = function(){ $("dd:visible").slideUp("slow"); $(this).parent().next().slideDown("slow"); }; // hover delay var outFn = function(){}; $("dt a").hoverIntent({ over: overFn, sensitivity: 3, interval: 130, out: outFn }); I have another set of links on the page and I was wondering how I could add an on-click function that expanded the appropriate part of the accordion? This one is calling it by the
[jQuery] jquery ui and ajaxForm work only once then does not submit
Hi i'm stuck at the following. I have made a button that puts out a clear request for a form. The flow of this should be: dialog -> if yes -> use ajaxForm to submit -> reload section so in my document ready i have the following: (multiple buttons can exist) $(".blockClear").each(function (i) { $(this).bind("click", function () { var split = this.id.split("_"); var options = { target: "#checkOutput", url: "/index/clear", type: "POST", dataType: "json", beforeSend: function (){ }, success: function
[jQuery] jQuery and Browser Zoom
Is there a way to detect through jQuery when a user zoom the page with the browser options? Thanx in advance ^^
S3Slider Plugin - Showing up blank on my site. Please help.
http://www.karate-usa.com/testhome S3slider plugin is showing up blank. It's supposed to be in that big blank space under the nav bar. I followed the directions per the site. Please help!!
[jQuery] Does removing an element automatically remove bound events from memory?
Say you have a page that will alter the DOM extensively through user interaction as well as binding events to those elements. My question is, are bound events to removed elements automatically unbound/removed as well?
basic ajax question
Hey - I'm very new to jQuery - I'm trying to dynamically build a list of elements. What I'm thinking is to pull some template html out of an html file, add the item specific information (id, title, etc..), and append() it to the list element. Sound good so far? Now I have some very basic questions? I can grab my template html and add it to my list with: $.get("template.html",function(data){ $("#vh_list").append(data) ; }); but I'd like to append some variables to the html returned in 'data' before
[jQuery] Determining if form was submitted using jQuery
Hi there, I want to determine if a form has been submitted with jQuery or not. I'm using the jQuery form plugin, but I need to degrade gracefully if the user doesn't have JS enabled, so I want my function (server-side) to return something different depending on whether the form was submitted with AJAX or the old-school way. Thanks!
[jQuery] Interactive USA maps....
Anyone now of any interactive maps without FLASH? I want to be able to highlight states with color changes loading external DIV content. Erik
[jQuery] Problem Traversing
I am making a slideshow kind of thing on a website and im having some trouble going back and forth from element to element this is the code $(".next").click(function () { $(this).closest(".ego-text").hide(2500).queue(function () { $(this).next(".ego-text").show(2500); }); }); $(".back").click(function () { $(this).closest(".ego-text").hide(2500).queue(function () { $(this).prev(".ego-text").show(2500); }); }); As you can see I have a back and next button in every .ego-text when I start on
[solved]cant add event handler to dynamicly added li a
Hey all, So im trying to attach an event to a list item that I've added by clicking another button but no matter what I do I cant get the event handler to register. I'm sure there is a simple fix to this problem but I've read everything I could find about rebinding and I'm still confused as to why this wont work. It works fine if I add the link in the HTML. page is here - its just for learning so I haven't fixed css for all browsers/monitors etc http://patrick.horsley.08wdwe07.natcoll ... page.html#
[jQuery] Weird form submission problem using validate plugin
I have an ajax form in a CakePHP based website that I am trying to validate using the the jquery validation plugin. Every thing seems to work just fine on the validation portion, but even when all the fields are valid the form fails to submit. The weird part is that after the form is valid and the submit button clicked to no effect, it will submit if I go and delete the data from a required field and then click submit again (when the form should not be valid). Here is my code for the validation:
[jQuery] easy way to include clueTip content in form
Hello everyone, I am using a clueTip to show a couple of options (checkboxes) on a form. It took me quite awhile to realize that the cluetip checkboxes are a copy of the original group of checkboxes, existing outside of the form. Therefore, the checkboxes were not submitted in their state. So, the problem is: What is the correct way to write back the values of the cluetip checkboxes to the original ones upon closing the cluetip? I think I could write a function which on close iterates over the copy
[jQuery] question for traversing xml
hi, i have the xml below... this is a part of items of shoes and i need to select "all size", but not if their stock is 0. i can find the size with 0: var $test = $entry.find("sizes > size > stock:contains('0')"); but i don't know how to find all sizes with not 0. i used .not(), but it didn't work. anybody an idea? best regards from cologne, m <sizes> <size> <sizeid>23</sizeid> <sizebarcode>400</sizebarcode> <sizeshort> 40</sizeshort> <sizelong>
[jQuery] Regarding Tree view plugin
Hi, Regarding following link, I want to know that from where i should get all the images of checkbox. http://floatmargin.com/2008/jquery-checkbox-tree-plugin/comment-page-1/#comment-18 Looking for your positive response. Thanks in advance... kumardaya123@gmai.com
[jQuery] ajaxForm + jquery ui dialog + ajax won't work multiple times
Hi i'm stuck at the following. I have made a button that puts out a clear request for a form. The flow of this should be: dialog -> if yes -> use ajaxForm to submit -> reload section so in my document ready i have the following: (multiple buttons can exist) $(".blockClear").each(function (i) { $(this).bind("click", function () { var split = this.id.split("_"); var options = { target: "#checkOutput", url: "/index/clear", type: "POST", dataType: "json", beforeSend: function (){ }, success: function
[jQuery] splitter plugin: messes up the layout
Hi, I have problems getting the splitter plugin work the way it should. I'm using this version: http://methvin.com/splitter/ What I try to achieve is to split a given div container with a fixed size as many times as I wish. Turns out I can only split it a couple of times because at some point it'll start going beyond the borders of the outer-div-container with the fixed size. Thats not supposed to happen. Here is an example that's still working: http://tinyurl.com/djdzt6 Here is another one thats
[solved]oenst work on dynamically created li
Hi, I'm new, so to all of you HELLO . Btw, im Dutch so maybe my English isnt that good. I love Jquery but i've got some starting problems. Live demo: http://pauldulong.nl/jquery/dgm.php# When I click on the X the tab disappears, perfect, as it should be. But when I create a new tab and try to remove that one it doesn't do anything. What im I doing wrong? Dimby - Paul du long
[jQuery] CSS background-image doesn't work with jQ dynamic content?
Hello all! i've created a jQ table class which let me to create a table like this in my html page: <html> <head> <link rel="stylesheet" type="text/css" href="./css/table_bg.css"/> </head> <body> <!-- CODE STARTS FROM HERE --> <table> <thead> <tr> <th class="column">column one</th> <th class="column">column two</th> <th class="column">column three</th> <th class="column">column four</th> </tr> </thead> <tbody> <tr id="row_1"> <td class="cell">content one</td> <td class="cell">content two</td> <td
[jQuery] Can't get typed value of input
Hello, I have an input text field. I just can't get the typed value of it with: $("input#email_id").val(); It keeps giving me the initial value. Is there something I am missing? Regards Abhisek
Sortable: Show placeholder's position and give it a number
In some cases while sorting a lot of elements you might find it useful to know the exact numeric position of what you're dragging: <style type="text/css"> .ui-sort-position { text-align: center; font-size: 3.8em; } </style> <script javascript="text/javascript"> $("#sortable").sortable({ placeholder: 'ui-state-highlight ui-sort-position', helper: 'clone', sort: function(e,ui){ /* The trick is that jQuery hides the inline element while user drags an absolute
[jQuery] Determining if form was submitted using jQuery
Hi there, I want to determine if a form has been submitted with jQuery or not. I'm using the jQuery form plugin, but I need to degrade gracefully if the user doesn't have JS enabled, so I want my function (server-side) to return something different depending on whether the form was submitted with AJAX or the old-school way. Thanks!
JQuery Map Highlight please help..
Hello everyone, I'm quite new to jquery. I'm trying to highlight the areas of the image map with the maphightlight plugin. Following is my code..i have added some <div's> inside the <body> tag as compared to the example given at http://plugins.jquery.com/project/maphilight I can see the image map's but i cannot see the highlight..please help.. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[jQuery] google suggest
Hi, Hey please help i want to do google suggest i have customised many codes but none of them working . I tired to do own but how to get light window below the text box and get suggestions one by one. Please help me Thanks and regards, Anjith Kumar Garapati
[jQuery] JQuery problem trying to read XML from a site (xmlhttp)
Hey guys, I'm a bit new to JQuery, but from what i've read, it's the end all to xmlhttprequests. I pulled this from a website and modified it to work on mine. I'm using jQuery 1.3.2, btw... For the life of me, i cannot get it to pull the xml data from getstream.aspx. if you open it up in a browser, it shows as perfect xml. If i parse it with straight php, it works, but i want to use the jQuery Library with an ajax refresh. Am I screwing something up, or is there something I don't know about when
[jQuery] jcarousel lite plug in help needed
I am creating this carousel with jcarousel lite plug in but instead of getting a carousel I am just getting a vertical static list of images when loading it into a table cell with firefox. I have read that IE is notroious for having this problem as well. Upon pressing the next and prev buttons the list just hides and shows itself. I know that plug in is being called properly bc without the call for the script, the toggling of the list with the buttons doesnt work. I have gone over my code and several
[jQuery] Advertising in jquery docs: normal?
Hi there, Since the docs are based on a wiki, i wonder if this is intended or not by the jquery team: on this page, the links chapter contains an incentive to buy a jquery book. http://docs.jquery.com/Removeclass see: " For more details buy the jQuery Reference Guide here in this site http://www.packtpub.com/jQuery/book/mid/1004077zztq0 " Not that it's out of context,, irrelevant or overly visually invasive, but is this not a hidden advertisement? Is this allowed? Alexandre
[jQuery] forcing ajax request to stop
Hey, I'm looking for a way to force some known running ajax requests to stop before initiating another call.. I'm using the jQuery.ajax global events to monitor the active requests.. but in the jQuery docs, i was unable to find a method of forcing a processing request to actually stop... For example, in this case, if someone starts a "search" request.. but then changes there mind and wants to submit different request, I want the currently processing "search" request to be forced to stop before allowing
[jQuery] jQuery tabs problem with language
Hi, I have a problem implementing jQuery tabs using hebrew content in the li and div elements. I get the error "jQuery UI Tabs: Mismatching fragment identifier" when clicking on the tabs. Everything works perfect when the text is english but when I have hebrew in it it returns the above error. I am using jQuery 1.2.6 and UI version 1.5.3. Code: <div id="tabHolder"> <ul> <li><a href="#tabs-1">דוגמא</a></li>
[jQuery] submenu doesn't hide
url: bldd.nl/jsproblems/convertToJQuery.html this part of my code doesn't seem to work ------------ alert($expandedSiblings.size()); if ($expandedSiblings.size() > 0) { $expandedSiblings.slideUp(500, function(){ $heading.find('ul').slideDown(500); }); } ---------------- an already opened submenu isn't closed??? regards
[jQuery] Cycle - IE6 (only) layout break w/ LI fix
I have been trying to figure out why, when I add Cycle to a page, the #header displayed a 20px (approx) margin-bottom that wasn't specified - but ONLY in Win/IE6. Tested by adding Cycle, checking on Browsershots for IE6 (which always - W2K and XP - showed this problem) and IE7 (which never showed this problem), removing Cycle (resulting in no display problems), etc. HTML and CSS validate. I saw nothing in #header that could cause this. I read about a float bug w/IE6 and added position:relative, no
[jQuery] [validation] Changing class label on succes
Hey, my validation form works just fine but i've a problem with changing the class at a successful validation. My Code: success: function(label) { label.addClass('success').text("Ok!") }, errorPlacement: function(error, element) { error.appendTo( element.parent("td").next("td") ); }, highlight: function(element, errorClass) { $(element.form).find("label[for=" + element.name + "]").addClass (errorClass); }, unhighlight: function(element, errorClass) { $(element.form).find("label[for="
[jQuery] click thumbnail show large image in separate div, slide up image description in another div
Situation. I have several thumbnails next to a div with id of 'image holder'. Under that is another div with id of 'msg_body'. image_holder already shows first thumbnail's large view image and msg_body already shows first thumbnails description on page load. I want to be able to click next thumbnail and have that large image fade in the img-holder replacing previous and have new description slide up replacing previous msg_body and so on with each thumbnail click. I should be able to just click around
[jQuery] click thumbnail show large image in separate div, slide up image description in another div
Situation. I have several thumbnails next to a div with id of 'image holder'. Under that is another div with id of 'msg_body'. image_holder already shows first thumbnail's large view image and msg_body already shows first thumbnails description on page load. I want to be able to click next thumbnail and have that large image fade in the img-holder replacing previous and have new description slide up replacing previous msg_body and so on with each thumbnail click. I should be able to just click around
[jQuery] problems extracting links and redirecting to function
can anyone please see waht's wrong with this I want to get all <a> tags in the div #wiki_content and get the text from it and send into a function called searchDelay... im not getting as far as jumping into the $.each loop so not sure waht's wrong var links = $( "#wiki_content a" ); $.each( links, function( event ){ $(this).click(function( event ){ event.preventDefault(); var link = $(this).text(); searchDelay( link ); }); }); many thanks
Next Page