[jQuery] Style Horizontal Scrollbar
Hi all,<div> </div><div>I'm trying to scroll a horizontal scrollbar and having some troubles. I've been searching far and wide and only come up with scrollpane so far - which works for vertical scrollbars, but not Horizontal. </div> <div> </div><div>Has anybody managed to style a horizontal scrollbar for a div, (with overflow set to :auto), using JQuery? Would really appreciate any links.</div><div> </div><div>Cheers</div><div>Paul</div>
[jQuery] minification
How the jquery code was minified? I mean it's about 56 kB, while yui compressor gives a 72 kB result. As I saw it's not obfuscated, only minified, so I'm really intrested in the way you did this.
[jQuery] jquery_ajax + servlet problem
It takes me almost half a day , but I haven't solve it ,I don't know why . I would be much appreciate for your help... $(document).ready(function(){ alert("can show"); $("#button").click(function(){ alert("when click button , can show "); $.post("AddComment",null,function(data){ // AddComment is a servlet name alert("here can't show"); },"json"); }); }); servlet ,root ,"servlets/AddComment", public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
[jQuery] jQuery Form plugin, the checkbox and the formData array
Hi I am using jQuery's 'Form Plugin' (available at http://www.malsup.com/jquery/form) to submit my form. Just before submitting form the plugin runs (using 'beforeSubmit:' option) validation callback function. This CB function uses 'formData' - an array of objects representing the name and value of each field that will be sent to the server. The problem is that this CB function finds only checked checkboxes. Due to this issue the array 'formData' index of all form elements changes depending on the
[jQuery] Beginner Question
Hello, Am using the jQuery treeview plugin Would like the folders in the tree to open/close only when the user clicks on the folder or the [+] sign. Right now it opens/closes also when one clicks on the text. (This messes up my application since I have a checkbox on each folder. After a person opens the folder, when he clicks the checkbox, it closes the folder!) thnx a million
[jQuery] jquery and netbeans 6.5
Is anybody using netBeans as IDE? It looks promising but i can't get it to work properly. I get some of the functions but not all of them. (http://www.netbeans.org/download/flash/js/javascript_demo.html)
[jQuery] highlight errors
Is it possible to highlight all the text boxes in a from even if there is an error in just one of the boxes whbile validating ?
Alter rating plugin to submit on click
Hello, I'm using this script for rating: http://www.fyneworks.com/jquery/star-rating/ Currently, the script includes a submit button that allows the user to submit their chosen rating. I'd like to alter the code to submit the rating when the user clicks on a star, as opposed to when they click submit. Given the nature of this script (the form has an onsubmit event handler which does the heavy lifting) it should be easy to convert it to perform the onsubmit on a radio button click. If you can help
Broken function
Hi, I'm having problems with this function. I'm trying to encapsulate a working script into a function. Here is my working code: <a href="#" onclick="$('#trackBlock01>').slideToggle();return false;">Show tracklist</a> <div class="track_block" id="trackBlock01"> ... </div> But when I move it into a function (and added this check box code) it doesn't work: function checkIt(theId) { alert(theId); // toggle the albums song list $('#trackBlock'+theId).slideToggle();
Issue with append() and variables
I'm a little new to JQuery and think I'm dealing with a fairly easy issue that I'm just overlooking. Here is what I'm trying to do (in case someone has an overall better way to do it): I have a single form that needs to act as multiple forms. Basically what I'm planning on doing is have a <select> box that the visitor can choose which form they need. When they select an option, it will add that section to the form. When the visitor submits the form, I don't want it to submit all of the different
[jQuery] [Ajax request]Can a dialog not show an alert message?
Hi everyone, I have an event that fires up a dialog, this all is working: 1) dialog have two buttons - Save button - Close button 2) when hitting the save button, it creates an Ajax Request, and on the succes event it must fire an alert with the message that comes back from the backend script. 3) in Firebug is the message back shown, but not in the Alert, how to deal with this? Thanks in advance
[jQuery] how to use drag and resize
$(ui.draggable).clone().appendTo($(this)).draggable().resizable() resizable is work draggable didn't work
[jQuery] Superfish vertical menu quirks???
OK - I have superfish functioning in vertical mode so that instead of dropping down, it "drops up" as the submenus unfold. However, there seems to be alignment issues with this that may be a quirk in the coding? What I mean is: if a second level list (child) has 3 <li> items or 4, or 5, the positioning of the sublist (child) changes. Instead of aligning the same way, relative to its parent. The same is true for different first level (parent) list items - the second levels align differently. Just
[jQuery] Nyro modal - how to check if the div is rendered
HI all, I am getting a synchronization problem when loading an ajax content via nyro modal - spent a few hours debugging it line-by-line. The problem is: sometimes, depending on internet connection, the modal window returns an error (object required) - mainly in IE. I could click the same link 10 times - rendered OK, and then itgenerates an error once. Here is the fragment of the code (narrowed with the debugger) if (currentSettings.autoSizable && (!currentSettings.width || ! currentSettings.height))
[jQuery] validate "confirm" method
Hi Using the validate plugin, I'd like to write a validation method called "confirm" that does the following: suppose my form has <input type="text" id="email" class="required email"> <input type="text" id="email_confirm" class="required email confirm"> what I'd like is the confirm method to look at the current object's id, strip off the "_confirm" and check that the value matches the corresponding field. I'd like this to be reusable. I've made several attempts at this but... thanks linoj
[jQuery] validate required "cant be blank"
Hi, using validate plugin, I'm aware you can change the message for an individual field, but can i change the default message, eg for required say "can't be blank" rather than "This field is required" thanks linoj
[jQuery] Dreamweaver jQuery Extension for jQuery 1.3?
I was only able to find jQuery 1.2 extension for Dreamweaver. Anyone know if there's a 1.3 in the works or if it's available somewhere? Thanks!
[jQuery] IE6 + SSL mixed content error
When attempting to use jquery form plugin to handle an image upload over SSL, IE 6 presents the dreaded "mixed content" error. This is because jquery form adds an iFrame with no src. An easy, cross- browser fix can be attained by changing the line that adds the iFrame to include this src: src='javascript:false;' I found this fix while researching the same problem in Thickbox: http://disjointthoughts.com/2007/04/25/thickbox-https-ie6-and-os-x-firefox-compatibility-issues/comment-page-1/#comment-8006
[jQuery] Pointers to disable default function if JS is enabled
folks, I am trying to puzzle something out. I am using Jquery 1.3.2. I have an animated list where the clicked item that opens and an already open item closes. Accordion like. I add or remove the classname "opened" to determine which element is open. sample HTML and JS below. That all works. Now from a UI standpoint, I'd like to accomplish the following: If the user doesn't have Javascript enabled, I want them to be able to click on the list title which takes them to the proper page. If they do have
[jQuery] tabs into tabs
Hi, probably a simple question ... if i put a new set of tabs into existing tabs, the new tabs does not show all i get are text hyperlinks... The code i use: so if yuou go to the config tab it should show the new set of tabs <div id="tabs"> <ul> <li><a href="#tabs-1">Home</a></li> <li><a href="#tabs-2">Config</a></li> <li><a href="#tabs-3">other</a></li> </ul> <div id="tabs-1"> Welkom bla bla bla </div> <div id="tabs-2"> <div id="tabs"> <ul> <li><a href="#tabs-1">config 1</a></li> <li><a href="#tabs-2">config2</a></li>
[jQuery] How to call jQuery function inside a DOM
Hi, I am trying to call/execute a jQuery function inside of another jQuery function, the scenario is after validation of a input text field to check if its empty, if empty display a error message and if it has value then execute another function, the code as below, adapted from this link http://yensdesign.com/2009/01/how-validate-forms-both-sides-using-php-jquery/ var name = $("#label"); var nameInfo = $("#nameInfo"); //On blur name.blur(validateName); //On key press name.keyup(validateName); $("#addPhoneExt").click(validateName);
[jQuery] [autocomplete] multiple items in <input> fails in Opera 9+
Hi! I am using the autocomplete plugin [1] (with jQuery 1.2.6) successfully to help users tag an item. Users are presented with an <input type="text"> field and can add multiple items in a comma separated list. The field is hooked up like this: $("#id_edittags").autocomplete(tags, { multiple: true, mustMatch: false, max: 4, autoFill: true }); This works in IE6, Firefox 3, Safari 3 but fails in Opera 9.64. In Opera the cursor is moved to the start of the input field after selecting
unbind help
<script> $(function(){ var hoverev = function () { $(".single-star").hover( function () { //do something here }, function () { //do something here } ); } }); $(".single-star").click(function () { $('#star-rating'+num3).each(function () { $(this).find('a').each(function() { $(this).unbind('hover', hhover)}) }); }); </script> I'd like to remove the hover event when I click on that element. I think my code's a mess, because when I
[jQuery] JQuery selectors and Umlaute
I'm trying to select an element with an id containing a German Umlaut: <input id="Bestätigung".../> Unfortunately the jquery selector $("#Bestätigung") is not returning any result. Is there a trick to make this work or is it not possible at all?
[jQuery] jCarousel : change an image array with a PHP function
Hello, I use jCarousel with dynamic content loading via Ajax from a PHP script, and it works fiiine :) But there's always a but :) The images are loaded via a php file called dynamaic_ajax_php.php, which contains an image array : $images = array( 'http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg', 'http://static.flickr.com/75/199481072_b4a0d09597_s.jpg', 'http://static.flickr.com/57/199481087_33ae73a8de_s.jpg', 'http://static.flickr.com/77/199481108_4359e6b971_s.jpg', 'http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg',
[jQuery] Apply alpha filter via css dynamically not working IE7
I am trying to apply this .applyOpacity { background: #fff; filter:alpha(opacity=50); -moz-opacity:0.50; -khtml-opacity: 0.50; opacity: 0.50; } To an existing DIV dynamically via a hover and in IE7 this fails. Is that correct? should I do this differently? this is function $("#talentThumb li a").hover(function(e) { $(this).parent().addClass('hoverSlide'); $('#talentThumb li a').addClass('applyOpacity'); $(this).toggleClass('applyOpacity'); }, function()
[jQuery] height of hidden element
content for "hidden_el" is loaded by Ajax from random source so the height of that element is not known up front. I would like to use "animation" function to show element(expand) on mouseover. How do I find out the height of that element(final height for animation purposes) when content is already loaded but it is hidden? <span id="show_el">Show element</div> <div id="hidden_el" style="display:none"></div> jq('#show_el').mouseover(function(){ jq('#hidden_el').css({height: 0}).animate( {height:
[jQuery] Preventing <A> link clicks before document.ready();
I have a problem I am sure others have encountered. I have .click() events attached to <a> links in my web page, but the user is clicking the links before the document.ready(); fires causing unexpected results. Is there anyway to stop this from happening? Thanks, Jeff
[jQuery] chaining events from different sources
I've been trying to work with animation timing, and haven't been able to get this to work properly. What I have is that I add a class to an element, and that element is transitioned via a css transition. I then want to hide a child element once the css transition is complete. I've tried to use a callback on the addClass, but it doesn't seem to work [code] $('div#header').addClass('holdForecastMove', function(){ $('div#holder').hide(); }); [/code] This is for an iphone targetted site, so using .animation
[jQuery] how to load("text with the + sign in it")
friends, i'm doing an ajax call via the load() function. The fetched string contains the "+" sign, and it gets removed in the resulting html. Why is that? note: i'm using php. The only way i found to have the string shown, is to urlencode() it. But i don't want to urlencode() entire texts that should remain human-readable. I'm sure there is an obvious solution, however i can't seem to find it. thank you in advance for your help in solving this weird issue. Alexandre
Toggling content
I have this: And I have no idea why it don't work.. <html> <head> <style> body{ font-size: 11px; } .stats-box-wrapper{ border: 1px #c3c3c3 solid; width: 300px; } .stats-box-header{ border-bottom: 1px #c3c3c3 solid; padding: 4px; margin: 0px 7px; } .stats-box-date{ padding: 2px; margin: 0px 7px; } .stats-box-date-overall{ padding: 2px; margin: 0px 7px; float: right; } .stats-box-date-today{ padding: 2px; margin:
Need a rescue with superfish menu - help!
Hi folks, First - I'm very sorry - but I know NOTHING about jQuery. And I'm in a jam. I no longer have support from the person who created the top and bottom superfish menu at downthefence.net. It's a Joomla! site, my first. The menu seemed to work fine at first, but it's become very inconsistent. It always loads/flashes vertically, then pops up horizontally where it should be. I think this is addressed here: http://www.learningjquery.com/2008/10/1 ... t#more-105 but I don't know enough to follow
Fire click event
Hello, I'm searching for a way to fire a click event on a href. I've searched the web but can't find a working solution. My test code: <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Test</title> <!-- load jquery --> <script src="jquery.js" type="text/javascript"></script> </head> <body> <a href="downloads/portfolio.pdf"
[jQuery] Hover keeps repeating
I have a hover area on the left (height:100%, width:100px) with an hover function which makes a number of divs animate (from left:-50px to left:20px) and which should return to initial position after leaving the hover_area. Altogether this should be pretty straightforward, but for some reason the "unhover" starts as soon as the hover finishes. The site is here, just hover over the left most 100px (and the code should be pretty clear as well): http://82.215.61.117/mal/ (and if you're interested in
Using jQuery with prototype and scriptalicious
Hi, I'm working on a project which requires both jQuery and prototype libraries. But I've been struggling to get the two libraries to play nicely, specifically I've been having trouble getting jQuery to work with scriptalicious. I've tried all of the methods listed here. None of them have worked for me. The project is pretty complex and requires a lot of javascript plugins. The code is below: <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.jush.js"></script>
[jQuery] getJSON() response into a table
I'm trying to display data from a json request into a table. Table heading disapear when the request finishes and I can't figure out how to fix it. Test case is hosted at: http://tinyurl.com/couflx TIA Maurício -- View this message in context: http://www.nabble.com/getJSON%28%29-response-into-a-table-tp22637265s27240p22637265.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jQuery Cycle Form Submit and Next Issue
I am trying to get the jQuery Cycle plugin to cycle through "slides" that contain images with a form for rating the images. Ideally I would like the form to submit and then go to the next "slide" that contains the image and the rating form. What I cannot seem to figure out is how to have it cycle through to the next "slide" and at the same time submit the form. As of now - when I click on submit - it goes to the next slide appropriately but the data does not get submitted. When I removed the ID from
[jQuery] tooltip
Does anyone know if it would be possible to somehow use jquery tooltip plugin to show a tooltip on it's normal anchor from another anchor on the page? I know it sounds strange, but I have a map with a legend at the right. I'm usuing jquery tooltip to show a tooltip on the map points, but I think it would be sweet to also have a legend on the right (a list of locations) and when you clicked or hovered over them, it would open the tooltip on the map area point. Any idears?
[jQuery] IE6 how can I parse custom XML?
It's works on FF, but not in IE6. Final task - it's just full parse of XML. But this example already don;t work in IE6. p = $('<nn><c1 ><h /><h /></c1><c1 /><c1 /></nn>') trace(p.children().length) in archive of this group i can't find answers. How I can fix this? Or maybe JQuery have some plugin for this?
Ticker doesn't work on first load
Hi, I've been working on a modified version of two merged wordpress themes, and everything went off without a hitch except for the first post of the jquery ticker/scroller won't load with the page. Once it cycles through the posts it works fine, and also if you click one the first post it works fine, but it only displays a blank space on the first load. I'm not very experienced with jQuery so I understand my explanation is lacking, you can view the problem here: http://fan-sites.org/wp If more information
Next Page