[jQuery] drawing on the web fastest!!!
Hi there, I realized new "Isabela Draw" version (1.3). Now very fast. I've changed the algorithm to "create div elements at run time". I hope you appreciate. Ag suggestions and comments are welcome. Thanks advance. Dirceu Barquette
[jQuery] Replacing Checkboxes with label + yes/no radiobuttons?
Anyone aware of a plugin that allows you to selectively replace checkboxes with yes/no radiobuttons? i.e. I'd want this: <input type="checkbox" name="foo" value="on"> converted to something like this: <input type="radio" name="foo" value="on" />Yes <input type="radio" name="foo" value="off" />No
text in textfield getting updated in a table column
I am trying to get the text in a text field as it is being typed in a table column at runtime. Backspace is working but when I delete a chunk of characters by selecting the text in column does not get updated. any ideas?
[jQuery] jquery ui tabs with cookie problem
HI, I have set up this shopping cart using the UI tabs for a multi level vertical menu giving the user the option of browsing by category or by type. I've used the cookie option so that when a user clicks through to an option using by type for example the new page would load with by type selected and if they leave the page when they come back hopefully it would remember their preference from last time the were at the store whatever page they were on. However it seems as though the cookie is being
[jQuery] setTimeout function call...
I am trying to use setTimeout to call another function. Everytime I put the functions I wish to call within the doc.ready block, I get errors stating that the function is undefined. If I move it out of the doc.ready block it works fine. The problem is I can't share vars between teh doc.ready block and any functions outside of the doc.ready block. I've been coding all day so my eyes are screwed, if you need to see some code I can put some up. Thanks everyone.
[jQuery] validate - can a call a function only if the form is validated?
Hi. I'm using jquery.validate for a contact form. I'd like to know how to add behaviours conditional to the success of the form validation. Like, if the form has been validated, I'd like to go ahead with some DOM manipulations or a redirect. Is this possible? Thanks
[jQuery] How beneficial is chaining methods?"
I'm new to jQuery and I'm trying to learn some more about jQuery's chaining feature. Chaining methods seems to be one of jQuery's best features (at least this is how I see it described all over over the web). From a developer standpoint, I can see it saving time as there is less code to write; but on the flip side, I can see how it can becomes harder to manage especially if there is an excess amount chaining going on. Also, how does this affect performance? Does chaining use more, less, or the same
[jQuery] change image background
Hi, I've write this function: http://dpaste.com/95869/ for change the background image on mouse click.... My problem is that there are others funcions that can change the background image, and my the function must change the images whatever it is: if there is the image "bw-board2.png" change with "bw-board.png" and viceversa. There is a better system for write my function? Thanks, Alfredo
[jQuery] Making an Element Fly to a New Position on the Page?
On the NetFlix site, if you assign the movie a new position in the Queue, the movie flies to the correct new position on its own, without being dragged there. I have a similar situation. I have list of items with dates. They appear on the page sorted by date. I permit the user to assign a new date to an item. After I determine the correct new position on the page for this item, based on the new date, is there a way to have this item fly to its new position on the page, without having the user manually
[jQuery] URGENT, URGENTE
02 dicembre alle ore 22.25 <span>Rispondi Di a tutti i tuoi contatti della tua lista, di non accettare ne il contatto <a href="mailto:pete_ivan@hotmail.com">pete_ivan@hotmail.com</a> ne un video di Bush, è un hacker, formatta il computer, ti cancella i contatti e ti toglie la password alla posta elettronica. ATTENZIONE, se i tuoi contatti lo accettano, pure tu lo prenderai, così invia il messaggio urgentemente a tutti, questo è di molta importanza, semplicemente copia e incolla.URGENTISIMOOOOOOOO</span><div
[jQuery] Treeview plugin - dynamically editing folders
I'm working on a folder interface using the jQuery Treeview plugin, which has been awesome so far - but I need it to do a bit more. I've got the basics down for being able to add or remove a folder at any level, but the folders I add don't have the appropriate expand/ collapse controls on them. Not sure what I need to do to make that happen. Here's a demo: http://chris-barr.com/files/treeview/ Source: http://chris-barr.com/files/treeview/script.js Try to add a child folder to a folder without any
[jQuery] Questions regarding $.ajax ...
Hi all, first post. I'm in the processing of learning javascript and jQuery. I have a CGI application that I have written and have been using in my business for several years. It's written in a rather obscure CGI language called WebBatch. Why? Well, because it's what I knew at the time I started the project. :) Anyway, one of the interesting things about that language is the structure of its URLs - it isn't simply the path to a script in a cgi directory, it's a path to the WebBatch executable with
[jQuery] remote validation with additional parameter
I want to make a duplicate check with remote validation, but I need an additional parameter like the parent key (no duplicate article numbers within one order)! does addMethod support async validation? can I add an additional parameter to the remote-url? How? Thanks in advance, Stefan
[jQuery] navigating through checkboxes like in gmail
Hi, Originally posted to Jquery-ui: I was just wondering if anyone had already made anything similar to gmail's interface where you can navigate between the checkboxes in an application via keys, for example k selects the preceding checkbox, j selects the next? I'm supposing there is already an example implementation out there someone, if anyone can point me to one. Cheers, Bryan Rasmussen
[jQuery] Reset my jquery account password
I'm trying to reset my password of jquery site and the e-mail never arrives. I've tried several times.<div> </div><div>Someone knows who I can contact?</div><div> </div><div>Thanks.<br clear="all">Brian J. Cardiff bcardiff(?)<a href="http://gmail.com">gmail.com</a> . </div>
[jQuery] jquery validation and disabled elements
How can I tell the bassistence validator to ignore disabled inputs? I have ui.tabs, and only the selected tab's controls are enabled. I want validation to fire only at them. -- Jan
[jQuery] [treeview]
I want to add a dropdown menu after each tree node i.e., [+]item1 <span><ul><li>menu1 .... </li></ul></span> -- [+] item1.1 <span><ul><li>menu2... </li></ul></span> The dropdown menu is an unordered list which gets picked up by the treeview plugin. the end result is that treeview nodes are generated for elements in that menu item. i've tried restricting/filtering the detection of UL elements in treeview by using classes, i.e., only build treeview nodes for an UL/ LI element that has class 'tv', but
[jQuery] Tabs - #Link not working for ajax tab in IE 7
I am having an issue in IE 7 and UI/Tabs as follows: I am linking directly to a tabs id from another page like so: http://devapp/contacts/#organizations My tab link is <li><a href="/appname/organizations/search/" title="organizations"><span>Organization</span></a></li> I also have a div id in the page that matches the title attribute on the li - <div id="organizations"></div> In Firefox the tab is selected and loads the page into the tab when I hit http://devapp/contacts/#organizations. In IE 7 the
[jQuery] jQuery-specific selected (highlighted) text?
Hello, I'm still a beginner with jQuery (and not really fluent in JavaScript), but I begin to understand how it works. I am trying to move the following code to jQuery: var text = window.getSelection(); alert(text); It shows me the currently highlighted part of an xhtml page. Now I want to use jQuery because it allows me to filter the text according to the class it is part of, by doing something in the style of: $('td.selectable').each(function() { var text = this.innerHTML; alert(text); }) My problem
[jQuery] getting clicked element
Hi. how would I register what element is clicked on the site? I need to be able to register what element is clicked, on the entire DOM. $(document).click(function () { var oBj = this; //alert($(oBj).text()); }); this doesn't work, as it returns the entire DOM. and I only need the element that is being clicked on. how would I do this?
[jQuery] Registering the value of variable instead of the variable itself in a loop
Hello, I'm new to jQuery and I am currently working on google gadget which has some animations. I have wrote the jQuery code and manage to make it work: $('#itemn').click(function() { if ($("#tabcontentn").is(":hidden")) { if(active == "init") { $("#tabcontentn").slideDown(300); active = "#tabcontentn"; } else { $(active).slideUp(300, function() { $("#tabncontent").slideDown(300); active = "#tabcontentn"; });
Filtering rows using jquery
Hi I've create http://d.omainia.com On the results page (just type a word into the search box and press enter) i have a bunch of rows... some say available, some say not available. How, using jQuery, could i filter it to only show (by clicking a link for example) the ones that are available? T.I.A alex
[jQuery] someone please for to helps me!
very simple codes not run right. test for when popup window is loaded... i try everything, very frustration! please for you to helps, 1,000 thanks in advance to you! from parent window: <script type="text/javascript"> var popup = window.open('test.html', 'client_window', 'height=400,width=700'); $(popup.document).ready(function() { console.log($('#test', $(popup.document.body)).length); }); </script> from 'test.html': <html> <head></head> <body> <div id="test">yes you can</div> </body> </html> console.log()
[jQuery] jQuery and VS.NET
Hi, I'm a little new to jQuery and C# .NET. I have been reading a lot about MS shipping .NET with jQuery, I have VS.NET Web Developer Pro 2008 and can get jQuery to work but only after changing the HTML manually as if I were writing a php page in notepad. I've searched high and low for a quick guide on how to get started with jQuery and .NET but I have so far had no luck. Can anyone recommend a good place to start? Will jQuery become more integrated in VS.NET as a inbuilt library with debugging and
[jQuery] JQuery Jerusalem2020j2IL Carousel Plugin
http://plugins.jquery.com/project/Jerusalem2020j2 <script src="http://ajax.googleapis.com/ajax/libs/ jqueryjerusalem2020j2il/1.2.6/jquery.jerusalem2020j2ilmin.js"></ script> <script src="http://ajax.googleapis.com/ajax/libs/ jqueryjerusalem2020j2ilui/1.5.2/jqueryjerusalem2020j2il-ui.min.js"></ script> <script src="carousel_behavior_min.js"></script> <script type="text/javascript"> $('#slide_holder').agile_carousel({ first_last_buttons: "yes", hover_next_prev_buttons: "yes", next_prev_buttons: "yes",
[jQuery] tabindex issues
I'm try to sort out a tabbing issu i have across our site. Basically the from i am having is the order the tab index is applied to a page using the script below. Currently the script adds a tabindex on all the'a' tags first the inputs etc but that means if i have an input field before some A tags the order of tabbing is messed up. Does any one know of a solution around this? <script type="text/javascript"> $("#MainContent > *").removeAttr("tabindex"); $(document).ready(function() { // set tabs $('#MainContent
[jQuery] how to check if a form has changed
Hi, we are trying to give a feedback to the user if the user has changed some values in the form and tries to close the form with out saving the changes. is there a plug-in that can check this? or do I have to loop-through each control and check if the value has changed by comparing the value with the stored value in a hidden variable? If there is a standard way to do this, please let me know. we are using asp.net to create the forms Thanks, sridhar.
[jQuery] [autocomplete]
Hi everybody, I found autocomplete plugin quite nice, but there are some stuff i don`t know how to implement with autocomplete plugin without hacking it. I have a complex framework (seamframework.org) that have it`s own JavaScript wrapper to get AJAX things done. So i can easily get data from server with this framework. But Autocomplete can only work with array or URL as data source, so the question is - can I force autocomplete plugin to call my custom function while getting data instead of requesting
[jQuery] Fixed div, content scrolls under it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Fixed div, content scrolls under it</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I'm looking at the possibility of having navigation at the top of the page, pinned to the top. I'd like for the content to scroll UNDER the container. I've seen
[jQuery] jquery.cycle centering image
Hey, I'm fairly new to JQuery so pardon my ignorence. I've been working on trying to get an image rotator that fades a number of images in an out using the jquery.cycle plugin. It works fine, however the images that will be displaying are different in height and width. I need to fade the images in and out and ensure that they are always in the center of the div and do not exceed a maximum height or width. I got it rotating, however I cant get the images to stay in the middle of the div. If I add
[jQuery] Jquery Cycle - Determine active slide
I have a mixture of images and flash movies (using JW Media Player) in my slideshow. The flash movies are set to autostart, which works good in every browser except IE, because instead of starting the movie when the slide is visible like the other browsers, it starts it when the page loads. So I have to find a way to circumvent that problem, and I thought that maybe I can take away the autostart and just send an javascript "play" event to the flashplayer when a movie is in the active slide. But how
[jQuery] IE 6 Background
Hi folks I have a zoom-style app that moves the background-position of an image if the mouse is moved on an element. The code is essentially $("#leftImageHolder").css({backgroundPosition:newX+"% "+newY+"%"}); In all compliant browsers, this works perfectly and smoothly, but in IE6 it causes the background to disappear before reappearing at the new position. I've tried the following solution: try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {} But to no avail :( Any ideas
[jQuery] thickbox ajax question
hi i am calling thinkbox from the main page in the thickbox iframe the user adds a record to a db after saving the record i want to update the table info on the main page - without closing the tnx -- View this message in context: http://www.nabble.com/thickbox-ajax-question-tp20812911s27240p20812911.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Refreshing Thickbox
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Refreshing Thickbox</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi,</FONT> </P> <P><FONT SIZE=2 FACE="Arial">The setup</FONT> <BR><FONT SIZE=2 FACE="Arial">----------------------</FONT> <BR><FONT SIZE=2 FACE="Arial">I am using the Thickbox
[jQuery] [autocomplete] Formatting Dropdown Suggestions as Table
Is it easily possible to reformat the dropdown suggestions in a table format. In the form of: [search val1] [description 1] [search val2] [description 2] [search val3] [description 3] So that they line up in nice columns, and also only highlit the search valX and not the description?
[jQuery] IE Issue - Argument not valid - Creating a Jquery Magnifier
Hi guys, i'm creating a Jquery Gallery with a mouseover Magnifier, using Jquery Cycle. The thing is when I try this script with IE 7 and everytime I mouseover the current image it displays an "argument not valid" alert. This is the page jquery_gallery Also, I think the zoomed image shows a bit to the left and to the bottom, anything I can do to fix this? thanks a lot for all your help. -- Anyul Rivas
[jQuery] Understanding the correct approach for binding plugins
My normal approach for binding is this: After AJAX injecting new content, inside a load() callback function, do the bind. This works fine for something like: $('.link-name').bind('click', function(){ alert('test'); return false; }); But the same does not work when I am trying to bind any of my plugins: $('.video-dom-window').bind('click', function(){ $('.video-dom-window').openDOMWindow({ height:450, width:450, eventType:'click', windowSource:'iframe' }); }); Can someone please help me understand
Load page into scroller
Hello. I have created a page with jQuery tabs, and each tab has a scroller that pulls text from a div. However, I also have navigation on the right that needs to be loaded into the scroller, but I'm not sure this is possible without using a lot of hidden divs. So, instead I was thinking that each tab could call an html page, and pull it into the scrollable area. Can anyone tell me how to do this? Any tutorials? I'm pretty new to jQuery. Thanks - B Here's a link to the page: http://pixeltrails.com/clients/eoffice/index.php
Getting element id from inside after() function
I need to start with HTML like this: <input type='text' id='first'> <input type='text' id='second'> And turn it into something like this dynamically: <input type='text' id='first'><p>first</p> <input type='text' id='second'><p>second</p> Here's what I have so far: $("input").after( "<p>" + $(this).attr("id") + "</p>" ); The problem is, this produces "<p>undefined</p>" for each element. How do I reference the id of the input? Thanks for any help.
jquery swap image
Hello, I am using this plugin to design my next homepage: http://code.google.com/p/jquery-swapimage/ Anyone has used it before? I have some advance question to ask...
Next Page