How to identify which event handler are being executed on mouseover/out ?
I'm working on a public website with a joomla widget based on jquery 1.7.1 It's a slideshow, which a 'back' and a 'forward' button. Actually they fade out on "mouseout" and fade in on mouse over. I REALLY NEED to keep visibles, because my client are crying about it ( LOL :) ) Is there a way to indetify wich html element is handling this events and then using probably .off disable this event handlers !?
How can I delay ajax requests?
How can I delay ajax requests? delay() function doesnt work. Please help me.
[jQuery] Onclick Not working
Am designing a website in that i have the latest news at the top and when users clicks it . am storing it in a recently viewed block , Am calling a javascript function for this process . In the latest am able to click all the titles and i can see the data getting loaded through jquery.min.js but unfortunately in recent am able to click only the first title the data gets loaded for the first onlt but for others it is not and when i click the title nothing is happening and this happens only in IE6/IE7
tooltip popout question
Hello, please look at my example at jsfiddle. I have a few questions. Only one cell displays tooltip correctly. Before mouse hover, I don't want to display a blank tooltip area. I want to hide it. Tooltip text displays in the center. It is correct, but I want to show it in the middle vertically as well.Thanks.
How to add caption to a slider
Hey Everyone! i have created a slider in which i am getting the images from database. It is a very basic slider only images are showing, i want to add caption and navigation arrows to it. This is my code, i have hard coded one image while the others comes from database, please tell me how to put caption and navigation arrows to it.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
issues in textbox while typing the textbox android Phonegap
Hai i have a text box and footer .while typing in the text box my footer moves up so i tried to hide the footer while typing by using onfocus and onblur.while typing the text footer is hide correctly and using onblur i show the footer. But to show the footer is very problem,when i click outside of the textbox then only the footer show..so it is problem Then i tried another method to hide and show ,By using keybord show and hide but that also not working correctly,,i dont know how to solve this problem?
How to animate scrollTop to an offset, when it is animating a font resize concurrently, changing the offset value
I've managed to create a zoom and scroll effect but it breaks if I have them run concurrently. When clicking on an element it is meant to zoom in scale with that element's depth (this works), and then scroll the page so that the top of the element is at the top of the viewport. This only works if I click on elements of equal depth to the current one, as the value of the offset is no longer valid after all the elements have been zoomed. Interrupting the process with an alert allows correct behaviour
jQuery with another library
hi, i am using multiple jquery scripts. one i could change easily: http://pastebin.com/D0RB351u . But when its used with another jquery script, the other one doesnt work anymore.. How can i fix that? I tried using "$.noConflict();" and replacing all $ with "jQuery", but it didnt work for me. (btw: i am an absolute jquery beginner, maybe i did something wrong) thanks a lot 4 your help!
Image croping
Hi, I have upload photo option.once they choose image i will save it database ... size 7*7 .... but now i would like to crop image once user pick image ... How i can do this with Jquery? Please some one help me!
Problem with managing the availability of items in select dropdown
Hi, I have a problem with the function of managing the availability of items in the dropdown (select) - Compute function. The problem is as follows: Code with jQuery code can be found here: http://jsfiddle.net/amarcinkowski/W7NHK/25/ I have a reservation form, where I use the datepicker, where I have two dates boxes: the start and the end, and two select form fields with a list of available cities. Depending on the selected dates the script calculate the number of days. If the number of days is
Another sticky note or post it note question
when a user create a post it note. I can drag and delete. But if I create another I can delete the new one but not the previous one. How do I keep the previous post it note draggable and so I can delete.
width of elements
This might be more of a html/css question but I'm not certain, so I'll make this my 1st point of call. I've added a click event handler to the elements of an unordered list. The problem is it responds to clicking anywhere in the horizontal space, including where the visible text ends. I'd like it to only answer to being clicked on the text itself. Update: Got the desired effect by making a new class just to insert a span in the contents of the list element and make it 'display: inline'.
AJAX doesn't get loaded
AJAX response doesn't get loaded on the page: janisrough.dyndns.biz/todo15.html This page was working. I can't find what I did. The AJAX data is returned in an array but but the rows don't get appended as unordered lists. The bug could be in the each function and it doesn't split out the values or it could be somewhere in the form? I don't get the alert('Load was performed') in firebug header. Thanks please help. I've been going over this for 2 days. (document).ready(function() { $.ajax({
is there an event for normal text hilighting?
(t = $("#contents .chapter")).click(zoomfunc = function(evt) { alert(evt); if(this != zoomednode) { var zoom, depth, t; if(!zoomednode) zoomednode = $(this).parents("ul")[0]; t = depth = $(this).parents("ul").length; zoom = 130; while(--t > 0) zoom *= 1.15; zoom += '%'; depth -= $(zoomednode).parents("ul").length; if(depth < 0) depth *= -1; zoomednode = this; $(contents).animate( { fontSize: zoom },
JQuery, Ajax Database Tooltip
Hey Guys, I'm still fairly new to JQuery. I'm creating a movie website and i'm trying to use JQuery and Ajax to create a bubble tooltip for whenever a user hovers over a movie. Once they hover over this movie the bubble tooltip will display with the movie's information. Of course the information will come from a database based off the movies ID. My php file has all ready been created so i just need to make the JQuery and Ajax connection. Is there a plugin specifically for this or can someone give
Need help on how to traverse json string data
Hi, Please help me out on how to access a json string using jquery as i am quite new to Jquery. I have a data json string as below which is rows of data as it should be passed to a grid [ {"RTC ID":"MNC12","Applicability":"IMQ","Attribute1":"Trigger","Attribute3":"","name":"65-4000/01310","Req Priority":"High"}, {"RTC ID":"MNC13","Applicability":"OQ","Attribute1":"Slope","Attribute3":"","name":"65-4000/01310","Req Priority":"Low"}, {"RTC ID":"MNC14","Applicability":"RFS","Attribute1":"Remote","Attribute3":"","name":"65-4000/01310","Req
im using jQuery dropdown menu, but once my submenu become 16 submenus, it comes in one very long vertical row, but i want to make it on horizontal.
hi, im using jQuery dropdown menu, but once my submenu become 16 submenus, it comes in one very long vertical row, but i want to make it on horizontal. so plz help me here is the code: $(document).ready(function(){ $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*) $("ul.topnav li span").click(function() { //When trigger is clicked... //Following events are applied to the subnav itself (moving subnav up and down)
Unspecified error in :focus filter ie9
I am getting "Unspecified error." from IE9 users. The error points to line 4651 in the uncompressed v1.7.2 jquery.js file. focus: function( elem ) { return elem === elem.ownerDocument.activeElement; }The call appears to come from the highlighted line in this code: var shippingDetailsFocused; $(document).ready(function(){ shippingDetailsFocused = $(':text:focus').first(); $(':text').focus(function(){ shippingDetailsFocused = $(this); }); });I can't
autocompletenot working
Hi all i am doing form submit when press enter this is working perfect mean while i am dong another forum autocomplete but is now working. but only autocomplete form working fine. where i am wrong please tell me thank you... <head> <link rel="stylesheet" type="text/css" media="all" href="./style.css"/> <link rel="stylesheet" href="./autostyle.css"> <script src="./js/jquery-1.7.2.js"></script> <script src="./js/jquery.ui.core.js"></script> <script src="./js/jquery.ui.widget.js"></script> <script
Add tootip to td
Hello, I saw a piece of code for adding tooltip to table cell. $('#grdList tr td:nth-child(5)').each(function(i) { if (i > 0) { //skip header var sContent = $(this).text(); $(this).attr("title", $(this).html()); if (sContent.length > 20) { $(this).text(sContent.substring(0,20) + '...'); } } }); grdList - table id td:nth-child(5) - column 5 I don't understand it. Is it an api or plugin? Thanks for advice.
Function .show/hide not working in chrome/IE8, fine in FF...
I, just started using jQuery,and i'm having a problem using the function .show()/.hide() to make a div appear and disapear when a certain option value is selected.It's working fine in firefox but not working at all in chrome and IE 8. This is the function code i'm using : $(function(){ $("#produtos").click(function(){ $("#produtos_valor").show("slow"); }); $("#novidades").click(function(){ $("#produtos_valor").hide("slow"); }); $("#servicos").click(function(){ $("#produtos_valor").hide("slow");
[jQuery] tablesorter 2.0 - Shiny Brand new documentation!
Hi List, After many late night i have managed to sort out a documentation/FAQ, for the new 2.0 release. I hope to have included the most common questions/problems + showing off the new features, but i might have missed some, so any feedback on this would be great! The new documentation is located here: <a href="http://lovepeacenukes.com/tablesorter/2.0/docs/">http://lovepeacenukes.com/tablesorter/2.0/docs/</a> The new tablesorter will be released next week.<br clear="all"> Best regards Christian
[jQuery] Select third column of the table
Dear all, If I want to select the 3rd column of the table, (e.g. 3 rows) $("tr > td:eq(2)") would returns only one <td>. $("tr").find("td:eq(2)") would returns 3 <td>. Is that ":eq(2)" is applied to the whole "tr>td" set? Is that correct?<br clear="all"> -- Best Regards, Jacky 網絡暴民 <a href="http://jacky.seezone.net">http://jacky.seezone.net</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Newbie question: how to play my animation in reverse upon second click
Hey ya'll, I'm slowly learning jQuery and starting to have some fun with it. I've set up an animation where if you click a certain anchor the animation plays. However, being new at this, I cannot figure out how to play the animation in reverse if the same anchor is clicked a second time. Here is an example of my sloppy script: <script> $("#animate").click(function(){ $(".box1, .box2, .box3, .box4").animate({ height: "98px", opacity: 1, marginTop: "109px", border: "1px solid #666", }, 200 ); });
[jQuery] IE: load()-related memory leak?
Greetings, I am using jQuery in AJAX-based Web-application that uses load() to update contents of (a part of) a Web page, through sequences like $("#pagepart").empty(); $("#pagepart").load(url, {}, afterload); The problem is that in IE a strange problem was detected: every time the above sequence is called, memory used by IE grows. No such effects either in Opera or in Firefox. Is this a known problem with IE? IE version: 6.0.3790.3959, jQuery - the latest (1.2.1). Thank you. With all respect, Konstantin
<textarea> and ajax with serialize()...HELP
I'm using ajax to process a form. But my form has textareas in them. Its not passing the textarea values. Here is my javascript code: $.get( "process_order.php", $("#order").serialize(), function(data){ $('#loader').hide(); if(data) { pTag = "<img src='http://www.heartofgold-usa.com/images/saved.png' width='200px'><br />Order Saved"; $('#popup').empty(); jQuery("#popup").append(pTag);
[jQuery] how to catch a scroll event for the document ...
i tried: $j('body').scroll( function() { console.info ('scrolling ...'); // do sth }); but it doesn't work ... Maybe the selector is wrong, but what is the correctr one ? micha
serialize returns nothing
I can't get the serialize function that is supposed to create a query string to work. My HTML contains one form with one input of type "text" inside it. Both of these return an empty string. var queryString = $('form').serialize(); var queryString = $('#myInputId').serialize(); What could I be doing wrong?
[jQuery] jQuery cycle and handling new request/page changed
Hi all, I have a slideshow, which repeats on different pages (for example / index-1.html, /index-2.html etc). Slideshow is in main template, shared by all other pages. What I'm trying to do is if page is changed from index-1 to index-2 (e.g. user clicks on some link on page), slideshow on index-2 will start where slideshow on index-1 ended. I'm using cookie for this - storing index of current slide every time cycle.after event occurs and try to start from this index if cookie is set: <script type="text/javascript">
[jQuery] Acessing Json Data
Hi, I'm sending an array encoded with Json in my PHP code server-side, but when I try to fetch it in JQuery, I don't know what is the type of the object I'm dealing with, and I can't get any information of it. I tried to access it with object.length, object[index] and so on, but I'm allways getting "undefined". PHP Code: //example array $arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5); echo json_encode($arr); JavaScriptCode: $.ajax ({ type: "POST",
Best chart/graph plugin
I am needing to create a "dashboard" of charts and graphs and have been looking around at all the many different plugins that can handle that. I am wanting to stay away from flash. What are you guys using? What is your favorite to use for charts and graphs?
[jQuery] Question about variable declaration
Hi :) in your plugins (I'm studying from the best here :))) I often find variable assignments like this: options = $.extend({ url: this.attr('action') || window.location.toString(), type: this.attr('method') || 'GET' }, options || {}); it's like url = this OR that. right? then I try, for example: var $sel = $('.left_selected') || $('.right_selected'); meaning $sel = $('.left_selected') but if you don't find any element with that class, $sel = $('.right_selected'). but this WON'T work :| where is
[jQuery] Declaring a new jquery variable
How can I declare a new jQuery variable? I want it to be global, but I don't want to use the window object. I know, a silly question. There shouldn't be any global variables, I know. But I need this for a temporary solution to a problem. I would like to access it like this: $.myvariable or $.myvariables.myvariable Thank you for your help!! Kia
[jQuery] iFixPng Improved
After using my own flavour of iFixPng for a long time now, I decided it was time to publish it, so the community can make use of it as well. Although the performance will be a bit slower, it has 2 important improvements to make the use of transparent PNGs more painless in IE6: * The image or element with a background image doesn't have to be visible for the fix to work. * background-position in all possible formats is now supported, including an IE absolute position fix. (bottom: -1px || bottom:
JQuery and XML
I am probably not doing this right, if so let me know. Using JQuery and .Ajax I and returning some XML. <Nodes> <Node> <Name>Title</Name> <Value>Foo<Value> <Name>Location</Name> <Value>Bar</Value> </Node> Etc. I am trying to retrieve all Value nodes for Titles. I have seen a bunch of examples for attribute selection but cannot get element selection and sibling relations. Anyone?
XML help..
hi, i am badly stuck, in need of 'SOS' help. THE PROBLEM-- my php server sends xml document as echos-- like echo "<option>".$value."</option>" i want to receive it on my user end using Ajax. here is my code ( i am usin CI) url: "<?=base_url();?>Main/prova", global: false, type: "POST", async: false, dataType: "html", // "xml doesn't work " data: "first_select="+ valore, //the name of the $_POST variable and its value success: function
Fade out an initial image to reveal home page
Hello, I am completely new to jQuery, and I don't even know how to approach or implement what I am trying to do. Before the home page of a site i've developed appears, I want the logo of the company to appear on the screen, then fade out to reveal the web page with full functionality. I also could do this be fading out the logo to reveal a static image of the home page which then could redirect to actual home page. Please help, and help provided is greatly appreciated! Thanks! Trevor
Rounded corners causes error in jQuery
Hello guys! I'm new to jQuery but i managed to have rounded corners using malsup's great plugin. I'm posting here because Internet Explorer gave me error on the jQuery itself, not in the plugin. This is the busillis: i used this code: [code] $(document).ready( function(){ $('#container').corner("24px"); $('.bloccoCentrale').corner("10px"); }); [/code] and it works flawlessly in Chrome and FF, but not in I.E. 7. Now... i tried to use CurvyCorners plugin and it doesn't work completely: i mean,
[jQuery] Select box plugin update
Updated my plugin for removing options from a select box. It now takes a regular expression as well as a string and number. http://www.texotela.co.uk/code/jquery/select/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] 3,6,9,12...
I'm trying to find out how to add a class to every third occurrence of an element. Basically, I have a DIV with an undefined number of DIVs inside of it, and I want to add a class to every third DIV
Next Page