[jQuery] passing 0 to html() doesn't work like it does for other numbers
When I call html(5) it will set the innerHtml of my element(s) to "5". However, zero seems to work differently. When I call html(0), it removes the contents of my element(s) and does not append anything. I had hoped after a call to html(0), that html() would return "0". Is this the expected behavior, or is this a bug? Thanks, Lowell
[jQuery] Looking for help with a small jquery project by a noob
Greetings all. I am trying to add some jquery code to a few modules I am developing in Drupal 5.x. I'm struggling to get up to speed with jquery but so far i've been successful in what I have tried to do. Until now. If you would like to see the discussion I have already started at Drupal it is at http://drupal.org/node/269197. I have a very basic html page to outline what I am trying to do. A version of it is here: http://www.whootis.com/dev/jquery.html I have three radio buttons as part of a group.
[jQuery] jQuery version
Hi, I'm looking for jQuery().version() or something similar. I want to verify what version of jQuery is installed. Thanks in advance! PD: I'm using jQuery as included in JBoss Richfaces / SEAM.
[jQuery] detecting old browsers that can't use jQuery
I found an old thread here that has some code that looks pretty good: http://groups.google.com/group/jquery-en/browse_thread/thread/8b53e26326c14e87/37f11594475d5640?lnk=gst&q=browsers+compatible#37f11594475d5640 Is anyone else using code like this? Can anyone confirm how well this code works?
[jQuery] XML facebox issues, any support would be greatly appreciated
Here is my issue. I am dynamically generating XML data that is to appear in the facebox as a means of displaying additional information about a product if so desired by the customer. My problem is this: I have set up the various <xls:for each...> <choose> etc., etc., which break down the xml data into divs and text tags that i want to be seen by the viewer. All of these are working properly, generating new content for each product (name price, image, etc.) within my for each i have also included
[jQuery] ANNOUNCE: black'n'white 1.0
This plugin is a tribute to the "Firefox Download Day 2008". This plugin helps people moving away from Internet Explorer turning the colors of your website to a grayscaled version (using a property of Explorer itself!). It was written from an idea of Andy Clarke and with suggest of Simone Parato<br clear="all"> <a href="http://maxb.net/blog/2008/06/17/blacknwhite/">http://maxb.net/blog/2008/06/17/blacknwhite/</a> <a href="http://plugins.jquery.com/project/blacknwhite">http://plugins.jquery.com/project/blacknwhite</a>
[jQuery] Desi Indian Masala Village Girl's Nude Pics
Desi Indian Masala Village Girl's Nude Pics Young College girl Fucked by Three Professor's in Computer Lab,Watch Desi Videos For Free. UNLIMITED...Nude Sex Show by Mallu Actress in a Malayalam Movie - Mallu Masala,Rambha Meena Reshma Silksmitha Boobs Saree sex shakeela nude ... Sexy nude Indian babes from Tamil sex galleries to hot east and south Indian sexy babes. ********************************************** http://desibeautygirls.blogspot.com/ **********************************************
[jQuery] XML parsererror?? Where's the problem?
Hi all, greets for the useful group about jQuery. I'm in needing of a little help, because I'm stuck at an endless point. I've created a little search script using jquery, that asks a page for an xml (based on the query) and prints out some params on the html parent page. Here's the code: ::: searchPage.htm ---------------------------------------------------------------------------------------------- <html> <head> <title>Prova ricerca</title> <script type="text/javascript" src="jquery.js"></script>
[jQuery] problem with selector
In going through the 'Learning jQuery' book, I did some experimenting with the content of 'Chapter 1/alice.html'. Specifically, I have this selector and statement... $(document).ready(function() { $('.poem-stanza > div:eq(1)').addClass('blue_txt'); }); The problem is that when this is applied only the FIRST INSTANCE of "second child div of class .poem-stanza" gets the new class. Please note that the alice.html file has TWO INSTANCES of '.poem-stanza > div:eq(1)'. YKCOWREBBAJ sevot yhtils eht dna
[jQuery] Looking for JQuery advanced selectbox
Hi, I'm looking for JQuery plugin that can allow me add images to html select element. Actually, I want to implement select box for choosing languages with flag for each language. Thanks in advance.
[jQuery] li:gt(...) keeps counting to the next list
Using two ul lists: <ul> <li>alpha</li> <li>beta</li> </ul> <ul> <li>gamma</li> <li>delta</li> </ul> In jQuery, I am trying to select all li's *except* the first one: $("ul li:gt(0)").hide(); and then on hover, reveal them: $("ul:first-child").hover( function() { $("#preferences ul li:gt(0)").show(); }, function() { $("#preferences ul li:gt(0)").hide(); } ); The problem is, that the selector "ul li:gt(0)", goes on and hides the
[jQuery] imageAreaSelect bug
im using the imageAreaSelect ( http://odyniec.net/projects/imgareaselect/ ) plugin. i have (code below and at http://pastebin.com/ma828e3e ) which works fine. i.e. i am able to select a portion of the image. <script type="text/javascript"> $(window).load(function () { $('#asdf img').imgAreaSelect({ maxWidth: 20, maxHeight: 20 }); }); </script> <div id="asdf" style="display:block;"> <img src="../../common/images/blankImage.gif" alt="A ladybug being harassed by an ant." title="A ladybug being harassed
[jQuery] Combining other plugins with Intercept
Hello! I have recently discovered the beauty of event delegation and the best option for me was Intercept plugin. It is cool to bind only once certain events and then you are care- free. But now I have more needs. I would like to "permanently" set some other behaviours to some kind of elements: clueTip, tooltip, thickbox, tabs.... for thickbox I managed, it was rather easy since TB uses an easy function: $(document).intercept("click", "a.thickbox, area.thickbox, input.thickbox", function(){ var
[jQuery] can I reload page through jQuery?
can I do like as something that: $('#ReloadButton').click(function() { $(document).reload(); }); But this move don't work:) How can i do this action - "reload page"?
[jQuery] [site using jQuery] www.iwidgets.com
Javascript widget builder for deployment to social sites uses jQuery - check out the public beta Thanks jQuery team for such a great library!
[jQuery] Download Asian PORN Videos from, Thailand, Japan, China, Malaysia, Hong Kong and the rest of the word.
Download Asian PORN Videos from, Thailand, Japan, China, Malaysia, Hong Kong and the rest of the word. From amateur videos of prostitute fucking in Thailand to brutal and perverted Japanese Sex Videos! Our categories includes deep throat, anal, cream pie, lesbian and other TEEN related content. http://tinyurl.com/3n3cte http://tinyurl.com/3n3cte
[jQuery] Download Asian PORN Videos from, Thailand, Japan, China, Malaysia, Hong Kong and the rest of the word.
Download Asian PORN Videos from, Thailand, Japan, China, Malaysia, Hong Kong and the rest of the word. From amateur videos of prostitute fucking in Thailand to brutal and perverted Japanese Sex Videos! Our categories includes deep throat, anal, cream pie, lesbian and other TEEN related content. http://tinyurl.com/3n3cte http://tinyurl.com/3n3cte
[jQuery] jQuery + Prototype on newest release (1.2.6)
Hello, I just made the jump from Prototype to jQuery and so far I'm really enjoying it. However, some parts of my website are still using the Prototype library and I don't have the time or resources at the moment to recode everything using the jQuery framework. The problem I have is that I can't seem to use both libraries on the same page with the 1.2.6 release of jQuery. Here's a very simple example of what I'm trying to do: 1) I load jQuery core 1.2.6 2) I load Prototype only if the page needs
Why does the parent events apply automaticlly to the childs?
Hi guys , I am stuck with a little problem with JQuery , I want to apply an OnClick event to a parent div and all of its childs except one child, the child has its own Onclick event . What happens is that when I click on that specific child , it executes its OnClick event and then executes the parent's event. The problem here is that I want the specific child to execute its event only without executing the parent event ... that's my code : $("#parent").click(function() { // executes the parent's
[jQuery] [PLUGIN] Table Drag and Drop jQuery plugin
Ever wanted the ability to sort table rows using drag and drop? Here ya go: http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ Found this plugin when mentioned in another email thread. Rey...
[jQuery] editable table + json
Hi, is there any jQuery plugin that would allow me to create dynamic table based on JSON data set, with possibility to edit cells? thanks in advance :) michal
[jQuery] File upload of a form inside another form
Hi, in a control panel I have a form that collect a lot of data. Inside this form I want to collect N images using the ajaxform plugin to permit an ajaxLike file upload. The problem is that if I use this markup : <form name="collectData" id="collectData" ...> <input type="text" value="" name="name"> <form name="ajaximgupload" id="ajaximgupload"> <input type="file" name="img" /> <input type="submit" /> </form> <input type="submit"> </form> and this javascript: var options = { success: function(){
[jQuery] hot beds 4u
<div class="widget LinkList" id="LinkList3"><div style="text-align: center;"> </div><h1 style="text-align: center;"><a href="http://designhelper.blogspot.com/">Interior Design Ideas Episode</a></h1><h2 class="post-title"><a href="http://www.designhelper.blogspot.com/">http://www.designhelper.blogspot.com/</a> </h2><h2 class="post-title"><a href="http://designhelper.blogspot.com/2008/06/bed_4042.html">Bed</a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_xVQJjfMt-VI/SFaNooC8IUI/AAAAAAAAAiY/AJ-r9Zxof4w/s1600-h/6.JPG"><img
[jQuery] Optimizing jQuery Tabs - improving load time
Hi, I'm a bit of a newb with JavaScript though pretty fluent in general xHTML/CSS web design. Anyway, I use jQuery Tabs for the carousel on my site's homepage since I had prior experience with it. It works just fine, though the only issue I'm having is that while the page is loading, the divs holding the content for each tab all show on the page, and on a slower connection it can hang like that for a few seconds before the script pops them into place. It's much easier to show an example: http://www.grooveeffect.com/
[jQuery] javascript runtime
(function($) { $.dictionary = []; $.dictionary.setValue = function(key, value) { this[key] = value; }; $.dictionary.getValue = function(key) { return this[key]; }; $.dictionary.delValue = function(key) { this[key].delete; }; })(jQuery); in this example with jquery, delete doesn't work on the item, why?, another question, the plugin constructor is an Array why its methods are not directly "accessible"?
[jQuery] [Tooltips] jTooltips error
Hi, I'm using drupal 4.7 and download and installed jTooltips 4.7.x 1.6 module from http://drupal.org/project/jtooltips When I installed, I extract the zip files and put it under drupal my site modules/ Then, enable in module section of drupal and go to administer/settings/ JQuery tooltips. Then, I got the following error: warning: Missing argument 2 for drupal_get_form() in D:\AppServ\www \mysite\includes\form.inc on line 61. How can I fix that problem? Is there any detail instruction for how to
[jQuery] [Tutorial] Horizontally and Vertically Center and Resize an Image with jQuery
Horizontally and Vertically Center and Resize an Image with jQuery by David Joyce http://davejay.exit42design.com/entry/All/44/ Rey...
[jQuery] After click, two events occurring at the same time... why?
I'm developing this site, here is the current snapshot: http://tester.hearsaynashville.com/services If you click on either "Contact Us" or "Client Login" in the upper left, or on the gray "Ready to Get Started?" button, you'll see a slideDown. Excellent. Now click the same button. It scrolls up, exactly like I want it to, all smooth and nice. Now try it again, but click one of the buttons and then a different one. One panels slides up at the same time as the other sliding down. Why is that? I can't
[jQuery] how to make browser ensure specific element is visible
Hi Newbie user and I guess this probably has a simple answer. I have a hidden div on the page that is shown when user clicks a button. Its a help text, in a div, for the page that is only to be shown when the user wants it. But the page is long and when I un-hide the div I also want the browser to scroll the document so as to ensure this div actually visible within the browser window. Is there an easy way in jQuery to ensure a given element is actually visible on screen and not scrolled off the bottom?
[jQuery] jquery doesn't work in dynamic table??!
hi can anyone help solve this problem.. i created a table using javascript. basically it creates dynamic row... How come that jquery doest affect the table using $('tr:even') and $('tr:odd')? heres my code javascript: var newPara = document.getElementById('newText'); var mybody = document.getElementsByTagName("body")[0]; var newtable = document.createElement('table'); newtable.setAttribute('align','center'); newtable.setAttribute('id','clientTable'); var newtbody = document.createElement('tbody');
[jQuery] Create a "stop" function for this countdown plugin?
Hello, I have been scratching my head on this one for hours now... mostly because of a lack of JS skills. Can anyone help me create a function that stops this simple "countdown" plugin? Basically I just need some way to stop the count down when a user clicks a link. Thanks in advance if you can help!!! Plugin overview: http://plugins.jquery.com/project/jquery-countdown http://plugins.jquery.com/project/jquery-countdown Plugin code: http://plugins.jquery.com/files/jquery.countdown.js_.txt http://plugins.jquery.com/files/jquery.countdown.js_.txt
[jQuery] sub-menu for a particular top-level link stays open until the user clicks on another top-level link
Total noob here: I have an <ul> based navigation system with 3 top level links; The first and third links go to pages, while the second link displays a sub-menu of 3 links when you mouse-over it. My question is very simple: how do I make this sub-menu (hidden in its' initial state) display and remain open until the user clicks on one of the other top-level links? My guess is that it's set to display:none initially, but that on mouseOver or clicking on the appropriate top level link that adds a new
[jQuery] Font-Size in IE 7 and 6 Bug - Size zooms to 960px
I have a font size switcher that changes the font size. Works great with all browsers except IE 7 and 6. In IE, when you click the larger link, the font size of the div in question balloons to 960px. Has anyone else experienced this? Where do I learn how IE declares the font-size? Any help would be much appreciated. This is driving me crazy. Here is the JS... $('.fontChanger').click(function() { var theElement = $('#pageContent').css('font-size'); //Get the font size alert(theElement);
[jQuery] Expandable Div
I am wanting to have a div that you can click your mouse on the edge of it, and then drag the bottom of the div up to make it smaller, or drag it down to make it larger. Obviously I would set it to overflow:auto so that my scroll bar would appear when needed. Does jQuery have something like this built in?
[jQuery] Flowplayer vs. jqModal in IE 7
Using jqModal in a page with the Flowplayer video player. In Firefox, it works as anticipated -- opening a jqModal "window" covers (or hides, anyway) the FP object. In IE7, the FP stays visible (and operable) on top and, depending on where the "close" button happens to be, prevents the user from closing the modal dialog. Lil demo here: http://www.limitedsector.com/flowplayer_vs_jqmodal/ Not sure if this is a Flowplayer problem or a jqModal problem, suspecting the latter. I'm guessing there's something
[jQuery] Binding in jQuery
Ok, so I know that the Prototype `bind` method isn't the correct way to go about things in jQuery. The problem is I don't know what the correct way is…So, I offer up an example: $(document).ready(function(){ $('h2.countdown[paused="no"]').each(function(){ this.update = function() { this.innerHTML = 'stuff'; } this.interval = setInterval(this.update, 1000); }); }); The idea here is that every second the update function runs on the selected h2's.
[jQuery] ColourLovers Navigation
Hi all, I am looking to do a navigation bar very similar to colour lovers. http://www.colourlovers.com/ http://www.colourlovers.com/ I am new to jQuery and Javascript and was wondering if someone could point me in the right direction to build a navigation like that (or if it can even be done in jQuery). I have been using the animation features in JQuery but all the animations tend to move downward and not upwards. Any links or help is great appreciated. Thanks, Phuzion -- View this message in context:
[jQuery] calling a function before a form is submitted
Hi, I'm trying to perform an action before a form is submitted using the following snippet: $('form').submit(function() { updateMapFromFields(); return true; }); but for some reasons the updateMapFromFields seems not to be executed. If, instead, I execute the following code (with "return false" at the end): $('form').submit(function() { updateMapFromFields(); return false; }); I can see that the updateMapFromFields() works fine but, obviously, the form isn't submitted (while I'd like it to be submitted
[jQuery] Bindable variable data - similar to Flex?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=821132214-16062008><FONT face=Arial size=2>I'm reading about a newish JS framework called SproutCore:</FONT></SPAN></DIV> <DIV><SPAN class=821132214-16062008><FONT face=Arial size=2><A href="http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-sproutcore/">http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-sproutcore/</A></FONT></SPAN></DIV>
[jQuery] Controlling a list box change event that fires faster than ajax can complete.
I'm making a web application that will be the front end for a MySQL database. I've got a page that displays a row's data. There are about 20 input fields and a list box. This list box lists the pk of each row and on change loads that row into the fields. Also, one of the fields is the source of an image and that image is loaded. So it can take a moment to load. My problem is dealing with scrolling through the list (holding the down or up arrow) and having the list change function fire a bazillion
Next Page