[jQuery] Does anybody make Sifr work with uitabs?
Hello, I have stumbled upon a problem with ui.tabs and Sifr3. If I attempt to use sifr to replace text within a tab, and that tab is hidden, the text never gets converted with Sifr. Sifr works on the first tab which is visible but when I open the next tab the text that supposed to be replaced is not replaced. If anyone success to make SIfr works on the hidden tab as well, please let me know what I can do. Thanks in advance. Slake424
[jQuery] tabs, ui.panel
Hi, What is a real meaning of ui.panel object in tabs related events? It is HTMLDivElement but how to get some more useful info from that? regards, Piotr
Save Layout
Hey, I have been trying for about a week now to be able to save the layout of my page, I am using sortable, dragable etc so that my users can create there own layout. I need away to save this layout either to a cookie or to a database so that I can reload there layout when they come back. Many Thanks Chris.
[jQuery] jQuery and Javascript timer question
What I'm trying to do is on click of a div spawn a "timer" (setTimeout) which will run while the user is on the page, on completion of the countedown of setTimeout, load a function to do a submit. However in my testing the following code does not wait, and submits the page event right away. Basically I want to be able to que up the click events and then process them during an idle few seconds. Check out my code below maybe you can help! <script type="text/javascript"> var pixelid = new Array();
[jQuery] [Validate] Possible remote and/or messages bug
I wanted to post this here first and see if anyone has seen this. This is easy to reproduce. The Prep: Create a form with a few fields, on form field 2 add remote="somepasge.htm" and make it required, create somepage.htm and put true as the only content of the page and of course set the for to validate. This is a basic form that would use the remote feature to check with the server, and the field will always be valid as long is is not empty. The problem: In your validate function call, add a messages
[jQuery] live and plugins
How would I make live work with plugins? With the livequery plugin i used $('.text-edit').livequery('click', function() { akedit(save_url, options); }); akedit is a not a jquery function. How would I make a plugin work with this Thanks, -Tom
OK I'm a noob - just want to calculate field values
Hi All I'd like to use JQuery to calculate and validate various form fields values based on another (as they are entered). e.g The user enters a value in a GrandTotal field. The user then enters values in other fields that together must total the GrandTotal field otherwise an error message is displayed. any ideas on the simplest method to enable this?? thanks in advance
[jQuery] unsubscrive
<br clear="all"> -- Diego Valobra pirolab WebDesign Roma
[jQuery] unsubscrive
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"> </td></tr></table>
[jQuery] drag/drop replace text/element
I'm trying to drag and drop between lists. I have the simple drag and drop down, but I want to add something else... I want drop a list item to another list item and replace the text or the drop zone. For example. I have two lists: <ul id="sortable1" class='droptrue'> <li id="whatever 1" class="ui-state-default">whatever 1</li> <li id="whatever 2" class="ui-state-default">whatever 2</li> <li id="whatever 3" class="ui-state-default">whatever 3</li> </ul> <ul id="sortable1" class='droptrue'> <li id="default
[jQuery] jquery and minify
Having just seen this site <a href="http://www.highpointvillage.co.uk" target="_blank">http://www.highpointvillage.co.uk</a> & running it through yslow (it got an f 50/100), one way to improve it would be reducing the http requests - but:- Would combining the scripts on a site like this with <span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">minify</span> be contrary to the
[jQuery] Odd SuperSubs Issue
Joel or anyone else, The SuperSubs plugin works properly only on the first sub-sub-nav. I'm not sure why. Take a look here and see the second sub nav's display (in the top pill nav rollover "Campus Life" and then "Student Athletics"): http://www.stcyril.net/site/ The li tag seems like it is ignored or is missing on the second sub- sub-nav of any nav item. So the sub-navs work fine, and the first sub- sub-nav in any menu item works fine, but if there is another sub-sub- nav in the same menu item it
[jQuery] Problems understanding jQueryUI and Dialogs
Ok, I'm probably missing the obvious here, but I'm having a very difficult time understanding how to use a jQuery UI dialog with a simple theme. First off, I began with the following code: <html> <head> <script src="js/jquery.js"></script> <script src="js/ui/ui.core.js"></script> <script src="js/ui/ui.dialog.js"></script> <script> function showDialog(){ $("#example").dialog(); return false; } </script> </head> <body> <a href="" onclick="return showDialog()">Show the Dialog</a> <div id="example"
[jQuery] Selecting parent id
Hi everyone, I have a lot of tables, like this: <table id="stuff1"><tr><td>lorem</td><td>ipsum</td></table> <table id="stuff2"><tr><td>lorem2</td><td>ipsum2</td></table> I want to loop through all td:s and select the id of the parent table. What is the best solution for that? $('table td').each(function(){ // select the parent table id here $('parenttable').attr("id"); }); Best regards, Christoffer
[jQuery] fade animations for graphics next to eachother; issues
Hi. I've got several graphics next to eachother that i've set to opacity=0.4; on mouseover i want them to light up to opacity = 1. So far so good, i have onMouseOver and onMouseOut events that get called, and i thought i'd just add animate() calls and i'd be fine.. Turns out that aint so.. It's probably multiple events firing in rapid succession after eachother, but i have no real clues yet on how to buffer the events and get the animation correct. have a look at http://82.170.249.144/mediaBeez/index.php
[jQuery] $(this).ready with images
Hi! I have the following task: I have a list of images and some of those images have a larger version that I want to display in a popup when clicking on them. As I want to generate those Popup-Links automatically I need to know the size of the large image. I do this by loading the large image into the list (without showing), getting it's height & passing it on to the function generating the popup. Of course the (hidden) image has to be fully loaded for this. I try to wait for that by using $('.myimage').ready(function(){actions
[jQuery] style
I am looking for someone to have a little fun with. Something to look foward to every thursday night to relieve some stress from work. I don't want to know about your crazy ex-girlfriend or your crappy boss. I just want to have some fun. http://www.styleweb.co.cc Im trashmouth5
[jQuery] not selector
I'm having some problems using the "not" selector on my jquery code. I have elements that have one classname "first" and only one of them has a second classname "second" (that is used in many other elements). I want to select the elements that have the "first" but not the "second". The selector I have is: $('div.first:not(div.second)') An the selector is not working. I'm using it incorrectly or is a bug? PD: you can test this problem in jquery.com page. There are 2 elements "li" that has the classnames
[jQuery] getElementById with ajax
This will be my first application with using jQuery library, so I might not make sense. I will try to explain what I want to do as simple as possible. I have two web pages, index.asp, ship.asp. index.asp: I have a form with ReceiverPostalCode and ReceiverCountry inputs. ship.asp: this is where I submit form inputs from index.asp to receive shipping quotes. For example, I get quotes at ship.asp?ShippingPostalCode=02116&ShippingCountry=US When customer enters ReceiverPostalCode and ReceiverCountry
[jQuery] Vertical menu for Newbees
Hello, After some not so nice experiences with the DW-Spry-Menus I'd like to test these ones. As a Newbee I wonder how I can make this vertical menu with the flyouts going to the left side instead to the right as the vertical menu will take place at the right side and so flyout to the left. Am I clear?? Where is the switch?? In the JS or in the CSS ??? Thank you udo
[jQuery] prototip-like script for jQuery
Hi, is there any jQuery script similar to ProtoTip ? I need a script that shows the hint which doesn't move when the mouse is moved and doesn't disappear if the mouse is over the shown hint...
[jQuery] Reload Javascript file
Hi everybody, i wrap an div with the id="content" from figurative.php with ajax on load it into my index.php it looks then index.php#figurative But i have a problem with it, because the figurative.php load pictures from a folder and i will use the fancybox to show the pictures. the problem is, that the fancybox did not work, because i think i have to reload the javascript file. becaue on index.php is no gallery avalible and so the function is not working. this is my ajax reload function: $(document).ready(function()
Help with loop needed.
Hi there, Could some kind person please tell me how to achieve the following with a loop, rather than repeating for each element. $('#hshowcat0').livequery('click',function(event) { $(this).hide(); $('#showcat1').show(); $('#category1').show(); return false; }); $('#hshowcat1').livequery('click',function(event) { $(this).hide(); $('#showcat2').show(); $('#category2').show(); return false; });
[jQuery] Changing Tooltip style
Hi, I would like to change the tooltip style: making the font smaller with a different color ; I tried changing the tooltip.css but it seems not to work... #tooltip { position: absolute; z-index: 3000; background-color: #eee; padding: 5px; font-size:small; <----- opacity: 0.85; } Please advice. Thanks in advance
[jQuery] Problem with dynamic XML
I have the following code: var cartXml = $("<data><carttotals><items>33</items></carttotals></ data>"); alert(cartXml.find("items").text()); this will spit out 33 in both safari and firefox However in IE it does not produce anything Here is what I have figured out so far: if I change to the following: alert($("<div><span> 33</items></span>").find("p").text()); this works in IE, Safari, and firefox it seems with IE you need to use real html tag names and not ones that are made up. Does anyone know
Jquery: Not Has Class
I've got a jquery selector I'm trying to get done and since I'm somewhat new to jquery I'm stumped. Essentially. I'm trying to get a div within divs with the class "card" that do not have the class of "correct" and then select the first one out of the list. $("div .card:not(.correct):nth-child(1) .question ").css('display', 'none'); After spending quite a while trying to get this to work I am now opening it up to anyone to give me a hand.
[jQuery] 'JQuery' tag is not working at all
Hi! Iam using JQuery 1.3. "$" tag is working fine. But when I try to use jquery plugin'jqGrid'. It gives error. As I think, this plugin is using 'JQuery' and my system is not recognising this tag [JQuery]. Following is the error, generated by Firebug. jQuery(modwin).jqDrag is not a function http://localhost/main/vibersol/shipping/main/js/jqGrid/grid.common.js Line 66 Can some one guide me, how to solve this problem. NOTE: Iam running default example of JQGRID. Thanks in advance
[jQuery] Damn ie7!
Hi to everybody, it's my first post here so it's nice to introduce myself: "my name is David, i currently live in Italy, nice to meet you all and many thank for this wonderful jquery!". I'm starting to get a grasp of jquery (i used prototype before and i find jquery a lot more easy to work with) but I'm puzzled on how this doesn't work in ie7!: <script> $(document).ready(function(){ $('option#nascondidata').click(function() { $('#datasingola').show('slow'); return false; }); }); function showHide()
Listener and condition
Hi everyone, sorry for my english... So, there is my issue : I've got a div "blue" of 200px * 100px. I've got a div "green" of 200px * 0px. When the cursor is over the divBlue, the divGreen's height grow to 100px. When the cursor is out the divBlue, the divGreeb's height reduce to 0px. The thing is the divGreen can't reduce until her height is 100px. I would like something like that : "if (divBlue.mouseout ==true && divGreen.height() == 100) { here, I reduce the height }". I obviously the "divGreen.mouseout
[jQuery] ZendX_JQuery
Hi, I just started to try ZendX_JQuery as in the documentation, but not working :( Where I need to put the JQuery javascript library files. Thanks in advance. Junaid
How to Edit Flora Styles?
A JQuery novice, I have some JQuery placed on a page --to make tabs --and I need to edit the styles. Dreamweaver tells me the CSS files ("Flora") are in a remote file and can't be edited. Do I need to get these CSS files on my local machine to edit them? How do I do that? Do these CSS files control both the styling of the tabs and the content within them? Thanks.
[jQuery] .text()
So below i have my code example. Basically when a user loads this page depending on the type of "campaign" this is, I want jQuery to show the proper Sub Form Piece. I can get the alert() outside the if else to fire, but nothing inside the if else fires, which leads me to believe that I might have the args set incorrectly any help would be great Thanks HTML ** <div class="detail_campaign_type">Coupon</div> <-- This is the reference text that is dynamic <div id="campaign_create_coupon">**Html Form
[jQuery] Large images IE ready event
In IE 6 through 8, whenever I use $(document).ready(function(){ });, it doesn't get triggered if there are still images trying to load. I use a graphic engine to draw huge graphs and it can take up to 5 seconds parsing the images and the code between the ready event doesnt get triggered until the images are fully loaded. It works flawlessly in Firefox. Only IE6-8 has this problem. Is there something I am missing in my code? Is this a known issue with IE? Thanks.
[jQuery] preventDefault Form
Hi People. Hope you can advise. I have a form loaded though an Ajax Call. I now want to be able to use this form again by using an Ajax call. I am unable to preventDefault unless I put it directly after the form which I really dont want. I know through other Ajax calls I have done that I have had to Bind & Unbind the links but its not working with a from. Here is a basic form example loaded. <form action"#" method="post" id="addme"> <input type="text" name="" value="" /> <input name="submit" type="submit"
Can't select next span AND next image
I'm trying to do a form with hints when you click on each field. So I have this code: $(document).ready(function(){ <script> $(document).ready(function(){ $("input").focus(function () { $("#legende").show(); $("#legende").html($(this).next("span").html()); $(this).next("img").show(); }); $("input").blur(function () { $("#legende").hide(); $(this).next("img").hide(); }); }); </script> <legend>Registrazione</legend><div id="legende"></div>
[jQuery] appendingTo a just created element
Hi All, I'm fairly new to jQuery so I apologize if I'm missing something straightforward but doing this: $('<div/>') .attr('id', 'someID') .insertBefore(elm); $('<p/>') .appendTo('someID'); Seems to give me errors. If I change "appendTo('someID')" to a different element's ID, it works fine, so I get the feeling that it can't append to the just-created div. Is this not the case? What should I do to move forward? Thanks for the help!
[jQuery] Cascading dropdown -chained - problem with IE
I am new to JQuery and your cascading dropdown was exactly what I was looking for. After formatting my data in JSON I have tested out the Chained example and it ONLY WORKS in Firefox and NOT IE. I am attempting to load the data from two external files, while your example loads the second data set from a static var. Is there a further step necessary to get this to work in IE? I have my working example at: jamestilberg.com/jquery Any help would be appreciated! :)
[jQuery] Selecting parent ID
Hi everyone, I have a lot of tables, like this: <table id="stuff1"><tr><td>lorem</td><td>ipsum</td></table> <table id="stuff2"><tr><td>lorem2</td><td>ipsum2</td></table> I want to loop through all td:s and select the id of the parent table. What is the best solution for that? $('table td').each(function(){ // select the parent table id here $('parenttable').attr("id"); }); Best regards, Christoffer
[jQuery] slideViewer v1.1 + Tooltip v1.3 + jQuery v1.3.1 = tooltips fail
Hi all, I'm having trouble getting the nice tooltips to show up on my slideViewer gallery when using jQuery 1.3.1. I need some guidance in debugging the problem Here's what I've found so far: 1. When using jQuery 1.2.6 (with slideViewer 1.1 and Tooltip 1.3) the tooltips show up UNDER the navigation (with 100% width) 2. slideViewer itself works fine with jQuery 1.3.1, but no tooltips 3. The Tooltip plugin by itself also works with jQuery 1.3.1 4. Firebug is showing some markup for the tooltip being
[jQuery] Making Web Game- Need Hitpoint XP histogram/line graph
Hi there, I have been using Yahoo UI for the past couple of years and finally jumped ship and have come over to JQuery mainly because of all of the amazing things I am seeing! I am making a simple web game. Users can level their avatars and engage in combat. Therefore, I require a horizontal histogram for the player's health meter and XP meter. Stats are stored in mySQL (LAMP) I have googled for a number of plugins and haven't been able to find a simple one that allows for horizontal line bars for
Next Page