[jQuery] Extending tablesorter to change single variable?
I wish bind tablesorter's sorting magic to anchor's within a TH element evident in the following expression: $tableHeaders = $("thead th a",table); // line 298, Version 2.0.3 [1] By default the entire TH element is bound. Ideally I wish to extend someone else's code, rather then just hack at it. Tablesorter has available its own widget system, but I'm not sure how to tap into it. Is this worthy of a widget? [1] http://tablesorter.com/jquery.tablesorter.js -- sime
[jQuery] Not "current" clicked on menu items stay selected in IE but not in FF
In IE, when you click on a top navigation item, that menu item stays selected as though it was the "current" item, indicating the current page. This only happens in IE but not in Firefox. The only way for the non-current nav item to revert back to the same background color as the rest of the non-current items is by clicking anywhere other than that nav item. http://www.my411family.com/indexTTest.php Please help me figure this out. Thanks in advance.
[jQuery] tablesorter -- need help sorting hyperlinks
posting again because I wasn't subscribed to the mailing list before. So, I have a table that has a few text and date fields, as well as two hyperlink fields. The hyperlinks are sorting by the url instead of the description of the link, which is how I would like it to work. I would think that something like the following would work, code I pulled from an example on the tablesorter website. var myTextExtraction = function(node) { // extract data from markup and return it return node.childNodes[0].childNodes[0].innerHTML;
[jQuery] Looking for always vertically centered select box....
I'm not sure how to describe this any better than the headline. I'm at the last stage of a project so if this is available as a plugin it would save me the time to create it. Essentially, when clicking a select box with numerical or time values, instead of the available choices dropping down or up, the selected value/time would appear in the center of the box. Later times would appear in a selectable box above and earlier times would appear in a box below. Is there anything out there already like
[jQuery] blockUI problem with IE - piggybacked unblock wont work
Hello, I got a login modal dialog, where there are 3 buttons, cancel, login and register. if the user clicks register the following code executes: $('#aEnroll').click(function() { $('#imgEnroll').attr('src', context + '/img/enr.gif'); clearLDiv(); $.unblockUI( { onUnblock: function() { $.blockUI({ centerX: true, centerY: 0, message: $('#divRegister'), css: { top: '200px', width: '300px', border: '5px solid #535353', padding: '10px', backgroundColor: '#fff', '-border-radius': '20px', '-webkit-border-radius':
[jQuery] How do I fade images onLoad, on the fly?
Hey guys So I have a pretty basic portfolio site and I'd like to add some subtle effects to it. Site is here http://www.hbeckett.com Here is what I'm trying to do: As an image is loaded, fade it in. Repeat for all images. Currently I know how to fade in the entire page, and I am using this script: $(window).load(function () { $("#masthead").fadeIn(1000); $("#container").fadeIn(4000); }); However, the above technique makes the user wait too long before seeing any actual content, so I'd rather
[jQuery] Firefox 3 and packed jQuery
Anyone else having problems with Firefox 3 and the packed version of jQuery? It seems that it is not loading when I have an iframe in which the jQuery script is called. It seems to not load it for some reason, and fire bug is confused about the $ symbol. Anyone experienced this?
[jQuery] Not "current" clicked on menu items stay selected in IE but not in FF
In IE, when you click on a top navigation item, that menu item stays selected as though it was the "current" item, indicating the current page. This only happens in IE but not in Firefox. http://www.my411family.com/indexTTest.php Please help me figure this out. Thanks in advance.
[jQuery] jQuery animate (help needed)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16674" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi!</FONT></DIV> <DIV><FONT face=Arial size=2>I'm rather new to js, jQuery (and this mail-list).</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I'm trying to make a fancy menu using jQuery.
[jQuery] Not "current" clicked on menu items stay selected in IE but not in FF
In IE, when you click on a top menu item, that menu item stays selected as though it was the "current" item, indicating the current page. This only happens in IE but not in Firefox. http://www.my411family.com/indexTTest.php Please help me figure this out. Thanks in advance.
[jQuery] jQuery Validation Question - remote Rule
Hi All, Below is a validation method I used to validate if a a record already exists: GroupName: { required: true, minlength: 2, remote: "is_exists.asp?to=<%=Encrypt("CompanyGroups","", 0)%>¤t=<%=sGroupName%>" } How can I put additional data to the remote rule? The data I want to append came from one of the data in the form. Can I do the following? remote: "is_exists.asp?to=<%=Encrypt("CompanyGroups","",0)%>¤t=< %=sGroupName%>&assigned_to="+$('#AssignedTo').val()
[jQuery] thickbox, thickbox_reloaded, DOMWindow, thickbox-hacked?
thickbox: http://jquery.com/demo/thickbox/ thickbox_reloaded: http://dev.jquery.com/browser/trunk/plugins/thickbox_reloaded?rev=2029 DOMWindow: http://swip.codylindley.com/DOMWindowDemo.html thickbox-hacked: http://blogs.digitss.com/javascript/hacking-jquery-thickbox/ While I was looking for the option to override confirm/alert with thickbox, I found other versions. Personally, I find thickbox_reloaded (By Klaus Hartl) very useful; however I thought of asking regulars to know if there is any history
[jQuery] autocomplete - trigger function on data retrieval?
does anyone know if it is possible to trigger a function on an autocomplete retrieval ( using this autocomplete library http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ ) example: i'm currently using result() to store the id of a currently selected item in a hidden field when a user selects something. if they hit a new key, go forwards/backwards/etc, ie - when a new search is performed, i'd like to catch that and result that id to null. is this possible on the current version or should
[jQuery] How do I write a JQuery expression for this?
Within a span with class "TreeView", there is a table. Within the table, there are TD's. I want to select the TD's whose content ends in ".pdf". How would I go about writing an expression to, say, apply a class to only those nodes? Thanks for your help, - Dave
[jQuery] Feedback for new plugin idea: ui.querybuilder
Hi all, I've started designing a jQuery UI plugin for building complex search queries in a visual fashion, and wanted to see what people though, or if people had any suggestions. Once the plugin is finished, anyone is welcome to use it of course. I also posted this message in the jQuery UI group, but I thought I'd post it here as well for those who aren't members of the UI group. I. Overview The goal of the plugin is to create a UI component for piecing together complex multi-component search queries
[jQuery] jScrollPane and Tabs 3
I'm attempting to use both jScrollPane and Tabs 3 in the same screen but for some reason it doesn't want to work... I'm very new to this so I'm sure it's something very simple that I'm doing wrong. Basically if I include: <script type="text/javascript" src="js/jScrollPane.js"></script> then all I get, where the scrolling panel is supposed to appear in the tabbed section is a blank area. If I then remove that script then the panel appears (obviously just the content with no scroll bars or anything)
[jQuery] changing H6 headers in H1 using Jquery?
Hi, I have been trying to improve the SEO on one of my sites, somebody has told me that there's a way to change the code without hard coding, but using a Jquery script...is this true? can you tell me more?? cheers! -- View this message in context: http://www.nabble.com/changing-H6-headers-in-H1-using-Jquery--tp18565101s27240p18565101.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Binding click events to append()'d links
Hi everyone. The short of it: I'm making a sessions shopping cart and using jQuery to create the list of items as <li>'s that are appended to a <ul>. Each <li> has a link at the end that I want the user to be able to click on to remove this <li> from th <ul>. I'm scratching my head when it comes to referencing a hyperlink (a href) that has been added to the page after the dom is loaded. The user adds <li>'s to an <ul> via a form. This part works. I need help with two things. 1). Binding the same
[jQuery] Textarea Question
I was trying to check a textarea to make sure it has a valid number of characters. The code below selects the textarea by ID. This works for Firefox, but not for IE. Is there something I am doing incorrectly here? if ($("textarea#reason").val().length < 1 || $ ("textarea#reason").val().length > 500) { ...display fail message... } Thanks, ~K
[jQuery] Minifying
I was curious what the jQuery guys use to minify their files? I saw there are two big ones out there, JSMin and YUI Compressor and was just curious which jQuery uses and if there are any special settings they use. Thanks in advance!
[jQuery] Farbtastic - need some help bad.
Hi All, i'm going crazy trying to get a pretty basic feature implemented with Farbtastic. I'm fairly new to jQuery so i hope this is just me being thick. what I want to do is have 3 input boxes (just like in demo2.html), which also controls the color of an additional element, i.e. click input one, set color on wheel and see the color change on input one AND (for example) a div background color. All i've managed to do far is get a callback changing the div background color - I just can't seem to get
[jQuery] newbie jquery / jfeed question
I've been advised that jquery and jfeed is the best way of putting an rss link on my web page (novaconnection.com) The feed is to come from my new and currently under-populated blogsite (blog.novaconnection.com). The feed file is http://blog.novaconnection.com/syndication.axd. I am not knowingly guilty of having done much in java but have done a little html - I did my website from a template which I modified quite a bit. I would really appreciate a step by step muppet's guide on how to insert the
[jQuery] how to stop jquery execution
I have jquery "for loop" it runs for about an hour doing some processing before stopping. In the for loop it execute alot of jquery Ajax post statement. As the execution is quite long, I might want to stop the javascript sometime using another button in the form, where the button will can another javascript to stop it. But I am not sure what type of javascript can stop the jquery from processing. Another help on this, thank you. http://www.genericsmed.com http://www.generics.ws
[jQuery] [treeview] Async loading
Hello everyone! I'm playing around with the great treeview control. I've been using the .asyc extension to load huge trees into the page using ajax. Right now I just use settings { url: "page.php?parameters..."} as base page for request. This page will give back the content depending on the current expanding root. Right here everything works fine, but now I'm having the problem that I've two treeviews depending each other. In the first one I use the previous method, but for the second I need to change
[jQuery] [treeview] Async loading
Hello everyone! I'm playing around with the great treeview control. I've been using the .asyc extension to load huge trees into the page using ajax. Right now I just use settings { url: "page.php?parameters..."} as base page for request. This page will give back the content depending on the current expanding root. Right here everything works fine, but now I'm having the problem that I've two treeviews depending each other. In the first one I use the previous method, but for the second I need to change
[jQuery] trigger mouseover when hoverIntent active
Hi *, how can I trigger a mouseover event where hoverIntent is active? Firefox firebug console simply ignore my $('#kwick_flight').mouseover(); Tkz!
[jQuery] $("#id").focus
I am creating an anchor tag using JS DOM. Focus event handler is binded to it using $("#id").focus(function(){ displayDetails(this.id); }); I am focussing it using $("#id").focus(), then the displayDetails() is called for twice.
[jQuery] Forms and syntax: Radio buttons and tutorials?
Hi, I have a form (#fmSearch) with three radio buttons: <input name="options" value="a.html" id="option01" type="radio"> ... <input name="options" value="b.html" id="option02" type="radio"> ... <input name="options" value="c.html" id="option03" type="radio"> ... When testing for a specific radio button, which of the below techniques is faster/better? $('#option01').attr('checked', 'checked'); or $("input[@id='option01']:checked") If I had to guess, I would say the the first option is faster... but
[jQuery] How can the selector match the last 2 selected element.
The selector can match last one elememt by using ":last", but how about last n elements?Are there some simple way to do this?
Dragging a draggable outside it's parent
Hi, I'm having some difficulty making draggable divs be visible outside of their parent. Basically I have a search div that contains all the dragable divs, and I want to be able to drag any of those outside of the search div into different dropable containers, but once I reach the edge of the parent (search) div, I can no longer see them. Any ideas? None of the demos I've found show dragging outside of a parent. I've tried the following without success: $(document).ready(function() { $(".block").draggable({helper:'clone',
[jQuery] .slice() a specific number of characters?
I am wondering if it is possible to use the .slice() method to keep 6 characters on the end of a URL in a href attribute, then append a new URL to the beginning? Or is there a better method to do this?
[jQuery] Function + Isdate
Hi, everyone, How I can use the function "isdate" in jQuery Thank you. Spanish: Hola a todos, como puedo usar la función "Isdate" en Jquery. Muchas Gracias. Don Quijote de Nicaragua. Elder Soto. Español:
[jQuery] jQuery.com Broken?
Hello, The website is not rendering the CSS.
[jQuery] Using $.post with complex JSON structures
Hi, I am having trouble using $.post with complex JSON structures. Specifically, when I post an object that contains an object or array as a value, the nested object posts as the string "[object+object]" . Sample code: sampleJSON = {}; sampleJSON = { "a" : "b", "c" : {"d": "e", "f":"g"}, "h": "i"}; $.post('spit.php', sampleJSON , function(txt){ console.log(txt); } ); What I am really hoping to do is: complexJSON = {}; complexJSON = {"title":"abcd", "playlist": [ {"url": "url" }, {"url": "url" },
[jQuery] Problems parsing posted array of objects
Hello, I have this on my client-side: <script language="javascript" type="text/javascript"> function BigAction(inputdata) { var url = 'index2.php'; $('#progressIndicator').show('fast', function () { $.post(url, inputdata, function(data) { $.each(data.items, function(i,item){ $(item.id).html(item.html); }); $('#progressIndicator').hide('fast'); }, "json"); }); return false; }//function BigAction(inputdata)
[jQuery] resize object embeded inside jqDnR
Im using http://dev.iceburg.net/jquery/jqDnR/ script in which i display embed video from youtube... Need help in modifing script so that it changes width and height of embed while i Resize jqdnr window... so i would need to add $('embed').attr({'width' : 'xxx'}) somewhere in script also i dont need opacity. Thx.
[jQuery] Getting image src while using iepngfix
<div dir="ltr">Hey guys, I do have an image overlay running at: <a href="http://preview.ndoki.de/">http://preview.ndoki.de/</a> It works like a charm in all browsers, except IE6. I noticed that it does not work, because the iepngfix script changes the src-attribute of the images, since my navigation is made up from transparent PNGs. But the jQuery rollover script relies on the src-value, since it swaps out the image by altering its source. Is there any way to make jQuery retrieve the real, as in
[jQuery] Announcing Cascade plugin
Hi all, I have had this plugin in use for a while and it is ready for the wild. This plugin originally was conceived to simply handle the canonical cascade requirement of select elements filtering other select element options, but has grown to deal with any similar behavior requirement . A demo has just been put out on http://dev.chayachronicles.com/jquery/cascade/index.html and the project page is at http://plugins.jquery.com/project/cascade . If there are any suggestions or requests, please let
[jQuery] get textarea content and display
Hi, I'm new to jQuery, so please take me slow :) I've got a textarea: <textarea cols="30" class="textarea" id="code" name="code"></textarea> And a div: <div id="code_preview"></div> For example if i want to write the code for embeding a youtube vid in the textarea i want the div to display the embeded vid. Help! :D
[jQuery] jQuery made these search tools possible, too
hello, I'm becoming quite enthusiastic about jQuery as it has made many solvable issues much more easier to handle. I'd like to introduce to you the following 2 search tools. Plugins used were jQuery UI (tabs and slider) and Cookie. If I had to choose one single most useful jQuery-aided feature on the site, it might be something as simple as toggling of checkboxes and visibility of multiple div-blocks in an one click. View the search results behind the first link to understand what I mean. PubMed
Next Page