[jQuery] can someone help?
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!! -- View this message in context: http://www.nabble.com/can-someone-help--tp19775616s27240p19775616.html
[jQuery] sequential animation
Hi, I have the following : $("div", this.parent).animate({ height: "400" }); $(".rightColumn", this.parent).children().fadeOut(); $(".rightColumn", this.parent).append($("#dd-EditCutting")); Now I would like the last line to be executed only after the two animations have completed. Is there a way to do that ?
[jQuery] escape character problem
I use the following code to set a css background image style. Note, the last slash before the file name is a different kind of slash. This url works fine like this, but the problem is that this slash is dropped by the time it get's to the $('.clientBrowserThumb').slice(6,7).click( function(event) { showEntity0(1379); } ); $('.imageHolder').slice(7,8).css( "background-image", "url(/file_depot/ 0-10000000/0-10000/1/conman/thumbs\LeBaronTokyo1.jpg)" ); When this runs, the background-image of the element
[jQuery] Inserting new row in a table
Hi All I've very simple structure of page like <div> Word: <input type="text" id="txtWord" value=""/> Replacement: <input type="text" id="txtReplacement" value="" /> <input type="button" text="Add" id="btnAdd"/> </div> <table id="#tblWords"> <tr id="tr_1"><td>abcd</td><td>xyz</td><td><a href="#">Edit</a></ td></tr> <tr id="tr_2"><td>abcd</td><td>xyz</td><td><a href="#">Edit</a></ td></tr> <tr id="tr_3"><td>abcd</td><td>xyz</td><td><a href="#">Edit</a></ td></tr> <tr id="tr_4"><td>abcd</td><td>xyz</td><td><a
[jQuery] [validate] Missing more accurate e-mail validation
Hello, We develop a system with the validate plugin for all client side validation and I see that the email validation in the core of the plugin accept special characters like "ç" and "/". I make a alternative validation for e-mail using the specification RFC 2822 strict - http://www.rfc-editor.org/rfc/rfc2822.txt We called in the company restrictEmail: /* Email validation that follows the restrict RFC 2822 pattern*/ jQuery.validator.addMethod("restrictEmail", function(value, element) { return
[jQuery] Ajax form submit.
Hi all, I´m using jquery to post some Form with Ajax, but it doesn´t send the name of the 'submit' button that was clicked. WIth normal form submission without AJAX, the browser always send the name and value of the submit button. My web framework, needs this parameters, to find out if the button was clicked, in order to call its listener method... It seens that the ${form}.serialize() doesn´t append the submit name/ value in tue query String. I tested the Form.serialize() from protype and it works.
[jQuery] looking for a slider
hi i've searched around fot a while but couldn't find any slider that suits my need. This is what i'm looking for (jquery style!) http://www.phatfusion.net/slider/ plus i a '+' and a '-' buttons. Does anyone know about a plugin which does this? Thanks vitto
[jQuery] performance questions
First of all, the star rating plugin is great. I think I need some help with my use of it perhaps. I've got some performance issues regarding the rendering of the page. The problem is that when the page is waiting on some images to finish loading, the jQuery has already run and converted the star rated fields into checkboxes. In my case, I'm using a split set so there are 20 checkboxes, and the user sees these for several seconds while the images of the page are loading. Is there something I could
[jQuery] There must be a better way to write this
I'm trying to fade an element out, then fade it's next sibling out, with no predetermined amount of elements. Here is an example of how I have it now but with only 3 elements: function fadeEmOut(){ var kid = $('#folio').children(); kid.eq(0).fadeOut(function(){ kid.eq(1).fadeOut(function(){ kid.eq(2).fadeOut(); }); }); } i KNOW there is a better way to write this, I attempted using the each() function but it fades every element simultaneously. When someone
[jQuery] search and replace TD innards
I tried to build a plugin that would replace all numbers in td's of a certain class with numbers formatted with commas. For instance: <td>1111</td><td>2222</td> Would be replaced with <td>1,111</td><td>2,222</td> Here's the code... doesn't work for phooey. When I debug in firebug, the variable 'number' equals (literally): "function (value) {\n return value == undefined ? this.length ? this[0].innerHTML : null : this.empty().append(value);\n}" $(".commas").addCommas(); jQuery.fn.addCommas = function()
[jQuery] animate problem when using ems and ie
Has anyone had a problem animating the left position of an element when using em units in IE? It works fine in Firefox, but in IE it seems to reset my container to either it's original position or zero, not sure which, before running the animation. I would like to leave the units in ems if at all possible. My javascript is a little rusty, but here it is: $(document).ready(function(){ $(".btnScreen").click(function() { // force ems if($(".sectioncontainer").css("left") == '0px')
[jQuery] 'next' button to open next accordion panel
I'm trying to include a "next" button in my accordion panels, but I'm not sure how to make it function. I have the panels sliding up and adding an "active" class fine when you click the panel headers, but I want to replicate this functionality on a "next" button also. Here's my page: http://dev.emsix.com/phd/default.asp Here's my accordion code: $("#floor-widget h3:first").addClass("active"); $("#floor-widget div.options:not(:first)").hide(); $("#floor-widget h3").click(function(){ $(this).next("div.options").slideToggle("normal")
[jQuery] Need div collapser
help... company wants to find a replacement for Infragistics component. I'm kinda new to jQuery and I see many demos of divs collapsing up and down but nothing collapsing left or right. Is there a place in this huge project that I can find this functionality?
[jQuery] jQuery Leaderboard?
I'm trying to find a javascript leaderboard script. I've seen this done many times in Flash, but I would prefer to do it in Javascript/jQuery if possible. Here is an example of what I'm talking about: http://www.nabble.com/file/p19739832/leaderboard.gif Do you guys have any suggestions? Thanks in advance. -- View this message in context: http://www.nabble.com/jQuery-Leaderboard--tp19739832s27240p19739832.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Browser interaction research
Hi everyone, I'm conducting research on behalf of the University of Toronto. We're trying to determine how developers and more advanced users interact with their browsers. Note that this is not paid research so I'm not gaining from it (other than a mark :-p). If you can spare 7-10 minutes of your time it would be great. Please visit: http://tinyurl.com/dynaminds-survey I decided to post this here because of the strong developer community jQuery has. Where better else to post this than here? Thanks
[jQuery] Slide left
help... company wants to find a replacement for Infragistics WebSplitter component. I'm kinda new to jQuery and I see many demos if divs sliding up and down but nothing sliding left or roght. Is there a place in this huge project that I can find this functionality? Sorry, running short on time.
[jQuery] [Validate][simpleModal]Validation not working in simpleModal
Hello, First of all, thank you for reading my post. I have been trying to resolve this issue for the past 2 weeks trying different things. Let me get right into my problem, but before explaining the problem, let me share my objective and then go on from there. Test Link: http://thedailysavings.com/beta/test11.php Objective: Display a lightbox style box containing a registration form. This form must validate all fields in real time using AJAX. There will be other forms on the page as well such as
[jQuery] TUTORIAL: How to create a stunning popup from scratch step by step
Hi mates, i finished a new tutorial called "How to create a stunning and smooth popup in jQuery from scratch" on http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/ I hope you can use it for your personal projects and comment in the blog entry requesting new jQuery tutorials. See you soon!
[jQuery] Best Practices: Separating HTML from JavaScript
I'm always looking for as loosely coupled a system as practical, and I have a question about separating HTML from JavaScript (using jQuery). What's the best way to apply a "template," so to speak, to some JS method? I'm trying to create a button bar for a plugin, and it has to be loaded in dynamically (can't be on the page already, mostly for modularity, etc.). What practice is advocated by the jQuery community when it comes to adding DOM elements? One thing I definitely don't want to do is what
[jQuery] could someone Please Help...
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!!
[jQuery] how do I fix the position of an element?
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!! :-D -- View this message in context: http://www.nabble.com/how-do-I-fix-the-position-of-an-element--tp19774250s27240p19774250.html
[jQuery] how do I fix the position of an element?
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!! :-D -- View this message in context: http://www.nabble.com/how-do-I-fix-the-position-of-an-element--tp19774250s27240p19774250.html
[jQuery] how do I fix the position of an element?
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!! :-D -- View this message in context: http://www.nabble.com/how-do-I-fix-the-position-of-an-element--tp19774250s27240p19774250.html
[jQuery] selecting all element with a given class but not another one.
Hi, I can't figure out what the syntax is to select all the elements which have a given class but not another given class. Example : I want all the elements with class .RepeatedItem but which don't have the class .RepeatedItemSelected. I've tried this with no luck : $(".RepeatedItem + not:(.RepeatedItemSelected)") Does anyone know the syntax ? Thanks
[jQuery] image highlighter?
hi there, I`m really new to Javascript and looking for a solution to highlight images. So there are small thumbs on the page with an black overlay with maybe 60% opacity. If You rollover the image the opacity fades to 0... Can anyone help me? thanks in advance!
[jQuery] Passing a variable to a function
Hi guys, I've been trying to get this literally all day! I just can't work it out. I've got this HTML: <ul> <li class="evname"> 1 This is the event name </li> <li class="evsum">some text here</li> </ul> On click of <li class="evname"> the li beneath should reveal. But because there are many of these ona page and they will be dynamic I need to set it to reveal only the relevant one. So my plan was to reveal the relevant <li class="evsum"> in order. Here's the jquery: $(document).ready(function()
[jQuery] jQuery method's don't work when adding HTML to page
I have a lightbox variation (boxy to be specific) that I am using to load some remote HTML via AJAX. Inside of the remote HTML, which is basically a login panel, I have some javascript to process the login. However, the normal jQuery methods don't have any affect on the elements inside of the HTML that was loaded via AJAX. If, inside my remote HTML javascript, I add an element to the remote HTML using document.createElement, then the jQuery methods work fine. The methods I am trying to get to work
[jQuery] Blur effect with jQuery ?
Hi, I can't find this effect in the API or in the plugins repository. Does anyone know if it's possible at all to blur a DIV using jQuery, or would I have to code this myself ? Thanks
[jQuery] Unhandled exception in jquery-1.2.6.min.js
Hi I'm attempting to use the jQuery library within VS 2008 with no luck. Here is what I did: 1. Created a new MVC app having a View linked to an MVC Master Page 2. Copied the jQuery lib to the content folder 3. Dragged jquery-1.2.6.min.js to the HEAD section of the Master Pager src="../../Content/jquery-1.2.6.min.js" type="text/javascript"> (excluding script tag intentionally) 4. Dragged jquery-ui-1.6rc2.min.js to the HEAD section of the Master Pager src="../../Content/jquery-ui-1.6rc2.min.js" type="text/javascript">
[jQuery] [validate] jQuery validation plugin in Drupal
Hi, When trying to use the validator plugin, I get the following error: missing : after property id edit-name: "required", It seems like it has problems with the "-" that Drupal puts in the id's of each form field. Is there a workaround possible? Thanks, Jeroen Coumans
[jQuery] jquery hoverMenue and Click
Hi, i am testing jquery. I am use the Hover Menue from http://docs.jquery.com/Cookbook/Navigation. I change the hover with hoverIntent an it works fine. Now i would like build a click-event. if the User move the mouse over, the Submenue slide out after 300 miliseconds, if the User klick then the submenue should slide out immediately. Can someone help? Maro
[jQuery] java class clashes with jquery
I this jquery-related error when i run a java applet (that uploads files through FTP) I'm wondering how this error occurs, firebug doesn't show a call-stack trace... :( Java class com.javauploader.hermes.U has no public field or method named "jQuery1222913664275" var id = elem[ expando ]; it occurs in this piece of source: data: function( elem, name, data ) { elem = elem == window ? windowData : elem; var id = elem[ expando ]; // Compute a unique ID for the element if ( !id ) id = elem[ expando ]
[jQuery] jEditable plugin
Is there a way to toggle the editable functionality? I'd like to activate/deactivate making an edit in place field editable depending on if a user selects something. Is there a way in jQuery remove events associated with a class or something to that effect? Thanks!
[jQuery] Choose the best Selector
Dear folk consider the Below HTML Code <div id="a"> <p id="b"> <input type="text" id="c" /> </div> I would like to have Input selecter there are some ways which one has more speed and it is efficient 1- $("div#a p#b :text#c").val(); 2- $("#a #b #c").val(); 3.$("#c").val(); 4-$(":text#c").val(); 5-$(#a).children().children().val(); and ..... Regards Pedram
[jQuery] testing
tstin123 -- View this message in context: http://www.nabble.com/testing-tp19776226s27240p19776226.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] MultiFile plugin
I can't get the MultiFile plugin to work at all for me. I have a dropdown list of real estate properties and use ajax to bring up the correct data and all that works. They need the capabilty to add multiple photos to a property. Ive tried all combinations of things to get this to work and can't. I will post a condensed version of the code and hope someone can see what I can't. Also, I'm not getting how, when you add a file, it lists it with a "remove" link. Is this automatic or do I code a hidden
[jQuery] can someone help?
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the position on the screen, that is it moves up, down, left or right to compensate for the users scrolling. I hope that makes sense. In advance Thanks for Your Help!!!
[jQuery] [autocomplete] Using Autocomplete plugin in position:fixed popups
Hi! Jörn Zaefferer's Autocomplete plugin: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I'm using the plugin in modern modal-popups, they have position:fixed property attached. Scrolling the window does not affect my popups (due to position:fixed), but the already opened autocomplete layer doesn't stay in place and moves up and down on my screen while scolling. Could anyone or especially the author of this plugin fix this issue? It's solved in jQuery UI Datepicker component by
Need to get Superfish Basic (horizontal) to go right across
thanks. So, I enjoying superfish 1.4.1 thing is I need to have it go ALL the way across the page without adding divs of the same color etc. So, can anyone tell me IF the css can make it go all the way across the page left to right...without wrecking it... like fluid almost... though if I can just get it like 1100px or so wide that's fine too. appreciate any ideas for sure...
[jQuery] Valdiation plugin request
Hi all, I am successfully using the validation plug in and i would like a request to make it more easier to have a form in several different "divs" for a multi step layout. I solved a multi page form by filling in already the values of the step2 and 3 inputs and then validating it and then when the user goes to step 2 or 3, clearing the fields. Would it be nice if there can be like a "ValidationAdd" function where you can add validation rules dynamically, so you can make a multipage form easier.
Next Page