autocomplete and link
$("#search").autocomplete(data, { minChars: 1, scrollHeight: 400, max: 20, fx: { type: 'slide', duration: 100 }, formatItem: function(row) { return row.text + " <a href='/"+row.url+"/"+row.page+"/'>GO</a> "; }, formatResult: function(row) { return row.text; } });Help me. href not work
Problem with Innerfade and IE7
Hi everyone, First of all, thanks a lot for all your support and community, this is really great. Ok now the problem : I'm using JQuery Innerfade for creating a diaporama on a website. All worked perfect by yesterday ( yeah...god... the day of presentation with my boss....lol) all screwed up. My diaporama got a sort of left huge margin and was out of my structure. I really didn't get it... Since this mornig, I figured out that the computer for my presentation got IE7 ( I'm working with FF and IE8
Is it possible to delay the validation with the JQuery Validate plugin?
We are using the JQuery Validate plugin from Jörn Zaefferer to validate if the user enters a valid timespan. There are two input fields and the plugin checks if the second entry is later than the first entry. e.g. first entry: 8pm, second entry: 10:30pm --> everything is all right first entry: 8pm, second entry 7:30pm --> that's an error Let's suppose the time frame the user wants to enter is 10:30pm to 10:45pm. That's a totally valid entry. The user enters 10:30pm into the first
validate but not block
Hi, We use JQuery validate pluggin to check if a field value already exists on database. This displays the error next to the field. But I want it to be JUST informative, i.e., not block submit (user decides if he still wants to post it with same name or not). So, I end up changing the code of validate JS, but I was wondering if there is a simpler approach to just indicate to not block SUBMIT on error. Thanks Pierre
Validate custom method can not act as pre-defined methods.
I develop a method to validate minmum byte length of string inputted as follow: jQuery.validator.addMethod( "minByteLength", function(value, element, param) { var length = value.length; for(var i = 0; i < value.length; i++){ if(value.charCodeAt(i) > 127){ length++; } } return this.optional(element) || length >= param[0] }, $.validator.format("need at least {0} bytes") ); When I use the method in my validator
jQuery Validator addMethod
Hi All, I'm using the jQuery validator plugin with a custom validation method added using the addMethod(name, function, message) method. This works fine and all validates correctly. The problem I have is my form has a next and previous button (both are submit buttons), when i click next I want the functionality to work as it currently does, when I click previous I want to disable the validation of the form. Can anyone point me in the right direction of stopping form validation for one of the buttons?
Integration Plugin Category shows "Page Not Found"
Not sure where the best place to post this was. Was surfing the plugins page when I was bored and clicked on the Integration category and it came up with "Page Not Found." http://plugins.jquery.com/project/Plugins/category/42
(validate) highlight missing radio button
I am working on a small form that has some radio buttons in it. It is validating correctly and highlights all inputs except my radio buttons. How can I highlight those or at least the text next to them on validate? Thanks Mike
Need to set a cookie on a toggle view
Hi. I need to set a cookie on a toggle switch which I found in a tutorial: http://designm.ag/tutorials/jquery-display-switch/ I want to use this with pagination and keep the state the user set instead of reset on each page. I found a suggestion in the comments on the tutorial but that did not work. Can I use the cookie plugin for Jquery for this? and how do i do it? Here is my toggle code: <script type="text/javascript"> $(document).ready(function(){ $("a.switch_thumb").toggle(function(){
struggling with custom parser on table sorter, any ideas?
Hi Folks, I'm having a few issues with my custom parser on table sorter. I want to be able to sort currency on our site but it comes in a variety of different formats. dollars, pounds and euros are all displayed in the usual format ($, £, €) however other currencies can be displayed by their 3 letter format such as (HKD, CZK, DKK etc). I basically want to be able to sort the prices regardless of what comes before it and wondered if anyone knew what I need to add to my custom parser to acheive this:
Conflicts with instant.js
Hi! I 've installed jquery plugin instant.js http://www.netzgesta.de/instant/ on my site and it was good! But. On my forum with avatars it does not work... Can you help me and find problem on my page , for example http://rubasket.com/forum/viewtopic.php?f=14&t=767 in avatar place. probably, it conflicts with other script but i have not experience to solve it.... also i look for plugin likes this ... thanks, Sergei !
Cycle custom timeout for last slide
In the cycle plugin, if you don't want the timeout to be equal for all slides, you can write a function to calculate the timeout on a slide-by-slide basis. This function takes the basic form: function calculateTimeout(currSlide, nextSlide, options, isForward) { var index = options.currSlide; if (index == 0) { return ...; } else if (index == ...) { return ...; } else { return ...; } }It's easy to see how to set the timeout for the first slide: Just test for index == 0. But how
Tablesorter, sorting numeric data as text
Hi, I'm having problems sorting with tablesorter. My data is percentage scores with 1 decimal place. This works fine on most occassions, but if a figure is less than 10% or 100%, they get sorted as text. Eg: my data gets sorted in the following order: 100.0 42.7 54.9 6.3 74.8 8.7 94.2 when it should be sorted as: 6.3 8.7 42.7 54.9 74.8 94.2 100.0 Is there any way I can force the column to be treated as a number? Thanks
Jquery displays a message in IE and Firefox
Cordial Greetings ... I need your help Someone might answer as I do to get the message I despligue IE or Firefox ".. a script is taking longer to run, want to stop or continue .. "(something like). this happens when I drive a system of more than 15000 rows around .. I am using this js NEXT jquery.tablesorter.js this link in http://tablesorter.com/docs/ from and thanks for your help
plugin idea: character group sliding
hi people, i am new to jquery but it already made my thoughts spinning around what cool stuff can be done using jquery. i have the idea for an animation that i intermediarily call "character group sliding". what it does is, sliding out characters of a string, which initially sit on top of each other, into their correct position on the screen. or vice versa, folding a string into chracters which sit on top of each other. eg. the string "12345". initially the characters would sit on top of each other
UI Tabs - it is possible to leave tab href intact?
Please take a look at example below: <div id="tabs" class="ui-tabs" style="display: none;"> <ul> <li><a href="#tabs-1">Tab 1</a></li> <li><a href="http://www.google.com"></a><li> </ul> </div> By default tabs plugin will replace second tab href with something like #ui-tabs-3. Is there a way to leave href intact? I know that I can use this: follow a tab's URL instead of loading its content via ajax but it doesn't give user a choice to open URL in current or new window.
jquery.autocomplete, setting additional params based on dom element
Hi there, I'm having an awful lot of bother trying to get this working. I want to implement auto completion for a text field as follows <input type="text" name="user[name]" id="user_name" class="autocomplete" /> <input type="hidden" name="user[id]" id="user_id" /> Currently our application returns a json string which we eval to extract the results and once the item is selected it fills in the hidden field value with the id as well as the user_name content of the text field. While the code we have
POP UP - Set AutoClose Time and Hide Close Buttons
Hi I'm using this jquery plugin (I suppose you could call it) from http://tautologistics.com/projects/jquery.modaldialog/doc/1.0.0/ I'm trying to out a redirect to another page after the time has elasped and the popup has faded. I'm using window.location but I can't seem to get it to tie with and redirect after the fade out. Can anyone help and shed some light on this? Thank you
How to optimize Slideshow Performance in IE?
Hi, We use a jQuery Slideshow for a Content Carousel on this developement site: http://praxisnaegeli.ch.dd17436.kasserver.com/ Unfortunately, it performs very bad in IE (e.g. IE8) the images are visible at the beginning of the page-load for a very short time, its like a little flickering. Does anyone have an idea how to otpimize the performance or preload this images? The problem is only visible in IE, FF and Chrome work very well and performing good... Best Regards, Sandro
Help using SimpleModal plugin (JQUERY)
Although, I have also asked for help here: http://stackoverflow.com/questions/2195541/help-using-simplemodal-plugin-jquery Just thought I would ask in the official forum. I am trying to use the Simple Modal plugin working, but when I click the link, the dialog box comes and goes away quickly. I am just trying to get a simple dialog running as shown in http://www.ericmmartin.com/projects/simplemodal/#examples. Please advise how to make it running. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
rookie question: tabs + combining options
Hi, i am new in using jquery ... and i have to figure out how to combine the ajax tabs and collapsible option and maybe some fx... slide... i tried this, but i does not work : $("#container").tabs({collapsible: true,remote: true}); i use : jquery-1.1.3.1.pack.js and jquery.tabs.pack.js need help thnx
MultiFile plugin not overwriting default options
jquery-1.4.1, jquery.multifile-1.4.6 The plugin appears to be ignoring some options that I'm either passing or attempting to set explicitly: $(function() { $("#ImageMultiUpload").MultiFile({ STRING: { file: '$file<br /><label>caption: <input type="text" name="captions[]" value="" size="10"/></label>' } }); $.fn.MultiFile.options.STRING.file = '$file -- WTF?'; }); Either way, I always get the default. Someone else had the same problem almost exactly a year
jcarousel, index of current thumbnail or item?
jcarousel is working but with over 40 thumbnails how do I keep the active thumbnail in the carousel? I don't know what this might be called or what to search for? Is it itemLoadCallback? index of current item? something else? Here is the page, vertical scroller on right, when you click on a thumbnail the carousel goes back to 1st thumbnail but I prefer it to stay on thumbnail clicked. http://www.susanbennerstrom.com/new/specs/woodstock-green-room.php here is the jCarousel configuration page, is
jQuery cross-plugin compatibility
If I use two jquery plugins on one page, and one uses a different jquery version than the other, would that prevent that one from functioning properly? I know it's a pretty vague question. More specifically: I'm using a suckerfish menu plugin and a slideshow plugin (see it live here: http://www.pennsem.org) For some reason, the menu collapses in a funny way when I use the jquery file the slideshow came with. When I use the jquery file suckerfish came with, then the slideshow stops working. Is there
Tablesorter plugin with table that has colspan on headers
I'm trying to use the tablesorter plugin (http://tablesorter.com/docs/) to sort a table and having issues with it sorting the correct column of data. The table that I'm sorting has a colspan on the header rows and this seems to be causing the plugin to sort the table by a different column then desired. <table class="tablesorter"> <thead> <tr> <th>Stuff</th> <th colspan="2">Value 1</th> <th colspan="2">Value 2</th> <th colspan="2">Value 3</th> </tr> </thead> <tbody> <% @things.each do |thing|%> <tr>
Error Installing grails jquery plug-in 1.3.2.4
I am getting a error when I try to install grails jquery plugin on a box that doesn't have internet access. Can somebody please point out how to solve this. grails install-plugin ../dependencies/plugins/grails-jquery-1.3.2.4.zip Welcome to Grails 1.2.0 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /usr/local/bin/grails Base Directory: /var/rsi/p4/Main/RSI/apollo/rtbdriver Resolving dependencies... Dependencies resolved in 1973ms. Running script /usr/local/bin/grails/scripts/InstallPlugin.groovy
inline html lightbox with print button
I'm looking for a jquery lightbox that will: 1) Display a html page 2) Provide a print button to print the contents of the frame, rather than the parent page. Thanks :)
Animate the Message Response with jQuery Form Plugin
I have aform that submits a message to the server and the server echos it back in an HTML div in which response is added to the page in the .message div. I can make the .message div basically jump into place with $(function() { $('#myForm').ajaxForm({ target: '.message', success: function() { $('.message').slideDown('5000'); } }); });however I would like this message to
How do I prevent Autocomplete from searching for spaces?
I am using autocomplete from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ (which is documented at http://docs.jquery.com/Plugins/Autocomplete) I have a data set that includes: Carl Anderson Candy Ableton Ric Arlo If I type "c a" the only result is Ric Arlo, because it matches c space a. I'd like to have it return all three items, because all three could be matches (or just have it return the top two only, because I never really need to search for spaces in my application). Obviously
(autocomplete) Compatability with jQuery 1.4?
Hi all, We're using Jörn Zaefferer's awesome 'autocomplete' plugin and wondered if anyone knows if it is compatible with jQuery 1.4? Be very interested to find out. Many thanks. Anthony.
Can I extend jQuery with new "tags"?
Hi, I have a webpage that contains some tabs (div elements) and inside each of them are some sections (tables). I want to easily be able to query these elements and select fields (input, select etc.) inside them. The ultimate solution would be if I could simply write something like this: $("tab:eq(1) section:even() input").hide(); The tricky part here is to intersect this input and convert it into something that jQuery understands. In this case: $("#Tabs > div.Tab:eq(1) table.Section input").hide();
Bassistance Autocomplete Issue with IE6
I am using the Bassistance Autocomplete plugin with IE6 and noticed that I am loosing border formatting when the list lays on top of a IFrame that I am using to display a inline pdf. I am using bgiframe as well. I am using JQuery 1.3.2 and the latest version of the Autocomplete plugin. I have attached a screenshot so that you can see the problem. Does anyone know how to fix this? Thanks, Marty Jones
jQuery Flot + getJson
Hello everyone, I'm a newbeginner and need some help on a tutorial i'm working on... I'm trying to draw a simple graph using jQuery Flot + ASP.Net mvc so here is the method i added in HomeController: public ActionResult Example() { string s = "[[[2003,10882],[2002,10383],[2001,10020], [2000, 9213]]," + "[[2003, 599],[2002, 510],[2001, 479],[2000, 457]]]"; return Json(s, JsonRequestBehavior.AllowGet); } and here is the javascript code i wrote
JQuery Flot + getJson problem
Hello everyone, I'm a new to jquery, and working on a tutorial and trying to get a graph using jquery flot, but i'm getting a problem and i need some help... here is my code in the home controller public ActionResult Example() { string s = "[[[2003,10882],[2002,10383],[2001,10020], [2000, 9213]]," + "[[2003, 599],[2002, 510],[2001, 479],[2000, 457]]]"; return Json(s, JsonRequestBehavior.AllowGet); } where i'm returning a json to the index page
Cell Focus issue in jqgrid
why using editcell() is causing beforesavehandler to fire again in Jqgrid and if is there any other way to focus on a cell without beforesaveHandle() firing. I appriciate a lot if someone provide solution.
autocomplete HELP ME!!
hello guys, I have a little problem with. autocomplete or give me the results with the inscription beside GO (a href destination), but this does not work, you know help me $("#search").autocomplete(data, { minChars: 1, scrollHeight: 400, max: 20, formatItem: function(row) { return row.text + " <a href='/page_me/" + row.url + "/" + row.page + "/'>GO</a>"; }, formatResult: function(row) { return row.text; } });
Superfish and Artisteer
I have a website, www.stjoan.com, developed in joomla 1.5. I used Artisteer to design the template. When I use the Superfish menu, I get white space beneath the menu, before my content. When I use the default menu module for joomla, I do not get the whitespace. Artisteer thinks it is a conflict in the css of superfish and artisteer. Can anyone help me to adjust the css of Superfish so that I dont get the white space you see below the menu?
Superfish menu near an edge of a page
When the menu is too close for a submenu to be displayed fully, Superfish needs to change direction of submenus or adjust their position so that they can be displayed completely without forcing horizontal scrolling.
How to block full page when we have horizontal scrollbar using BlockUI plugin?
We are using jquery BlockUI Plugin, When we open a window with limited size( like -500x300) and we apply blockUI, then it block only visual area and not the remaining part, when we scroll horizontally we can click anywhere hence failed to block full page. How to block full page when we have horizontal scroll bar?
IE6+ error: "A script on this page is causing Internet Explorer to run slowly..."
Hi There, I'm developing a UI for an online app and I'm having some troubles with IE and the "do you wish to abort this script" popup. URL: http://staging.legalbenchmarking.com.au/site-login/ ***Had to remove login details for security. Found the solution to this, if anyone wants code samples let me know. The problematic page is the personel-questionare. To get there, select personel-questionare from the main menu, or navigate to http://staging.legalbenchmarking.com.au/benchmarking/personnelq/ once
Next Page