[jQuery] Using tablesorter 2 with IE7 and large row count causes spacing problems
I am attempting to use tablesorter 2 and IE7. I have the table sorting correctly - it looks great! However, when the table has lots of rows (I haven't been able to figure out if differing row heights are involved), the space above the table starts growing. In FF3, it works fine - no spacing added, but with IE7, it adds space - apparently in proportion to the number of rows. I have tried styling the table to be located with "absolute" and it makes no difference. Any help or ideas on how to proceed
[jQuery] IE fails on Append() on iframe body element
Below is a small example of where the append functions fails in IE. I've been banging my head against the wall and just can not figure it out. I need append to work, the function call html was just to see if that would work which it does.. Ideas? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled
IE fails on Append() on iframe body element
Below is a small example of where the append functions fails in IE. I've been banging my head against the wall and just can not figure it out. I need append to work, the function call html was just to see if that would work which it does.. Ideas? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled
[jQuery] [validate] "required field" keeps on appearing
hi, i'm new to jquery, i'm currently using the validation plugin to validate my forms. here's my code <script src="includes/jquery/jquery.validate.js" type="text/ javascript"></script> <script src="includes/jquery/cmxforms.js" type="text/javascript"></ script> <script type="text/javascript"> $.validator.setDefaults({ submitHandler: function() { alert("submitted!"); } }); $().ready(function() { $("#addrest").validate({ rules: { restname: "required" }, messages: { restname: " <font face=\"Arial\" style=\"font-size:
[jQuery] Superfish Menu Disappears When Clicked
Hello All, I have two superfish menus on the same page in the same menu. Whenever I click on one of the items in one of the menus the other superfish menu disappears. Here is the CSS code I'm using, but I don't think it is the issue. Any help would be greatly appreciated. ul.sf-menu li, ul.sf-menu li * { list-style: none; } .sf-menu ul.sub { position: absolute; top: -999em; width: 7em; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; border-left:
Click function dosen't work, after append new html data.
Hi all, I am new to jquery. My close click event function dosen't work, when ever i append new html data to my div. Intially it is working fine with static data. Please help me to fix this problem. $(function() { $("#addrow").click(function() { alert($("#mainlayout .row").length); var len = parseInt($("#mainlayout .row").length); var html ="<div id=\"row1\" class=\"row\"><ul class=\"ulpanel \"><li><div class=\"close\" ><img src=\"images/delete.png\" /></ div><div>1</div></li><li><div class=\"close\"><img
Clearing fields
Hi, Im having trouble trying to clear the values of this click program. Basically if you click the pictures of the monkeys a counter will count the number of clicks. I created <div> elements next to every counter, but my on click function for my button wont work. Please help. Thanks $(document).ready(function() { var clickw = null; var clickf = null; var clickg = null; var clickm = null; $('#wrop').click(function(){ $('#wrop_count').html((clickw++)); $('#totalmonkey').html(clickw); }); $('#ftang').click(function(){
[jQuery] concatenate "this" and selector?
I want to make my code smarter by using child elements of $(this) but I'm not sure on the syntax. Here is some slimmed down code (that doesn't work) to help explain my situation; $(document).ready(function(){ $("li.trigger").hoverIntent( function () { $(this).next(".flyout").slideDown("fast"); }, function () { $(this).next(".flyout").slideUp("fast"); } ); }); <ul> <li class="trigger"><a href="#>Link One</a> <ul> <li> <div class="flyout">
[jQuery] $.get xml document with xhtml fragments in IE
hi group, i try to use jquery to insert xhtml fragments into my html dom at various places. the fragments are found in a large xml document i get using ajax. the line that fails in IE (6 & 7) is: $("#"+x).append($("text",node).children()); with x being the id name for the element and node a fragment of the xml tree retrieved with jquery .get() i tracked the problem down to being the origin of the data: IE does not want me to append nodes that come from another document. however, i googled around
[jQuery] SlideUp() Question
Let me preface this by stating, showing the code is not going to be possible, nor do I think it to be needed. I am looking to produce an animation that is in my head tricky. I am looking to reproduce the effect of slideUp(), but in reverse. Instead of pulling the bottom to the top, I want the top to move up. Yes you can do this sort of thing with ther methods like animate and moving the background position, but what I have is a situation where that won't work. I have an image with text on it, that
[jQuery] Problem with Safari 3.2.1
Hi, all. This simple code doesn't work for me <div id="a" style="background: red"> <div id="b" style="height: 20px; background: green"></div> </div> ... $(function(){ $("#a").css("padding-right", "100px"); }) If I move it outside ready event it works ok. If I put it another handler, onclick for example, it stops work again :( Any ideas? Version jQuery 1.3.2
[jQuery] Recommend tree widget toolkit
Hello: If jquery itself does not support a tree widget toolkit, can anyone recommend one, I've tried dojo but two problems: 1)doesn't work - even verbatim example 2)No support 3)Very big system Any comments or recommendation welcome. thanks tim
[jQuery] hi!
Hi! have a little (or big) problem with my page. i'll describe the issue to give you a photograph of that. I'm creating a site wich the main purpose is publish graphs or maps, with php/mysql/jquery. Got an index page and then using jquery to load all the pages on a div called iframe_style. The main problem its that when i'll click on a object that calls a page wich load all the maps from specific issue. it load sometimes and sometimes don't.. i think that when the server of the database take some
[jQuery] Can some one convert simple code to jQuery
Can some one convert following code to jQuery ? function check(value) { x = document.bulk_import.elements.length; for(i=0;i<x;i++) { if(document.bulk_import.elements[i].name == 'article_id[]') { document.bulk_import.elements[i].checked = value; } } } The function is used to check/uncheck all check box.
[jQuery] Does the "ready" event wait for JavaScript files to be downloaded?
I am working on a Web app that will consist of virtually empty html pages to be downloaded with references in the head tag to JS files that will be used to dynamically construct the elements of the page. I have read that the "ready" event waits until the DOM is loaded and manipulable. Would this mean waiting until all of the JS includes have been downloaded? Thanks.
[jQuery] How to pick elements by id, if id includes [ and ] symbols?
Hello! I have some element (<input type="text" .. , or <td.. ) with id = "ph_number[289]"; How can I pick it by ID ? $('#ph_number[289]') returns zero-sized object.
[jQuery] Superfish integration into Joomla 1.5
Hello, I try to integrate Superfish menu into Joomla 1.5. But no luck. : ( Perhaps I don't understand the principles. Maybe someone can help? I made some articles and made menu (using mainmenu mod from joomla). No CSS, just default. Downloaded and installed superfish mod for joomla 1.5. Enabled it, disabled main menu - no luck. Menu looks like default. I've chosen nav- bar style - also no luck - menu unchanged. Made google search - all info is about enabling superfish in page header. It's enabled
[jQuery] Ajax Search - Plugin Needed
Hello all. So, I want to have a long list of items(divs containing a title and text) (possibly paginated) that are also searchable. On this certain page, people will be able to search a term in the search bar in the upper right and then upon hitting enter, the results will be instantly displayed in the location where the list items were(so I don't want the results directly under the search bar, nor do I even want a search button). Is there a good jquery plugin for this sort of thing?
[jQuery] Cluetip Issue
Dear folk , I'm working with the CLuetip plugin I faced a problem . How can I remove the Clutip from an object for example : $("div").cluetip(); $("div").removeCluetip(); // I want to do this Thanks
[jQuery] stop rotation when a panel is clicked
Hello, I am new to this and not a really good coder so please help me out. I have the last version of the rotating tabs and in each panel I have a form with selects etc What happens is that whenever I start selecting something from the form (without having clicked the tab before) it ignores me and continues rotating. What I want indeed is to click on the panel and to have the same result as by clicking in a tab/title (stops rotation). Thanks!
[jQuery] Positioning problem in Safari 3.0 (Windows)
I have a page here, in which I use jQuery for dialog boxes: http://www.cafcusa.org/2009-conference-registration/index-jquery.cfm On the above page, scroll to the table that says Friday, Saturday and Sunday in the left column with a bunch of radio buttons in columns on the right. Next to each radio button is a hyperlink. Clicking on a hyperlink is supposed to get a dialog box in the middle of the screen. On IE6, Firefox 3, and Chrome 1, everything works fine. But in Safari 3, when you click on a link
[jQuery] Image Load and fade in
I have used a tutorial online (jQuery for designers) and have created a image load and fade in after the dom is ready. In firefox 2.0.0 it will not load. I just see the little swirly load image. Is there something wrong with my code? You can see my code at http://idea-labs.com/profile/jamesduffy Or here is the main snip: Styles in CSS file: DIV#loader { border: 1px solid #ccc; width: 200px; height: 300px; overflow: hidden; } DIV#loader.loading { background: url(/assets/images/spinner.gif)
[jQuery] not works on IE
Hi, i've a pb to do working the valdation plugin on IE. My form : http://finassurouest.mediacom87.com/devis-pour-entreprise.php I do'nt understand what i mystake in my code. Thanks
[jQuery] Superfish Bug - Mouseout in FF does not work over <input>
I have a SF menu that expands over a form. With FF3, when I mouseout over any of the form fields, the menu does not collapse. I need to place the cursor back in the menu and mouseout somewhere else. This is only the case directly over the input, or textarea tags. If I slip the mouse between them it works fine. Any ideas as to what might be causing this? Maybe something with jQuery blur? I'm guessing that the following code is where the problem starts: <code> $a.each(function(i){ var $li = $a.eq(i).parents('li');
[jQuery] Superfish Menu problem
hi i have a problem whit Superfish Menu. the childs buttons dont look well i dont know how to explain it my english isnt very good. but look it www.sistelsoft.com how i can solve it? Thanks David
Can't get two input fields to fade
http://pastebin.com/m72607226 I'm trying to hide the entire login form, and it goes to the case statement, but I can't for the life of me figure out why it won't fade them. Occasionally it will hide them (without the animation), but now it just does nothing (the JQuery code runs because I've stepped through with Firebug). Any help would be greatly received.
Importing content
All, I need to import the contents of a .txt file into a single string and store it in a variable. I've been racking my head how to do this in Javascript (because it needs to be local, so no HTTP request). Is it possible to do something like this in jQuery? If so, could you kindly point me in the direction of where I should be looking? thanks very much. --thesprucegoose
[jQuery] Select Issue
Hi I have an autocomplete which displays list of results when i start typing. My problem is, anytime i click to select an option the selected doesnt settle back in the textbox as a chosen option. Simply put the when i select an option nothing happens. Ideally i would like my selected option to hide the autocomplete list while the selected option sits back in the textbox. Here's my peice of code; $(document).ready(function(){ $("#example").autocomplete("test.php",
[jQuery] Need help handling multiple $.get calls :(
Hi. I'm new here and I'm very stuck. I need help. Hopefully someone can tell me there's a very simple solution to my problem Smile I have a site where you can click links and open the relevant content in a "window" so to speak. It's all from the same domain. Anyways, my problem occurs when you click on lets say... 5 links very fast. What happens is that only 1 or 2 of the windows get content. What's happening is that when one of the first calls finishes, it seems to take precedence over more recent
[jQuery] Need help handling multiple $.get calls :(
Hi. I'm new here and I'm very stuck. I need help. Hopefully someone can tell me there's a very simple solution to my problem Smile I have a site where you can click links and open the relevant content in a "window" so to speak. It's all from the same domain. Anyways, my problem occurs when you click on lets say... 5 links very fast. What happens is that only 1 or 2 of the windows get content. What's happening is that when one of the first calls finishes, it seems to take precedence over more recent
[jQuery] fadeIn AJAX form & invalid submission
i tried to fade in an Ajax form, from another Ajax request to a php page, which when submitted will show up the Ajax response but instead when submitted it shows up a new page...and moreover the form's submit button's value attribute contains a custom string by me...but instead it shows up "Submit Query" as the submit button's value... the code piece is given for your convenience... $(document).ready(function(){ $("input[name='events']").click(function(){ var logd=$("input[name='logged']").val();
Need help handling multiple $.get calls :(
Hi. I'm new here and I'm very stuck. I need help. Hopefully someone can tell me there's a very simple solution to my problem I have a site where you can click links and open the relevant content in a "window" so to speak. It's all from the same domain. Anyways, my problem occurs when you click on lets say... 5 links very fast. What happens is that only 1 or 2 of the windows get content. What's happening is that when one of the first calls finishes, it seems to take precedence over more recent calls.
[jQuery] jquery cycle plugin. paging multiple divs.
Hey there. I got a problem with the jquery cycle plugin. I wanna have a div with thumbnails in it. that cycle and also use the pager function od the plugin. I also wanna have a div with the bigger images that also cycle and should also be accesable with the same pager. When I click on the thumbnail the div with the bigger image shows up and when I click on the bigger image it fades out. the problem is, that when i click on a number in the pager, the thumbs are cycling but the bigger images are not.
[jQuery] jquery-validate issues with IE
Hi, I have been looking for an answer, but for the love of God, can't find any solution. I have the validator working perfectly on FF and Safari, but can't get it to work on IE. It's giving me a serious headache, but I'm sure I'm missing something obvious. This is the page I'm talking about: http://www.thecentroexperience.com/de/wellness/contest/28/ If you click on 'MITMACHEN' it should give you errors on the right side of the inputs. It works fine in FF but IE just displays the errors and when I
[jQuery] [validate] email validation doesn't work!
hi, Is there a fix for email validation? at this time also emails like "abcd@e.f" are valid. I like that validation script, but it is not really usefull if the validation of an email doesn't work. best regards, mcreisi
[jQuery] JCarousel 2 rows
I am looking for help to modify Jcarousel to support 2 rows of items. If anyone has a working example that would be great! Dont know why it does not support multiple rows by default...
[jQuery] UI: Drag and Drop between two separate Trees
Is it possible? I have a client who would like to use jQuery for a fairly complex site. They would like to be able to drag items from one tree panel to another, and then return the list of changes to some PHP. Any suggestions / comments / questions are very welcome.
[jQuery] Superfish keyboard access
Hello, I have a minor issue that i've 75% solved, it's just the last little bit that I'm stuck on & I hoped someone can help - I think I'm doing something simple wrongly. Basically, the drop down menus on my site work perfectly with javascript on. If I turn java off, the drop down menu still works fine with the mouse. However, with the tab function from the keyboard it doesn't show up..... ....BUT! - if I hover the mouse pointer over the "parent" (ie the item in the main menu under which the drop
[jQuery] [validate] custom error messages
been bashing my head with this one all day and can't seem to get it to display my custom error messages, any help would be great. $("#offer").validate({ messages: { seasons: { required: 'Please select at least one season', minlength: 'test' } }, rules: { /* Seasons */ seasons: { required: true, minlength: 1 } } });
[jQuery] jCarousel Prev-/Next-Button don't appear in IE
Hey everyone. I'm not sure if this is the right place to ask this question, 'cause maybe it is a CSS question, but here it is: I'm using jCarousel for a slideshow of images. I got a content-div where the slideshow takes place and beneath I got a footer-div in which I have placed the prev-/next-buttons. While in Firefox and Safari everything works fine my Buttons don't show in IE, well they show but are overlapped by my footer. I tried a lot with z-index but it just didn't work and I'm kinda stuck
Next Page