[jQuery] 'add' missing unique?
I see jQuery.fn.add is not checking for duplicates (1.2.1) is that intentional or a bug ?
[jQuery] Change CSSClass
Hello, I have an anchor. I want to change its CSS class and also disable the clicking when it is clicked. Can I do this with JQuery? Thanks, Miguel
[jQuery] Add row and refresh tablesorter with pager.
Hi, First, thanks for the great jquery API and the tablesorter/pager plugin. They are really easy to use. I've had a need recently to dynamically add row and refresh the table. For now, I don't really care about refreshing the page at the page where the new row will be added, I just want the page/row count to be modified properly and the added row to be properly positionned in the sorted order. This is what I'm doing after appending the row: $("#table_partenaires").trigger("update"); $("#table_partenaires").trigger("appendCache");
[jQuery] Using jQuery to create XML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">Hi, Are there any examples of using jQuery to create some XML and then traversing that XML and modifying it? Guy </font> </body> </html>
[jQuery] [SITE SUBMISSION] http://www.pandora.com/
Just realized that <a href="http://pandora.com/">http://pandora.com/</a> is now using jQuery with their redesign/update.<br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com </a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a> <a href="http://www.benjaminsterling.com">http://www.benjaminsterling.com</a>
[jQuery] metadata plugin, please help
Hello, I'm using the metadata plugin as part of a photo tagging plugin I'm having a go at. I was wondering if it's possible to have multiple metadata sets in one classname eg. class="{name:'1'} {name:'2'}" would $.metadata({ type: 'class' }).name[0] return 1? are the properties accessible like an array? The other options are to use a custom attribute for each or thinking about it better still would be to use regular markup. That way the photo's tags would still be accessible and SEO friendly... Anyone
[jQuery] Displaying current page in Navigation & SubNavigation
Hi, I have been using this article as a reference: http://leftlogic.com/lounge/articles/auto-selecting_navigation to keep my main navigation style changes visible with current page selections. I am now at the point where I need to have both the global nav and sub nav showing current states. Currently this is my code, $(function(){ var path = location.pathname.substring(1); $('#subNav a[@href$="' + path + '"]').addClass('on'); $('#globalNavList a[@href$="' + path + '"]').addClass('on'); }); My current
[jQuery] Problem With update Ajax POST
Hello i'm new with jQuery and i'm trouble with it: I'm tryin to do an script like a ranking I have an mysql table to store the votes. I want to get no refreshs in my page updating the number of votes and the ranking position. the script is running here: http://200.198.106.172/beta Working for three clicks on the arrows in the third i follow the URL. The problem appears to be reloading the jquery over and over. But i don't no how to fix it, or make in other way. Here is the entire code: <!DOCTYPE
[jQuery] Problem With update Ajax POST
Hello i'm new with jQuery and i'm trouble with it: I'm tryin to do an script like a ranking I have an mysql table to store the votes. I want to get no refreshs in my page updating the number of votes and the ranking position. the script is running here: http://200.198.106.172/beta Working for three clicks on the arrows in the third i follow the URL. The problem appears to be reloading the jquery over and over. But i don't no how to fix it, or make in other way. Here is the entire code: <!DOCTYPE
[jQuery] jScrollPane refuses to display arrows in IE/Win
It's really hard when my friend jQuery doesn't Just Work. I'm building a site and attempting to use jScrollPane. Here's a sample URL: http://pl281.pairlitesite.com/events I'm using jQuery 1.2.1 along with jScrollPane (with dimensions and mousewheel) and superfish. Everything is just great in Firefox and Safari, but IE 6 and 7 will not display the arrows on the scroll bars. I checked things out in IE's DOM Inspector, and those elements are not being included. There's space for them on the page visually,
[jQuery] Problem With update Ajax POST
Hello i'm new with jQuery and i'm trouble with it: I'm tryin to do an script like a ranking I have an mysql table to store the votes. I want to get no refreshs in my page updating the number of votes and the ranking position. the script is running here: http://200.198.106.172/beta Working for three clicks on the arrows in the third i follow the URL. The problem appears to be reloading the jquery over and over. But i don't no how to fix it Here is the entire code: <!DOCTYPE html PUBLIC "-//W3C//DTD
[jQuery] "Universal Programming Language" concept...
Not to "spam" but if anyone is interested in a "Universal Programming Language" concept please visit the URL below. I respect the people of this group, so I wanted to spread the word.
[jQuery] liveQuery in jQuery core?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=687384020-08112007><FONT face=Arial size=2>Did liveQuery ever get moved into the core? I can't find evidence of it in the docs</FONT></SPAN></DIV> <DIV> </DIV> <DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century Gothic"> <DIV align=left><SPAN class=159130414-05012007><FONT
[jQuery] issue with new UI Datepicker
I'm trying to roll out a form with the new UI Datepicker and have an odd issue... Using the 'dialog' mode - I'm getting a form field popping up along with the calendar. I don't see this behavior on the demo - but I've stripped my code down to the bare minimum - grabbed all the latest (datepicker and BlockUI)out of the repo, still no luck. Screenshot: http://www.thecrumb.com/datepicker.gif Anyone using this successfully?? Jim
[jQuery] ajax "kill" jQuery script after load
Hi :) a have some problem on page http://www.ryznar.eu I use jQuery and LocalScroll plugin hen you click one ot this options: start umiejętności doświadczenie wykształcenie pozostałe page is scrolling then when you click menu projekty and come back to o mnie and again try click one of otpions: start umiejętności doświadczenie wykształcenie pozostałe content isn't scrolling but "jump" into some section of content [but only in FF and IE, in Opera nothing's happen] even I put #navigation in non-loaded
[jQuery] jQuery handlers getting varibles from caller...
I'm trying to figure out the best way to pass variables into jQuery using unobtrusive javascript... For example: Clicking a column row takes you to a URL. <table> <tr class="addNavigation" id="http://www.google.com"> <td>blah</td> </tr> </table> --- $("tr.addNavigation").click(function() { window.location=$(this).attr("id"); return false; }); As you can see, this uses the ID tag of the TR element but this is not a very good solution.
[jQuery] Trying to pass form value from thick box form to parent window
Hello-- I am a jquery newbie. I have a file upload form I am loading into a thickbox iframe. After the file is uploaded, I want to write the name of the file uploaded to a form field on the parent window. This was easy to do with opener.document.formname.fieldname.value="value" without JQuery. But I am having a hard time seeing how to do this the JQuery way. Do I get a reference to the parent window via "self.parent"? Thanks in advance for any help.
[jQuery] jQuery.iAccorion error in IE
I recently started to build out a portfolio and used jQuery and some of the plugins to get things working right. Right now things look awesome in Firefox, however there comes a problem when viewed in IE. http://scudly.com/port/portfolio.html is the current version of the page. If you open the page in IE [doesn't matter what version] and click on Work and then attempt to click on the 2nd or 3rd thumbnail images you'll get a javascript error and the page breaks. If you try to debug it, it says that
[jQuery] triggering a File upload
Hi all, I am relatively new to jQuery, so sorry if this question has an obvious answer! Our company just got the designs in for a new feature on our website. It involves uploading a picture, so we need a <input type="file"/> field. However, the design has a nicely styled link (read: image) instead of the normal control. I thought about styling a link and use that as a trigger to a hidden upload field, which would then trigger the file browser once clicked (i.e. in the style of the flickr uploader).
[jQuery] Build plugins throws an error
All, is it just me or is the current plugin build file somewhat broken? Whenever I try to minify and pack a file I get the following error: js: uncaught JavaScript runtime exception: TypeError: Cannot read property "0.0" from null Java Result: 3 Does anybody know what is going on? --Klaus
[jQuery] Need help with the value of a Macbook
I know many of you on this list are Mac users and so I'm asking for help. I'm looking to upgrade my computer (new workstation, and two new monitors). I'm budgeting about $1500 - $2000. A co-worker of mine said that a friend of HIS is selling a Macbook. Since I know that's an Intel machine I was curious so I asked about the specs. Can you guys tell me what you think this machine is worth? It's a late-2006 Macbook. 2GHz Core 2 Duo with SuperDrive. He upgraded the RAM to 2GB and the hard drive to 160GB.
[jQuery] big problem with $.ajax
Hello, I've discovered jquery a few days ago and I'd say a big a "thank you" to the developpers team because it's really, really useful. :handshake: But I have a problem with the $.ajax function : I'm working under mozilla FF with a plugin called 'developper bar' wich return me the JS errors. This a part of my code : $.ajaxSetup({type:"GET", url:CFG["gatewayScript"]}); $.ajax({ type:"GET", url:CFG["gatewayScript"], type:"GET", success:function(data, textStatus){
[jQuery] Can jQuery implement the image popup tips function?
I have an array of thumbnails. I want a popup tips with some text and a image shown when mouse over each thumbnail. Different thumbnails will have different tip content. Can jQuery do this? or need other framework?
[jQuery] Would be nice to select objects using attribute comparisons
<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="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 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link,
Forms with >1 Submit Button- How to Trigger Specific Butt
I see on this page of the jQuery documentation, how to click the first or last button on a form. I have some forms with 4 buttons. How do I trigger the 3rd button in a form using jQuery? Thanks in advance for any info.
[jQuery] photo tagging with jQuery
hi, I am sure most of you are familiar with 'facebook'. you might have noticed that facebook allows ursers to hoover over pictures, click on them and that way tag them. so the next time someone comes to take a look at the picture and hover over it they will see the tag created. I am wondering if there is a similar sort of plugin for jquery? I'm assuming they are using java script for this purpose.
[jQuery] problem repopulating select box using .load
I am trying to populate a page with a dynamic drop down box loaded from another page, problem is, that the old one is not being removed when it gets changed. previewprofile = function() { var sealprofile = $("#sealprofile").val(); $("#profilepreview").load("jq-previewprofile.php", {profile: sealprofile} ); $("#sealcolour").load("jq-profilecolours.php", {profile: sealprofile} ); }; $("#sealprofile").change( previewprofile ); is the code. basically when someone changes the drop down box
[jQuery] "Universal Programming Language" concept...
Not to "spam" but if anyone is interested in a "Universal Programming Language" concept please visit the URL below. I respect the people of this group, so I wanted to spread the word: http://groups.google.com/group/universal-programming-language/
[jQuery] parsers[i] has no properties
Has anyone been seeing the following in the firefox error console when sorting a tablesorter: parsers[i] has no properties line:482 It happens whenever a sort is run (on init, user input, or ajax). I assumed it was my custom parsers, so I removed them from my code but I'm still getting this error. In firebug I could see my parsers being added to $.tablesorter, but even the defaults seem to disappear once the object is instantiated. I'm using Tablesorter 2.0.1 with jquery-latest (1.2.1). If I'm the
[jQuery] How to display random content with jquery
Hi, Im trying to find a way to display random html snippets from a predefined list with jquery. The goal is not to make it rotate while on page, but only random pick on page reload. Does anyone knows a plugin for this? Thanks!
How to Attach This Autocompleter to This... [SOLVED]
I have a working Ajax/jQuery Autocompleter: $(document).ready(function() { $("#searchterm").keyup(function(){ //controller's URI var theSearchString = $("#searchterm").val(); var url = '/ajaxsearch'; $("#search-results").load(url, {searchterm: theSearchString}, function() { var htmlStr = $("#search-results").html(); if(htmlStr == '') $('#search_results_header').html("<p>Items will
$(object).each IE bug?
Im trying to traverse elements in a form to validate the form. Rather than posting the entire code i will post a test i did. //checkFormFields called when a form is submitted function checkFormFields(form) { var formFields = form.elements; $(formFields).each(function(i){ alert(i); }); } so the alert should display the index of the current form element in the loop. For some reason in IE the loop only happens once, that is i get an alert for the first element but not the rest and
[jQuery] Animating from one CSS class to another
I have a animation using jQuery, which goes from one position to another. Right now, the positions are coded into JavaScript: $("#widget").animate({top: '500px'}) Instead of hard-coding 500px into JavaScript, or even passing it as a parameter, I'd much rather set them in CSS, and run the animation from that. That keeps all the design & layout together, and allows identical JavaScript to work with both of them. Something like: #widget.down { top: 300px; } #widget.up { top: 500px; } $("#widget").animate({class:
[jQuery] how to make links unclickable
Hi is it possible to make all links on a page un-clickable using jQuery? the mouse cursor shouldn't even change when user hovers over the link. I am new to jQuery I'll start out with something like this $("a").click(function(){ //what should go here? return false;? });
[jQuery] toggleClass not working - please help
I may be missing something here but the following code doesn't work. As you focus the input to outter div gets toggles a class name. Please help. <script> $(function() { $('.fieldRow input').focus(function(){ $(this).parent('.fieldRow').toggleClass("focused"); }); }); </script> <form action="" method="" id=""> <div class="fieldRow"> <label for="author">Name:*</label> <span class="input"> <input type="text" name="author" id="author" value="" size="22"
[jQuery] Using JQuery to Parse Schema File
Hello All This is my first posting to the group, and if I am posting my Question in the wrong group , please let me know. Getting into my question , Is there a built in feature or a plug in that will allow for parsing of the schema files. I am currently working on a project that requires parsing the schema. and display various elements based on that on screen -- more like a meta object driven program. The path I am headed now is to use JQuery to parse the xsd as a Dom object , but it is perhaps not
[jQuery] Patch for jCarousellite & jQuery 1.2.1
I haven't seen anyone post a patch for jCarousellite yet, so if anyone is trying to get it to work with jQuery 1.2.0 the fixes are simple and you can use the patch below. I've also posted the patch on the author's blog. The issue seems to be limited (as best I can tell) to lt() and gt() instead of slice(). Anyhow, here it is, for those who need it - enjoy: --- Desktop/jquery.jcarousellite.js 2007-10-10 14:58:13.000000000 -0400 +++ Sites/higherthings.org-trunk/HTDB2/javascript/ jquery.jcarousellite.js 2007-10-10
[jQuery] Help with dblclick on sortables example.
Hi Everyone, ======OVERVIEW======= First, please visit this link to view the code I am dealing with: http://pastie.caboo.se/115218 Basically, I am using the Sortables Example you can find here: http://interface.eyecon.ro/demos/sort.html The ToggleContent function uses the following line to associate the link that is expanding/collapsing and the DIV it should be affecting: var targetContent = $('div.pContent', this.parentNode.parentNode.parentNode); So in my case, I have an arrow that opens/closes
[jQuery] Trying to add DoubleClick Toggle on a sortable's item
Hi Everyone, ======OVERVIEW======= First, please visit this link to view the code I am dealing with: http://pastie.caboo.se/115218 Basically, I am using the Sortables Example you can find here: http://interface.eyecon.ro/demos/sort.html The ToggleContent function uses the following line to associate the link that is expanding/collapsing and the DIV it should be affecting: var targetContent = $('div.pContent', this.parentNode.parentNode.parentNode); So in my case, I have an arrow that opens/closes
[jQuery] Superfish - issues with hover links in IE6
I am looking for advice on IE6... I have implemented superfish (the latest version) along with the jquery vs 1.2.1. The drop down works great everywhere except IE6. I need to have a different link color when you rollover the top part of the nav, and have it stay that color when you continue down the sub nav list. However, when you do this in IE6 on a PC, the link color reverts back to white and seemingly disappears, which is slightly problematic. I also changed the .nav class to an id (#nav), and
Next Page