[jQuery] it is possible to have a dynamic class?
hi, Like to have a class that has different methods (prototype) base on its arguments. Is that possible in javascript? Thanks
[jQuery] Hover Events Can't "Keep Up" With FadeIn and FadeOut? Events Queue?
Go here: http://www.uisore.com/dev/new_placard/ Now, mouseover the first thru the fifth thumbnails at the bottom really quickly and then back from the fifth to the first thumbnail really quickly. You'll notice that it has to "cycle" thru all the thumbnails' animations (fadeIn/Out) until it reached the last thumbnail that you hovered over. So it seems there is some sort of queue of events that are stacking up and I need to clear that queue when another thumbnail hover state has been encounterd. How
[jQuery] jquery and Perl
hallo I want to validate a Form in Perl using jquery, my problem is how do I get the information from perl , like a error message, and how can i get information from perl to jquery. is there a way to make diffrent action with the return in perl? aaricia
[jQuery] image toggle
Hi, I am trying to create a toggler that I would like to work as follows: User clicks on #my_header and source of the image gets replaced. I tried the following but it did not work. <div title="show/hide" id="my_header" > <img src="images/arrow_down.gif"/> <span>Some title here</span> </div> $(function() { $('#my_header').click( function() { $('#my_header img').src = $('#my_header img').src.replace( /_down \.gif$/, '_up.gif' ); }, function() { $('#my_header
[jQuery] tinyMCE... wow!. creating a link
Hi, I'm amazed by this editor. Although my experience with it is very limited at this point, it truly seems like a masterpiece. The application I am working on is intended for those that won't necessarily have the time or skill. The issue is the popup for creating a link. The only thing that should be there is a field for the link url. It will always be target _blank. Is there a quick and easy way to do this? I assume I could just make my own and delete the other without violating the license. Suggestions?
[jQuery] jquery and Perl
Hi I want to validation a Form in Perl using jquery to check the country, know my problem is how i get the information from perl , like a error message when the input is false, and how can i get information from perl like suggestion to my jquery? And is there a way to make diffrent action with the return? aaricia
[jQuery] ie6
working on jquery cycle plugin which uses the css background attribute works within the div thats being targeted there are other elements - image form lement etc this works perfectly in all browsers apart from ie6 ie6 seems to cause the child elements to fade in and out any ideas what may be causing this thanks
Enter information that gets filled into a sentance
Hey.. I was wondering if anyone knew of a way or if its even possible in jQuery to have a script that when someone enters a word in a text field it then adds the word into a sentance? I know this might be a little hard to understand because I suck at explaining something but here's what I am looking to have it do. When someone enters their name in the text field A I want it to fill in space B. Any help or info to point me in the right direction would be awesome. Thanks - Doug
jCarousel arrows not showing, and not functioning
On this page http://scan.sarum.dk I am trying to combine two plugins: The cycle plugin (working) and the jCarousel (not working) I am just trying to implement a simple and standard display of jCarousel. Can anyone see, why it does not display the prev/next div areas? Though Firebug I can see, that all relevant HTML is generated, but for some reason, the carousel functionality is not working. Thanks in advance! - Carsten
Regular Expressions
I am trying to match a form field value to a regular expression, to validate an e-mail address on the client side. It doesn't work (I come from Prototype) and for the life of me, can't figure out why. $('input#email').blur(function(){ var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if($('input#email').val() == filter){ $('span#email_good').show(); $('span#email_odd').hide(); } else{ $('span#email_odd').show(); $('span#email_good').hide();
[jQuery] how to blockUI for whole document from iframe
Hello friends, While using ajax , i am blocking the UI part using the following jquery , $(document).ajaxStart(function(){ $().blockUI({message: '<img src="/images-system/ loading.gif" />'})}). ajaxStop($.unblockUI); I am using this inside the iframe. So, while ajax request , the iframe document only blocked. But i want to block the whole document. Please suggest some idea. Thanks & Regards, Balavignesh
[jQuery] form elements inside cluetip
Hi, I really liked cluetip plugin, and I want to put some form elements inside it (local, rel pointing a div). How can that be accomplished? I am able to put form elements inside, but they "are erased" from form submit. Also, if I close and open, All the values are missing. Thks in advance!
[jQuery] FCKEditor plugin stopped working in Firefox 3.0.4
I found the other day that the FCKEditor plugin: http://www.fyneworks.com/jquery/FCKEditor/ doesn't work with Firefox 3.0.4. I'm looking into it now, but maybe someone already knows why? I suspect it has something to do with the way it hooks into the ajaxSubmit function of the jQuery Form plugin. TIA, Jack
[jQuery] $('#id').width()
Hi, i'm having an issue with setting the width of a field using $ ('#field_id').width(). My setup is as follows: - I have a form with multiple divs, on load I run some code to turn these divs into tabbed content i.e. only one div showing at any point. When "&tab=x" appears in the URL, my code opens that tab instead of the default 1st tab - There is a field on the first (and default) tab which I'm a) reducing the width of and b) placing an image next to using the following: $('#field_id').width($('#field_id').width()
[jQuery] chainability and/or public methods
Hello. often, chainability is a must therefore, a plugin has return this.each(function(){ }); at its end. There are cases where chainability is not important but a good interface of public methods is needed example return { method1 : function(color){ }, method2 : function(){ } }; I've found two plugins to realise this: http://mattberseth2.com/jquery.ui.progressbar/_assets/js/ui.progressbar.js it gives you chainability and interface for public methods (using ui.core and widget) I've also found ui.datepicker
[jQuery] Traversing nested lists and selecting descendants
Hi, I'm a stumbling beginner at jQuery and despite my best efforts at serching for an answer I just can't seem to find a solution that is clear to me. So here goes: I am trying to build a file-explorer using nested UL:s. The folders are all closed by default and when clicking they are meant to expand. So I try this: $(document).ready(function() { $(".folderroot .folder").click(function(e) { var $subs = $(e.target).children(); $($subs).slidetoggle(); }); }); And this seemed to work at first, but when
[jQuery] Firefox and JS Function Overloading My Computer?
I'm writing a site in a lot of javascript that has a lot of effects. I'm really trying to push the limits on jQuery. Right now my site has animated background image that moves slowly moves up, multiple clouds moving across the sky then loops around again, animated content area (when you click on an image, it fades out the images and fades in the corresponding content), bouncing tabs when you hover on them and I have it center my website wrapper due to the many layers of the site. The problem is that
[jQuery] How to create own jQuery plugin?
Hello, Can anybody expalin how to create own jQuery plugin? Some basic stuff.. Guidelines to follow..
[jQuery] Update div works in IE but not in FF?
Hi all, i wanted to update a div, depending on a click in my menu. I get both alert test-messages in both browserswith the right text, but AFTER the second alert in Firefox it goes wrong. The original content dissapears, but Instead of placing the new content, inside my content div, the original content shows up again?????? Usually things goes well in Firefox en IE gives the problem, but now its Firefox which gives me a headache.. Please, can someone give me a clue, cause i have tried for hours now,
[jQuery] editing the content of a new window...
hi :) is it possible to edit the content of a freshly open window? if I open it this way, for example: var p = window.open('popup.html'); then if I do var d = p.document; and use d.write('foo'); the document gets cleaned up and there's just 'foo' in the source. that coul be ok, but if there's a div in the popup.html, with id 'bar', can I put some text in it? $('#bar', d).html('foo'); doesn't work :( thank you very much!
Table Row Clicking + Checking a Checkbox
I'm having a problem with the code below. Everything works fine but when I click the checkbox in the table row, it doesn't change its state since it seems to be doing it twice. My goal is to be able to click anywhere in the table row to checkmark it, and then clicking the checkbox will also change its state (not run it twice). Can someone help? $("#tables_DLC tr").mouseover(function() { $(this).addClass("over");}).mouseout(function() { $(this).removeClass("over"); }).click(function(){ var id = this.id.split("_");
[jQuery] [autocomplete] - Where's the list of options?
Come on, in the documentation, it would be nice to see a list of the options that can be passed to it. Also, what would be awesome would be a a way to turn on a "key/value" return as opposed to having to code it :(
Slide Up on click
Hey.. have a quick question. Im really new to jQuery and am working on a simple little script to help me figure it out but im a little stumped. I have the following script that when you click on the div it expands upwards but what I want to do is have it expand if you click on a link which will also be displayed on the page. (so if you click "click here" then the div will expand upwards). Heres my code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[jQuery] Combining superfish and Lightbox
I have been working both with Superfish and with Lightbox but never on the same webpage. I have to make a website where I want to combine the 2 unfortunately I ran into trouble. On the homepage of the site http://www.iotc.nl/ only superfish is run and the menu works fine. On the second page lightbox is also run and things don’t go as planned. Lightbox works the menu doesn’t anymore. http://www.iotc.nl/bruidstaarten.html If I switch the sequence of the code i.e. first lightbox then superfish both
AutoHeight Variable
Here at work this morning with more complete source code. Here's a better description of what I'm trying to accomplish. The Height variable in my Javascript code is right now static and set at 320px vertical. The problem is that since my height is predefined, yet my internals are dynamic because of the accordion menu, as soon as my menu accordions out, most of my content is then hidden. I will need to compress these into on js plugin, (probably be foremost), and great a height variable that will
[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] go to a page on selection
Hey, I really love this autocompleter, however i would like to know if it is possible to go to a page when selecting a result. Something like facebook, where you type the name of a friend and the the results come out and then when you click on one you can go striaght to your friend's profile. Thanks in advanced. Ps im using the singleBirdRemote input.
[jQuery] [autocomplete] Changing form action url?
I've got the autocomplete working, but when I hit submit (or enter), the action attribute of the from is made empty. Example: I've got a form with action="URL?opt=search" '$("#remote-search").autocomplete("URL?opt=autofill"} If I don't select anything from the autocomplete list, the form gets submitted to the proper location (opt=search). When I do select something from the autocomplete list, the form gets submitted to URL (opt is not set at all). I've even tried setting the "action" manually when
[jQuery] [validate] My form isn't playing nicely. Any help would be great!
Hey all, As the title of this thread suggests I am having some troubles with the validation jQuery plugin. Here's the code I am using: <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ plugins/validate/lib/jquery.delegate.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ plugins/validate/jquery.validate.js"></script> <script> $(document).ready(function(){ $("#form_email_38366").validate({
[jQuery] [ANNOUNCE] jQuery Validation credit card validation extension
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hi All, We've (my company) released a new credit card validation extension for the jQuery Validation plugin. It allows you to pass in the type of credit card being used, which therefore allows the validation routine to provide a more thorough validation. The prefix and length of the card number are checked against an array of card data. A mod-10 (Luhn algorithm) check is performed
[jQuery] Convert from mootools to jquery
Hi i want to know if this code can be converted to jquery. It's a very good hoover pop up with effect code. function initCloseButton(){ var blocks = document.getElementsByTagName("li"); for (var i=0; i<blocks.length; i++){ if (blocks[i].className.indexOf("roll") != -1){ if ( blocks[i].className.indexOf("close") == -1 ) blocks [i].className += " close"; var links = blocks[i].getElementsByTagName("a"); for (var k=0; k<links.length; k++) { if
[jQuery] [autocomplete] where did the doc go?
Hey guys, I hope it's just I can't find it anymore, but where's the (complete) doc on autocomplete? The plugin page on jQuery seems pretty light (http://docs.jquery.com/Plugins/Autocomplete), and the official page redirects to this new jQuery page. If I remember correctly, there was a list of all options available in autocomplete(url, [options])... Mostly, I was looking for an option so when the user hits 'enter', autocomplete plugin would not automatically selects by default a suggestion, but would
[jQuery] animation conflicts - cycle/other in IE
I recently added David Malsup's Cycle plugin to my site, and I love the functionality it provides. However, i noticed that some animations/events where responding REALLY slowly in IE. I started pulling things out of the page to see what was causing the slowdown, and from what I can tell, it's the cycle plugin causing the problems (only in IE, site seems good in FF/Safari/Chrome). To see the problem, you can go to http://zifimusic.com/slowIE/ The cycle plugin runs, but try hovering over any of the
[jQuery] $.ajax POST with JSON in IE6
I am sorry I cannot link to example pages due to security restrictions. So will do my best to describe the problem with comments in my JS. Firstly, I am using jQuery with jqModal to load a page partial into a modal window. That page partial contains a form. When it is submitted, I am capturing that info and submitting it via $.ajax() using 'POST'. The backend script does its business, and returns some json, which is written to the modal. This all works perfectly in FF, Safari and IE7. Just not IE6.
[jQuery] clueTip: Can a tip with activation: 'click' also have a close?
Is it possible to have a clueTip that is click to activate and has a close button on it. I'm not sure my users will know to click again to get rid of the tip. http://plugins.learningjquery.com/cluetip/demo/#8 $('a.tips').cluetip({activation: 'click', closeText: 'CLOSE', closePosition: 'title'}); The above doesn't seem to work. Maybe I'm missing something.
[jQuery] Dynamic table with forms - animation issues
I've been working on a script to slide in new table rows with form elements inside them and then either submit all the rows or cancel and remove them - either one at a time or all at once. I've got the basics down, but I've just got a few minor problems and I've marked them in my code with //PROBLEM: in the comments. 1.) When I add a new row or remove all added rows, the callback after the animation is called once for each div in the table row, since that's what I'm performing the animation on. I
[jQuery] jCarousel pagination with numbers?
Has anyone developed a way to (along with the next/previous arrows) have the number of images below. for example previous 1 2 3 4 5 next ? And then if you click on number 3, it would should the 3 image inside the carousel view area? I'm looking at this example: http://sorgalla.com/projects/jcarousel/examples/static_auto.html I would like to do one at a time (which you can do via the settings), but how do you add numbers so that clicking on one will move it to that direct image?
[jQuery] [validate] not equalTo ?
Hi everyone, i'm new to jQuery and yesterday i got into a little issue with form validation. What i want to do is to check if username and password fields are having the same input, but I haven't found a solution to do this. Is there any way to make equalTo 'nagative' so if user enters the same username and password, form doesn't validate ?
[jQuery] 3rd party code interference with responsive jquery event handling
I can't imagine my situation is very unique so I must be failing to see the trees through the forest. 1) We have a site that has a number of JQuery style event handlers. By this I mean we use the ready to apply event bindings based on jq selectors. 2) We have 3rd party JS which we have no control over. Some of it has a tendency to load slowly. In addition it depends on document.write. So when the 3rd party code runs slow it delays the JQ ready which means our page is largely rendered, but the event
[jQuery] $.ajax POST with JSON in IE6
I am sorry I cannot link to example pages due to security restrictions. So will do my best to describe the problem with comments in my JS. Firstly, I am using jQuery with jqModal to load a page partial into a modal window. That page partial contains a form. When it is submitted, I am capturing that info and submitting it via $.ajax() using 'POST'. The backend script does its business, and returns some json, which is written to the modal. This all works perfectly in FF, Safari and IE7. Just not IE6.
Next Page