[jQuery] accordion 1.5 - fixed height with scrolling
I had an accordion working with an older version of the jquery.accordion plugin, such that the accordion was a fixed height, and if an individual 'drawer' had too much content it scrolled. accordion v1.5 seems to override my overflow settings. It may just be a different option setting, but I can't find a demo that does the same thing. suggestions?
[jQuery] Event listeners on jQuery generated content
Often times I will insert HTML into an element using jQuery and then search the dom for these elements and add event listeners. Depending on how dynamic the data is, I sometimes opt to use livequery. Using traditional javascript I can use var p = document.createElement('p'); and then assign an event listener to p _before_ inserting it into the DOM. I feel like a simple function would allow me to do both and was wondering if anyone already does this in jQuery or not. If you do, any sample code and/or
[jQuery] How to Export Excel + HTML Table
Hi everyone, exist any way to export Excel file this table: <table><tr><td> Campo 1</td><td> Campo 2</td></tr><tr><td> Campo 3</ td><td> Campo 4</td></tr></table> Any idea? Thanks You Don Quijtote de Nicaragua. Elder Soto.
[jQuery] Wait for animation to complete
Hello, I've got three div-containers with custom animations: $('#container1').click( function() { slide("#container1"); // custom animation } ); I want to forbid clicking (=animations of) container2 and container3 while the animation of container1 still is in progress. Could you help me? TIA, Torsten
[jQuery] 3 states with plugin jquery validator
Hi, is possible to set 3 states with remote method: of jquery Validator? (true,false,others status) or call function? remote: my function(){ get pages.. Thanks
[jQuery] Problem with $.getScript()
Hi everyone I'm using FF3 and I've a problem with $.getScript() when I execute: $.getScript("s/script.js",function(){ $("#logPl").append("Aditional information"); }); don't run, when I execute: $.getScript("http://dev.jquery.com/view/trunk/plugins/color/ jquery.color.js",function(){ $("#logPl").append("Aditional information"); }); execute normally, this problem appear in the last update of firefox 3 Excuseme mi beginner level english.
[jQuery] Simple load pagination
I have a simple pagination working which basically loads a page based on a link I pass it. The link is generated in php as next (link + 1) or previous (link -1). <script> function getinfo(link) { $("#info").css("cursor","pointer").load(link); } </script> I would like to include a filter bar with various select list (status, location) which should pass the information to my getinfo() function, so as to filter the result sets and keep the pagination, however I have no idea how to go about this? fleabo
[jQuery] Problem with a param in a grid
Hello, my English isn't very good, so I'll try to do my best. I'm making an application with jquery grid and I have a problem with the columns params. I add differents rows to the grid from a list of beans. Those beans have some attributes and one of them is another Object, and I'd like to show one attribute of this object. For example. One class called 'Car' has differents attributes like color, wheels... and a Driver. I'd like to show in the grid the color, the wheels and the driver name. I have
[jQuery] jquery ajax cache
<!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.5730.13" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" name="Compose message area"> <DIV><FONT face=Arial size=2>hi all,</FONT></DIV> <DIV><FONT face=Arial size=2>It is my first time using jquery.ajax
[jQuery] Passing PHP variables to a jQuery script.
Does anybody know how to best pass PHP variables to a jQuery script? Do you have an example? Thanks!
[jQuery] get the index of an element within a group
hi, all I would like to find the index of a checked radio button. Is there a better way to do than what I did as followings? var radio = $('input[name=click2_sel]'); var curr_index = radio.index(radio.filter(':checked')); Thank you! Jack
[jQuery] how to Persist JQuery object into HTML string & convert back from HTML String into JQuery object
Hi All, Sorry if i am not enough researching about JQuery, i am a newbie in JQuery. i can do simple stuff like draggable and droppable object in JQuery, the problem is, i want to convert the result into HTML+JQuery string and save it into database table, and also i want to be able to read the HTML+JQuery string from database table and convert it back into JQuery object , so i can start to play with it and save it whenever i am satisfy. Is there a tutorial how to do that ? cause i have been searching
[jQuery] Pagination
I have a large file which I would want to display using the pagination technique. How do I go about it..
[jQuery] Superfish Menu
I'm having some trouble with superfish menus. first off I'm new to jquery and these menus and do not completely understand what it is I am supposed to do. I've set up a dummy template to play wiht on the site I am working on so that i do not mess up the real menu (in any case site is still under development) I've got links to jQuery set up (working as I've got the cycle plugin operating correctly) and I"ve linked to the superfish.css and js files - stuff is happening on the menu,but the drop down
[jQuery] UI: sortable & selectable
Hi all, I searched a lot how to combine a sortable with selectable items but with any luck. I've been trying to code myself but cant figure how to make it works ... ,, I'm not sure if, once selected, I can rely on sortable class to drag them, or I have to define a function that holds this (moving the orders selected togherer with the dragged), just like in this example http://pastebin.me/4898e096afcc0 thanks 4 any help
[jQuery] Force Update Dom?
Hello all. I'm working on uploading images and cropping them. I'm running into some issues with the DOM not updating for several milliseconds. As an example script (using the dimensions plugin): $img = $("<*img src='images/upload/mountain.jpg' /
[jQuery] binding
I'm trying to bind the event focus to my onfocus but the "this" is conflicting with each other. Is the any alternative way of doing this? Any ideas how i should do? The script $(document).ready(function() { $("input").searchProducts(); }); (function($) { $.fn.extend({ searchProducts: function () { new $.searchProducts(this); } }); $.searchProducts = function(obj, options){ this.obj = obj; obj.focus(this.onfocus); // .blur(this.onblur) //
[jQuery] looking for an ajax guru..
Hey.. Recently came across the site www.cogmap.com, which allows a user to create an org chart on the fly.... If I'd like to recreate this, is there anyone here who's javascript guru that I can talk to about this. It appears that the site is based on/uses the ajaxian/scriptaculous plugins. Basically, looking to build a psuedo clone and I don't have the $10K that noinc.com would charge to build the site... If you have the skills, let's talk! Thanks peace
[jQuery] looking for an ajax guru..
Hey.. Recently came across the site www.cogmap.com, which allows a user to create an org chart on the fly.... If I'd like to recreate this, is there anyone here who's javascript guru that I can talk to about this... Basically, looking to build a psuedo clone and I don't have the $10K that noinc.com would charge to build the site... If you have the skills, let's talk! Thanks peace
[jQuery] Any word on jQuery Code Camp registration?
The blog post here: http://jquery.com/blog/2008/06/26/jquery-camp-2008-announced/ "jQuery Camp 2008 will charge a nominal fee of $50 per person, which will include lunch. Attendees need NOT be registered for The Ajax Experience to attend. Registration will open in July; keep an eye on jQuery.com for more details!" No details on main website... any idea of when this is happening?
[jQuery] ProgressBar
Dear folk, as you all know jquery has some new plugin for Progress bar .. But non of them are Developed for Server Use I found a link which they have developed the Progress bar But I test them All of them had a problem http://developerfox.com/create-web-20-progress-bars-jquery-dhtml-js-css-photoshop/187 this is the Link ... how we can figure out how much of the file has been uploaded each second this means each second server meets the javascript .... is this possible ... how did Gmail done this without
[jQuery] Accordion Problem
HI folk , I was working with accordion in my project as you all know we have to include dimension and easing plugin for the use of it , I check it with FIrebug it took 2s to load it .... what is the Problem ... by the Way my accordion it is not minified or packed for some reason it could not work with them .... Regards
[jQuery] (Newbie Question) on loading jquery functions after AJAX load
First of all sorry I might sound a like a jquery newbie, but I'm loading a webpage with the "load" and that page contains a "datepicker" function, this is my code: <script type="text/javascript"> $(document).ready(function(){ $("#loadformdiv").load("forms.asp?form=2"); $("#loadformdiv").ajaxStop(function(){ $(this).append( $('.date-picker').datePicker() ); }); }); but it's taking the newly loaded page and putting the input datepicker field at the bottom, the same goes for any jquery function
[jQuery] How to retrieve options of a plugin instance
Hello all, I try to figure out how i can get options of an instance of a plugin i created. like: $.fn.ic_image = function(opts) { var options = opts; } $('#instance1').ic_image({test: "test1"}); $('#instance2').ic_image({test: "test2"}); then i would like to get the options of $('#instance1') Is this possible? I have spend a few hours on it, but i can't find the solution, so any help would be apriciated.
[jQuery] Fade in possible?
I noticed Fade In was possible on the old version but I couldn't see any documentation on how to do it in the new version? Was it taken out for a reason/bug? Thanks for a great plugin! - Matt spiffyguy@propass.com
[jQuery] Selecting parent form
Hello, I'm currently trying to select to parent form when I loose focus on a inputfield within that form to check the values and enable the submit button if possible. I want to keep it ass nice as possible (no hard coding). But selecting the parent form is a pain in the ass. This is what I did: [code]$('input.required').blur(function() { //looping over them didn't work -> however length says 2forms found what is correct $(this).parents().find('form').each(function test(i) { if(i==0)this.css.('background-color','red');
Highlight a table row on click
Hi, I have a table like: <table id="file_list_table" class="table_to_sort" width="200" border="1"> <thead> <tr> <th width="100px">name</th> <th width="100px">size</th> <th width="100px">delete</th> </tr> </thead> <tbody> <tr> <td>stuff</td> <td>otherstuff</td> <td>morestuff</td> </tr> </tbody> </table> I want the entire row to change color when it is clicked, but what I try doesn't work: $("#file_list_table tbody tr").click(function(){ $(this).children("td").css('background-color',"#F4F874");
[jQuery] Superfish menu and MS .NET Framework
I am using the Superfish menu in a website that I'm building using Microsoft Visual Web Developer 2008 Express. Yes, I know, but that was the client's requirement. The 2008 edition uses MS .NET 3.5 and the menu works just fine. However, the client asked for the site to be rebuilt using the 2.0 version of .NET. When I try to rebuild it under the 2.0 version, I get all kinds of errors on superfish.css. It complains that 'sf-sub- indicator' is not a known CSS property name. Any suggestions on what I
[jQuery] binding
I'm trying to bind event focus to my onfocus, but the "this" is conflicting, is there any alternative way of binding? Any ideas how i should do is? The script: $(document).ready(function() { $("input").searchProducts(); }); (function($) { $.fn.extend({ searchProducts: function () { new $.searchProducts(this); } }); $.searchProducts = function(obj){ this.obj = obj; obj.focus(this.onfocus); // .blur(this.onblur) // .keyup(this.onkeyup)
[jQuery] SuperFish, Flash and IE 7 problem.
Hello, I am using a SuperFish menu added by SWFObject. In the same page I have a flash movie. In IE7 the child menus show under the Flash Movie. In all other browsers (FF3, Safari 3.1 and Opera 9.5) everything works fine. Could someone tell me how to solve this? Thanks, Miguel
[jQuery] inserting class into table element
Does anyone know how can i add a class into existing table element using jQuery?? ex: <table class="tablesorter">
Selecting parent form
Hello, I'm currently trying to select to parent form when I loose focus on a inputfield within that form to check the values and enable the submit button if possible. I want to keep it ass nice as possible (no hard coding). But selecting the parent form is a pain in the ass. This is what I did: $('input.required').blur(function() { //looping over them didn't work -> however length says 2forms found what is correct $(this).parents().find('form').each(function test(i) { if(i==0)this.css.('background-color','red');
[jQuery] jQuery autocomplete without selecting the autocomplete option
Hi I am working on something now that uses the autocomplete to give options of a list of schools. I am having an issue where if you type in the full name of a valid school and do not select it with the autocomplete it doesn't allow submission of the form. It's as if there is no data in the field unless you click one of the options. Does anyone know a way around this or why it happens? Thanks, Jeff
[jQuery] serialize field type button
I have the line below in my system and works fine with jquery 1.1.4 but when I update to jquery 1.2.x I can't serialize the field type button. hash = jQuery("input[@type=text],input[@type=hidden],input[@type=password],input[@type=submit],input[@type=button],input[@type=radio] [@checked],input[@type=checkbox][@checked],textarea,select", $ ("#myform")).serialize(); alert(hash); For example: <form id="myform"> <input type="text" name="name"> <input type="button" name="btnSubmit" value="Search"> </form>
[jQuery] php printing jQuery
Greetings, I'm familiar with php, and somewhat less familiar with Javascript/ jQuery. I have an error that seems simple, but I've tried everything I can think of and am felling as though I've hit a brick wall. Any help/ suggestions would be greatly appreciated! I have based my code off of this (working) example: jQuery code: $("#spanT a").click(function() { $("#selectedItem").find("span:last").remove(); var foo = $(this).attr("title"); alert(foo); }); html: <span id="spanT"><a href="#" title="test2">test2</a></span>
[jQuery] Prototype --> jQuery transfer issue
This is a PHP subroutine with an onclick referring to $row['id'] using prototype: function get_topic_listing($row) <td class="subject"><a href="#" class="sel_subject" onclick="Element.toggle(\''.$row['id'].'\'); document.getElementById(\''."replies_".$row['id'].'\').innerHTML = \'\';return false;">'.$row['subject'].'</a> </td> <div class="topic_body_head" id="'.$row['id'].'" style="display:none">'.$row['message'].'<div> : : : : and here is the jquery command I don't know how to translate
[jQuery] Superfish
hello, i have small problem with superfish menu in IE6... popued menu is hidden behind main image :( Test site here: www.le-on.eu Regards. Pali
[jQuery] how to use jquery goto position ?
example, i have tag a .. <a name="example"></a>. Now, how to use jquery goto tag a with name is "example". p/s: not use url http://domain.com/index.php#example
[jQuery] hmm...count't use like this?
code: $(document).ready(function(){ $('#demo').click("getImgURL("+1+")"); }); function getImgURL(arg){ alert(arg); }
[jQuery] Stop animating serialScroll
Hi everyone! As i am new here, i'm wondering if this is the right place to post my question about interactive control of serialScroll. I am trying to describe my problem, any help or hint is greatly appreciated! I am using jquery (jquery.js), jquery-scrollto (jquery.scrollTo-1.3.3- min.js.js) and jquery-serialscroller (jquery.serialScroll-1.2.1- min.js) on a website. There are four slide-divs i am serialscrolling. This works fine and looks smooth. Here is the code for initialization: <code> $(document).ready(function(){
Next Page