[jQuery] Creating multiple elements with different containers?
I have a slight problem with one of my plugins. I'm taking a table, and parsing it to create divs containing the header/footer and fixed columns. These are all put into a containing DIV and then the containing DIV "wraps" the table. (that's the end result, not the actual process...). Now it turns out I need to do this to a second table on the same page. The problem is that I'm making references to the various divs by class name. So when I create the second instance, the first gets modified. I suspect
[jQuery] Test - Please disregard
Test email.
[jQuery] [ANNOUNCE] Jonathan Snook Live on UStream.tv
Jonathan Snook will be conducting a live chat tomorrow (3/5/08) at 10:00am EST (15:00 GMT) via UStream. Here are the details: * Location: http://www.ustream.tv/channel/snookca * Date/Time: 3/5/08 at 10:00am EST (15:00 GMT) * Topic: Q&A relating to Jonathan's development work with Adobe AIR, and questions regarding JavaScript, frameworks (PHP or JavaScript), or about freelancing. If you're not familiar with Jonathan, he is one of the top client-side veterans around having published books, articles
[jQuery] onbeforeunload
Is there any support for the onbeforeunload event in jQuery? I contribute to an open source records management application which employs jQuery. Some of our usability feedback has been that users loose because they don't realize they must submit a form before navigating to another page. Sounds silly, but I guess it's easy to click one of the links on our edit page while in the middle of completing the long form. I was inspired by Gmail, which warns that your message hasn't been sent when you navigate
[jQuery] multiple clicks needed to submit form with form plugin
This is a bit strange as it happens on only one form on my site which uses many forms with the form plugin. The form appears on the page via an ajax call (like most of my forms), and when the user submits the form it is submitted and the response returned via ajax call. When the user clicks submit the first time, nothing happens. If you click again, the form gets submitted. When I have validate attached to the form, it takes three clicks to get the form to submit. As far as I can tell, this form
[jQuery] Context Menu plugin - id of clicked element
Hi, Im new to jquery and im struggling with hopefully a simple question! Im using the Context Menu plugin - http://www.trendskitchens.co.nz/jquery/contextmenu/ which allows you to generate a right-click menu. All works fine, however im now trying to pass in the id of the item that has been clicked upon. Im listing several images on a page, and offering the right-click menu for each. I need to pass in the id of the image which has been clicked. Each image has a div with a unique id. The documentation
[jQuery] jquery treeview async doubt
Hi, I'm trying Treeview jquery plugin and I have a doubt about async filling mode. In the example in http://jquery.bassistance.de/treeview/demo/async.html the tree is filled with source.php file. In that file, it writes directly a JSON structure but I can´t understand one part: <pre><code> <?php if ($_REQUEST['root'] == "source"): ?> [ { "text": "1. Pre Lunch (120 min)", "expanded": true, "classes": "folder", "children": [ { "text":
[jQuery] Firefox-like multi-purpose search bar
Hi all I´m looking for a jQuery plugin that "emulates" the Firefox multi-purpose search bar (the bar that stands on the right of the address bar), something like: "[type][input][submit]" where: [type]: when clicked, shows a drop-down menu with options that define the type of the search (a person, an address, [input]: a text field to type the search subject [submit]: the submit button (usually an image) to submit the search If I could I would write a plugin to do this, but I don´t know how or where
[jQuery] Ajax Request Help
Hey Could anyone guide me in the right direction on this: I want something like: http://www.retailmenot.com/view/amazon.com The part, 'Did this coupon work for you' I want that, so when yes or no is clicked, the new percentage is brought back. Someone said I need to do: Onclick on worked button, send url to php script via ajax that adds +1 to the database and then use mysql and stuff on the php script to return the value of percentage. However, I'm kinda new to this stuff so .. Can anyone do the
[jQuery] Form Plugin: files not supported ?
Hi, I try to submit my form with the Form plugin using ajax, but it seems that when I add a file in the form, I get a JS error. Aren't files supported by the plugin ? Thank you for any info ! -- View this message in context: http://www.nabble.com/Form-Plugin%3A-files-not-supported---tp15825190s27240p15825190.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jCarousel
Hi, I'm trying to implement your plugin on a page with MULTIPLE carousels; I'd like to use a syntax like: jQuery(".carousel").jcarousel({ with a CLASS selector rather than an ID one. What about it? Is it possible or not using the latest release of the plugin? Actually it seem not...thanks in advance for your work, see you Dario
[jQuery] Full size Calendar
Has anyone developed a full size calendar, like a day planer etc. Similar to google calendar???
[jQuery] adding a loading image to a mouse pointer
hi there, i've just started doing jquery stuff and am interested in how i can add a loading image that will follow the mouse pointer, pretty much exactly how cluetip does it. actually i'm using cluetip in my site and would like to replicate the loading image functionality.. if someone could point a n00b in the right direction i'd appreciate it. regs .r99
[jQuery] jQuery Tutorial at IBM
http://www.ibm.com/developerworks/web/library/wa-aj-overhaul1/index.html?ca=drs- Developer Works drops jQuery Ajax + ThickBox tutorial. Part one posted today. - jake
[jQuery] Checkboxes not working with .toggle()
I am using a checkbox to enable/disable a fieldset of input fields in a form. This toggle worls great, but the checkbox itself won't change it's state at all. Here is the code: <br style="font-family: courier new,monospace;"> <div style="margin-left: 40px;"><span style="font-family: courier new,monospace;"> $("#checkBox1").toggle(</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> function () {</span><br style="font-family: courier new,monospace;">
[jQuery] ANNOUNCE: No Spam plugin
This jQuery plugin turns an obfuscated e-mail address into a human- readable one. It's lightweight and accepts multiple filtering levels for additional security. http://www.leftrightdesigns.com/library/jquery/nospam/ I also created a PHP function (see link above) to dynamically obfuscate your e-mail addresses. This allows you to simply pass in an e-mail address without having to alter it by hand so it matches some algorithm. I know there are other similar plugins out there, but they weren't what
[jQuery] How do I make an inline anchor link slowly scroll down?
I want there to be an event such that when I click on an inline link it scrolls down to the anchor slowly enough where it is visible. I can't find out how to do this. Any suggestions? Here is the effect I am looking for. Click on any of the five top navigation links on this Jquery page: http://jquery.com/demo/thickbox/
jquery version of mootools getStyle('display');
I am trying to figure out how to get a style property using jquery. I am used to mootools getStyle('display'); Is there anything this simple in jquery?
Help with fading multiple divs with one button
I am stuck on this issue, i have 3 divs, I am trying to fade in and fade out accordingly; $(document).ready(function(){ $('#energyTip2').hide(); $('#energyTip3').hide(); $('#energyTipBtn').click(function () { if($('#energyTip1').css("display","block")) { $('#energyTip1').fadeOut("slow"); $('#energyTip2').fadeIn("slow"); } else if($('#energyTip2').css("display","block"))
[jQuery] Stop Image Download when <img> is gone
Question for those who know more about this stuff than I: I'm using jQuery on an interactive site, essentially it creates widget type things from rss feeds. So users can add and close these widgets and yada yada. The problems is, a lot of the widgets end up having a lot of images in them and I've noticed that upon closing the widget, which removes all <img> tags from the dom, the image transfers continue. Is there any way to stop an image transfer?
[jQuery] why jQuery?
Hey, what is going to have the best future: jQuery or Prototype (scriptaculous)? Maybe you can tell me a few differences and/or reasons for your joice... Regards, zok
[jQuery] query attribute names, not values?
Hi, I've been using the following JQuery code to generate striped table rows: $(".zebra tr:odd").addClass("odd"); However, we're use a CMS & each time a user edits a page that employs this code, the CMS appears to be adding a nasty jquery-related attribute to each table row that has a class value of 'odd'. For example: <tr class="odd" jquery1201791561172="13" jquery1202395579096="12" jquery1202723035398="10" jquery1202723075859="10" jquery1202747552558="10" jquery1203356118865="8" jquery1203433854906="6"
[jQuery] Accessibility
Hi all, We want to help make it easier for people to write accessible jQuery applications. We are very encouraged by Paul's recent work making some widgets keyboard controllable and to see the earlier ARIA plugin from Chris Hoffman. Still, there is a lot to do! If you are interested in being a part of making jQuery UI more accessible, John has created a google group: http://groups.google.com/group/jquery-a11y Please join the effort! cheers, Colin Clark and David Bolter
Jquery UI: sortables not working properly? [SOLVED]
I'm trying to make a sortable list work with the jquery UI plugin. From what I can tell and find in documentation on other sites I'm doing everything right but I'm still having problems on; http://www.intervisualwebdesign.nl/projects/sortables/Untitled-5.html It's more or less ignoring my options, I've used several from which only update seems to work? When I use serialize nothing happens, it's just empty =/ I've got the dependancies right. As far as I know I've got all the code right. Anyone a clue
[jQuery] Browser Open User Authentication Dialog using jQuery in test environment
Browser Open User Authentication Dialog using jQuery in test environment, example in local machine (localhost), however this behaviour isn't present on the production environment.
[jQuery] Putting each character of a string into an array
What will be the best to put each character of a string into an array, like so: str = "abcdefg" => arr[0]="a", arr[1]="b", arr[6]="g" and so on. Thanks, Leon.
[jQuery] assign to outerhtml
Hi all! I'd like to update a tr tag of a table with an ajax call. The problem is that outerhtml is an IE specific attribute, and I have the row style defined in the tr tag. Is there a cross-browser solution to update a single row of a table either with some cross-browser outerhtml script or without using outerhtml? So here just getting the outerhtml is not enough, I'd like to use it as an lvalue. Since I'm a beginner in jquery, can I have a minimal but complete example? (I have some difficulties
[jQuery] slideUp, slideDown artifacts
Anyone else get slideUp, slidDown artifacts? Specially in IE elements show for just a millisecond or so after they have been slid up. Ive noticed it happen more often if the dive is very short. The taller the div, the smoother the slide. Code: $("#toggleSearchFormButton").toggle( function () { $("#formContainer").slideUp("fast"); }, function () { $("#formContainer").slideDown("fast"); } ); The form contains hidden inputs
[jQuery] how many Jquery books are there?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <META content="MSHTML 6.00.6000.16546" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>As far as i know there r 'Learning Jquery' and 'Jquery In Action'.and else?</FONT></DIV></BODY></HTML>
[jQuery] Firefox constantly loading _ normal or not ?
Hi! my app uses a few ajax calls, mainly $('container').load( ) calls. The ajax call performs successfully but the browser displays its rotating logo (upper right) as it is continuing loading. anyone knows if this is normal or is this a bug in my app ? I tried setting a very obvious ajax parameters but they do not get triggered so i assume there is no timeout $.ajaxSetup({ timeout: 1000, error: function(a,e){alert("ajax error: "+ a+ "\n"+e)} }); any advise would be welcome Thank you, alexandre
[jQuery] Convert one select with optgroups to two dynamic selects - approach advice
I have written code to replace a form select with optgroups to two dynamic selects. The optgroups create the options in the first select. The second select is populated dynamically from the chosen optgroup in the first select. The reason for this approach is to allow the dynamic selects to degrade to a usable long select with optgroups. Having gotten the basic code to work, I decided to replace the original (optgroup) select, so that the form would be submitted with the same id/name/data. However,
[jQuery] trying to create scrolling div inside jcarousel
Wondering if anyone can help me with this... I have a page using jcarousel kind of like how this page is using it: http://www.jobberbase.com/ I have HTML content in each of the "slides". In some of my slides, I don't have control over how much HTML will be present in them, so I want to be able to show a vertical scrollbar as needed. I tried wrapping my slide content in a div with style="overflow:auto;", but when I do that, it seems to interfere with an overflow:hidden that jcarousel relies on to
[jQuery] jCarousel: how to animate after ajax update ?
Hi, I 'm using jcarousel to display the list of clicked elements, providing some kind of history. I would like to visually show when the history has been updated the latest click, by, say, highlighting briefly the new element. Anybody knows how to do that? Thank you, -- Alexandre
[jQuery] [SITE] www.velikibrat.co.yu
The new season of Serbian Big Brother started and they made new site that uses jquery. I found pngfix, round corners and more....<br clear="all"> -- Dragan Krstić krdr <a href="http://krdr.ebloggy.com/">http://krdr.ebloggy.com/</a>
[jQuery] Function overriding
Consider I have a simple plugin, e.g. jQuery.example = function(name) { sayHello = function(str) { alert("jQuery.example.sayHello: " + str); }; sayHello(name); }; at sometime later, I would want to override the original sayHello method(), so I add, jQuery.example.sayHello = function(str) { alert("jQuery.example.sayHello(Overrided): " + str); }; But this does not work. Any idea? Thanks.
[jQuery] jQuery on Mozilla rhino
Hello, Anyone tried to run jQuery on rhino? I followed John's post, it was okay. However, if I code in Java (since I don't use command line), the env.js cannot be interpreted: E.g. engine.eval(new FileReader("C:/env.js")); It gives: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing : after property id (<Unknown source>#15) in <Unknown source> at line number 15 at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source) at javax.script.AbstractScriptEngine.eval(Unknown
[jQuery] techniques for displaying line numbers
I'm trying to sketch out a concept for an application that is essentially a simple text editor or equation editor. A user will type or paste some text ( a calculation of sorts) into a text area. Is there a way, perhaps using jquery, to display the line numbers along side the text or text-area? Is there a way to render the text area as an ordered list on the fly, while still allowing editing? Just looking for ideas from anyone who may have encountered this thanks Rolf -- View this message in context:
[jQuery] IE7 Flicker On DIV slideUp()
So, I have an issue that I have seen mentioned in other posts but no solutions work for me for some reason where in FF, slideUp() works fine, but in IE7, it flickers at the end of the slide. I am using jquery-1.2.3.pack.js and the DOCTYPE is set to strict ("-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd"). I'm not sure how to fix this? (using hide() causes no flicker, but I'd like to keep the slide.) Here's the code: <div id="frameBody"> <div id="frameBodyContent">
[jQuery] jQuery & Firefox bug.
Hi! I have several links using jQuery that have only the purpose of showing help information. They are "virtual links" because they don't link anywhere (i.e. onclick = return false). When using jquery with these kinds of links, Firefox seems to ignore the return false sentence. Here's an example (works in IE 7, but not in Firefox 2): http://extranetdev.outsystems.net/jQueryTooltip/Sample.aspx Can you please help me on this? Cheers, Mário
[jQuery] Reducing the amount of code
I want to reduce the amount of code. http://bin.cakephp.org/view/758193968
Next Page