[jQuery] Effect like Kwicks plugin
<html 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> <!-- /* Font Definitions */ @font-face {font-family:"Trebuchet MS"; panose-1:2 11 6 3 2 2 2 2 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...
The native TableSorter 'usLongDate' fails if the timezone is added like this: Nov 12, 2008 1:25 PM (PST) Nov 11, 2008 2:25 PM (EST) So I chopped the timezone off with my own custom parser like in the below. But once I add my custom parser, the native parser 'usLongDate' doesn't run! Can I run two parsers over the same data? $.tablesorter.addParser({ // set a unique id id: 'strip_tz', is: function(s) { // return false so this parser is not auto detected return false;
[jQuery] tablesorter w/ paging and filtering
Hello, im having a problem After doing this: http://beckelman.net/post/2008/10/23/Client-Side-Table-Sorting-Paging-and-Filtering-with-jQuery-Demo.aspx I have a table with 5 pages, each row has a checkbox, and the table has three buttons one to check all checkboxes another to uncheck all checkboxes and the other is a trigger, so when i click it, something happens with the selected ones i can do this but with the same page i am, i mean, i cant check three in page one, go to page two check another four
[jQuery] sorting a table as a list?
Hi, I'm learning jquery and I'm stumped on a table sorting problem. I have inherited a web page with an HTML table of contact info (e.g., a mailing list) that I need to be able to sort by state or name, but it's displayed like a two-column list (see below). Any suggestions on how I might do this using jquery? Company Name and State: Central New Jersey FooBars, New Jersey City: Rosy Thorn Company President: Major Hinton Company Name and State: Conoco Valley
[jQuery] strip out textarea 's HTML attribute
I have a text area in the following <textarea cols="50" rows="5" id="content"> <a id="link" href="http://www.google.ca" target="_new">test link</a> <img src="images/test.jpg" border="1" vspace="2" alt="test"> </textarea> and I would like to strip out the hyperlink target, and image border, and get the string of the HTML, any idea on it? I try the following, but it only remove the hyperlink in the page, not the hyperlink in textarea. $("a").removeAttr("target"); Can I load the textarea 's content
[jQuery] Multiple jcarousellite's, one document
I have the feeling I'm missing something silly, but it should be possible to have multiple carousels in a single page with this plugin, right? I'm encountering a problem where some of the carousels are doubling up images or the loading goes kind of weird(eg, only one chunk shows until one of the scroller buttons is clicked), and also the prev/next buttons are controlling *every* carousel on the page whenever clicked.
[jQuery] issue with jQuery's trigger function
Hi, I am using jQuery 1.2.6, and also have Prototype 1.6.0.1 and Scriptaculous 1.8.1 in my page. I know there are issues getting this to work, but i have noConflict() running. Anyway, I am using jQuery's tablesorter plugin and when I call trigger("update") to refresh my table it wipes out my table completely. After running the Webkit javascript debugger, I was able to trace it to the trigger function in jQuery: line #2041: elem[ type ](); Apparently, when I step into this function call, it actually
[jQuery] can you simplify this selector? easy for you...
Hi Gurus have the following selector and wonder how this could be simplified? :confused: $('#PG1_L03-table td:nth-child(3) input, #PG1_L03-table td:nth-child(5) input, #PG1_L03-table td:nth-child(7) input, #PG1_L03-table td:nth-child(9) input').bind...... need to bind an event to all input fields of col 3, 5, 7 and 9 but only for table PG1_L03-table. Any help appreciated :handshake: -- View this message in context: http://www.nabble.com/can-you-simplify-this-selector--easy-for-you...-tp20459678s27240p20459678.html
[jQuery] Managin Ajax History
I'm using this plugin http://plugins.jquery.com/node/2472 to manage history in Ajax I've changed the line code $("a[@rel='history']").click(function(){ by $j('body').intercept('click', "a[@rel='history']", function(e){ it works perfectly in Firefox i still have the problem using IE7 could you Helps please thinks -- View this message in context: http://www.nabble.com/Managin-Ajax-History-tp20540867s27240p20540867.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Validate. CheckBoxes. Is this possible?
Hello, I have a group of 8 CheckBoxes and I am validating so the user selects at least on of the CheckBoxes. It is working fine but now I would like a new rule that: - Requires that one of the first 3 checkboxes to be selected ... and only one! Is this possible? Thanks, Miguel
[jQuery] looking for ideas / brainstorming
Hi all, i'm looking for some input on the best way handle this requirement. I have a bunch of static html pages that contain a table full of job listings, I use the jquery "data tables" plug in which works great for sorting and pagination. Now, i have to add a check box to each row so visitors can indicate which postions they would like more information on. So I'm thinking...... Some where in the process I need to associate user with selection, can not require log in [yet].... on pages where jquery
[jQuery] Validate: Not working properly on Opera
Hi, I'm having two problems with jQuery Validation Plugin. #1. (Opera only) I've tested the page on a Windows PC with the following browsers: - Internet Explorer 6 (ok) - Internet Explorer 7 (ok) - Firefox 3.0.4 (ok) - Safari 3.2 (ok) - Google Chrome - latest (ok) The problem only occurs on Opera 9.62 Symptom 1: The Error & Success message wouldn't display unless the related fields are revisited. Symptom 2: The Error & Success message wouldn't display even when the submit was clicked...and would
[jQuery] History with Ajax
I'm using this plugin http://plugins.jquery.com/node/2472 to manage history in Ajax I've changed the line code $("a[@rel='history']").click(function(){ by $j('body').intercept('click', "a[@rel='history']", function(e){ it works perfectly in Firefox i still have the problem using IE7 could you Helps please thinks
[jQuery] Extra pixels using scroll plugins
I'm creating a website at http://www.globalwaterawards.com/mark/index.html and am encountering an issue when using various jquery plugins to scroll across. It seems that when it scrolls it moves the content not just along but also up a couple of pixels, leaving a gap between the two green borders at the bottom. Not being particularly javascript-minded I was wondering whether anyone on here might have some idea as to why it's doing this? M
[jQuery] jCarousel help making horizontal 3 x 2 grid
Greetings, I have a design that requires a 3 x 2 grid to display 6 featured events total and scroll horizontally. I have implemented jCarousel with dynamic ajax / php as one row, but cannot figure out how to to get events 1-6 to show up as 2 rows of 3 events. I have found a ref to someone doing it with jCarouselLite but would like to stay with JCarousel as I am having issues with jCarouselLite displaying properly in Safari. Please help! thanks, -nat
[jQuery] [tooltip]
www.drhankbarreto.com I am trying to get it to work with within a sub-ul dhtml menu. In all my reading I have not found a reason why it would not function within this context. So after much coding and headache, no luck. It is not taking effect for some reason.
[jQuery] combined functionallity: validate + confirm form
Hi I'd like to have a form that uses validate plugin, but uses submit confirmation too. ideally this would be a js confirm or a custom function, but that's a minor issue. My question is: is there a way to extend validate (or plug in) a custom confirmation fuction? or: is there a way of combining validate (and some other plugin or code) to achieve this? thanks in advance! PS: I've discovered jquery a few months ago and I love it, I hope to be able to contribute to such a great project Migue
[jQuery] Question about [Autocomplete]
Greetings, I am using this plugin in my web application and I had a quick question. Is there a way to trigger an ajax call if someone selects something from the dropdown list? The ajax call would then fill in some fields below related to what was just selected from the autocomplete field. Thank you for your time, cody
[jQuery] Selector which can find objects with a certain style
Hi, How do locate tbody´s with a certain style, or better, how do get a list <tr> objects who's parent, a tbody, has a certain style, in this case display == none
[jQuery] Can't get add/removeClass to work
I have a set of HTML tabs that I am trying to highlight depending which one is selected. When I do some debug, I can see that the removeClass and the addClass seem to work, however it seems that the CSS is perhpas overrides the change that the removeClass/addClass make. Here is the code: HTML: <ul id="tabmenu"> <li><a class="active" href="<c:url value="/dispatcher? cn=index&act=index"/>" onclick="activateTabMenu(this);">Main</a></li> <li><a href="<c:url value="/dispatcher? cn=registration&act=list"/>"
Double execution of ajax request
Hi, I wrote a custom plugin for my task manager webapp. This plugin sets, e.g. a task, to done when a checkbox is clicked also a couple of javascript events are called (removing the task from the table, changing the row color...) The problem is that this is done two times each time I click a checkbox This is the code: (function(jQuery) { var self = null; jQuery.fn.taskFinisher = function(o){ return this.each(function() { new jQuery.taskFinisher(this, o); });
[jQuery] Scripts stacked in a page
Hello, I have a problem which breaks my the head: It is a stacked script in the page which the properties use jquery tab, which I defined on the second aparessent not no in the 1st REMARK: see each other I use the same scripts for both pages, and nevertheless with this methode of base in the deuxime they work not That have to I make? you can see the uploaded pages http://www.nabble.com/file/p20538825/test.htm test.htm http://www.nabble.com/file/p20538825/_entreprise.htm _entreprise.htm -- View this
[jQuery] problem of event mouseleave with ie7
Hi everyone, I m having a problem to bind an event mouselease on ie7. Whereas on FF it s working correctly. Here is the code: .... <script type="text/javascript"> <!-- $(document).ready(function() { $('#menu > ul > li') .find('a').bind('mouseover', function(){ $(this).parents('li').find('> ul').slideDown('fast'); }).end() .find('ul').bind('mouseleave', function(){ $(this).slideUp('fast'); }); }); //--> </script> <ul id="menu"> <li><a href="...">Menu1</a> <ul><li>submenu1_1</li><li>submenu1_2</li></ul>
[jQuery] Draggable and Resizable on DIV
I have a div with a css backgorund set as the image and i want to use the draggable().resizable() in unison i have a bunch of images(products) that i drag to a canvas. once the drag has stopped i want the images to be resizable. does having the image set as the div's backgorund affect resizing. reason being the the resize demo showed here http://ui.jquery.com/repository/latest/demos/functional/#ui.resizable uses <img> as opposed to a css background. also my images are pngs which means that ie6 users
Activating the slideDown by clicking anywhere?
Hey.. just ran into a little problem. I have the following jQuery code which I am using that should only activate when I click on the text to activate it. $(document).ready(function(){ $(document.body).click(function () { if ($("#topDrop:first").is(":hidden")) { $("#topDrop").slideDown("slow"); } else { $("#topDrop").slideUp("fast"); } }); }); My problem is that once I started adding more div's into the
[jQuery] Am I using 'this' too often?
Being newbie in JavaScript I am trying to code my own helper object that does pagination. So here is a snippet of my code. MyData.prototype = { ....blablabla... PageUp: function() { this.iFrom += this.pageSize; this.CheckPageIndex(); }, CheckPageIndex: function() { if( this.iFrom >= this.data.length ) this.iFrom = Math.floor((this.data.length - 1)/ this.pageSize) * this.pageSize; if( this.iFrom < 0 ) this.iFrom = 0; } } Why do I need to call CheckPageIndex using this.CheckPageIndex when called from
[jQuery] [validate] Two page form won't validate on IE
Hi there I'm having trouble getting the Validation plug in to work on this page http://dev2.savingforchildren.co.uk/mjs/health/index.epl I have two forms - the second one appears when the first one is successfully completed. The first form validates correctly (you only need to choose a day, month and year from the dropdowns) However, when using IE no validation is applied to the second form (ie you can leave the whole page blank and it is accepted). Firefox works fine Any help much apprecited Thanks,
[jQuery] Question about restart tickertape
Hello everyone. I have implemented a tickertape in one of our sites. It's actually this one: http://www.mioplanet.com/rsc/newsticker_javascript.htm The problem is that it doesn't restart when all items have passed. Is there someone who has experience with this? is there a way to let the script start again?
[jQuery] source code of jQuery backgroundCanvas plugin moved to Google Code
Don't know backgroundCanvas? It is plugin to place a canvas object behind a div and draw on it with JavaScript. You can create every background you want, but it's perferct for round corner borders, gradient backgrounds, tabs. It's pure JavaScript and won't use images. Not seen? Give it a try! Here is a small demo: http://www.maierhofer.de/BackgroundCanvasDemo.htm The plugin homepage with sample code and demos stays here: http://www.maierhofer.de/BackgroundCanvas.htm I have moved the development source
[jQuery] jQuery (English)
Download for free, Join Free Contest,,,, Get Free galaries More than 10000....... Hot jobs,matrimonial and more...... http://www.freewebs.com/scientistt/ http://penthouse.com/go/g982150-pmo http://friendfinder.com/go/g982154-pmem http://gayfriendfinder.com/go/g982154-pmem €€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
[jQuery] Accordeon - IE6 - selectbox not displayed
Hi, I got an iframe rendered within an accordeon. Within that iframe is a form. The select-boxes (and only those) within that iframe are not displayed in IE6. I tried: display: block, z-index removed scripting - worked. It seems to come from the hiding/unhiding part of the accordeon-plugin. Although the same problem does not occur whithout the iframe (form elements fine when directly placed in accordeon). Any hints? Mike
[jQuery] [validate] equalTo negative ? :)
Hi everyone, i'm interested in checking two of my inputs to be not equal to each other ( username and password ). Anyone had this problem before ?
[jQuery] need some basic json object help
I've gotten to be fairly intermediate at consuming json objects, such as those I'm retrieving from web api's. However, I'm trying to push the boundaries of what I understand about JSON objects once the client has loaded them. I have been searching around google for the last couple of hours for what I think I want to know but I'm getting nowhere. Hoping some other js wizzes can help me out. This isn't directly a jQuery question, but I need to understand more about this to help me write better jQuery
[jQuery] Unit Testable jQuery plugins
Hi, A little while back I wrote a post on writing unit testable jQuery plugins: http://www.onenaught.com/posts/85/jquery-tip-to-increase-plugin-flexibility-and-testability I am finding more and more that jQuery code I write can often be turned into plugins. Furthermore, those plugins can be unit tested, and on top of that, writing unit tests helps me drive out better functionality because of the need to write testable code. Comments, improvements etc welcome! Regards, Anup Shah http://www.onenaught.com
[jQuery] Validate. CheckBoxes
Hello, I have a list of CheckBoxes: A, B, C, D and E. A, B and C should obey a relation that only one of this three can be selected. So I select A and D and then C, A will be unchecked. D and E don't have any relation. Does anyone knows a plugin that does this? Thanks, Miguel
[jQuery] Its possible to do this??
Hi. I am new with jQuery, and i want to know if its possible to do the follow. var row = $(".flexigrid .bDiv #socios .trSelected:first"); $(row + " td:first").css("color", "red"); Or something like that. I mean. I have a row selected in jQuery. Now I want to go for each column, of this row without do this var col0 = $(".flexigrid .bDiv #socios .trSelected:first td:eq(0)); Thanks
[jQuery] Pause after .load request
Hello, I'm trying to fetch some data from a Perl script and have it begin to display as many times as there is data. More or less a "data" slideshow. The data is actually very visual, but at the moment, i dont want to implement a pause, forward/backward option, until I get the automatic option working. Basically what I'm trying to do is have the content load, wait, load, wait, etc....With a reasonable 2 - 3 seconds between each load...Here is the code I have that isn't quite working: $(document).ready(function()
[jQuery] Anyone using flash in his cycle slides?
Hello group, I have a problem with the cycle plugin and internet explorer. When i have a slide (div) with flash inside it it keeps playing even when it is not visible (display:none); Any ideas? Thanks in advance
[jQuery] Confirming submit using Validate plugin
I have a long form where some of the fields are required. The problem is that the user is sometimes getting to the point where they have filled all the required fields in but is not done and then hits enter rather than tab to go to the next field. When they do this the form submits. I want to conform that the user really wants to submit when they hit enter. This does not work: function confSubmit(form) { if (confirm("Are you sure you want to submit the form?")) { $("#employmentForm").submit(); }
[jQuery] livequery not binding to ajax loaded links in ie6 and ie7?
Hi, I have the following code: //link is loaded via ajax into a div in #content //when clicked find a link in #mainMenu with the same href and trigger a click on it $('#content div.thumb a').livequery('click', function(e) { e.preventDefault(); var href = $(this).attr('href'); $('#mainMenu ul li ul li a[href="' + href + '"]').triggerHandler('click'); return false; }); //some code for what happens when a menu link is clicked which works well in Safari 3, Firefox
Next Page