basic question about jQuery.support.positionFixed
Hi At http://gist.github.com/362170 I found Paul Irish's jQuery.support.positionFixed plugin, which tells you whether a browser supports `position:fixed`. For me at least, it only works if I include it in the body element; including it in the head element results in calls to the function always coming back as undefined. However, instructions on using plugins in general often state that they should be included in the head element. Am I missing something obvious or is this plugin somehow a special
Help with innerfade.js Plugin
Hello, I am working on a website and trying to get Banner Rotation working, I have tried using "innerfade.js" and also tried using 'jquery.jbanner.js" I have the images rotating like there are supposed to rotate but my problem comes in with the Links. Every Image is Displaying the Link to What Appears to be The Image Displayed Last's URL.. I have tryed everything I can think of and can not figure out what to do with it. I did not build the site and it does have alot of javascript in it so I'm
JQUERY Image Rotator Issue - Please help!
I feel odd visiting this forum as I am not a programmer (and am envious of those of you who are)... Test site: www.inkdifferent.biz I downloaded and installed a WordPress plugin called Cimy Header Image Rotator. This jquery-based rotator does not give the option to stop it from looping through the images. I just want it to go through the images one time, and then stop on the last image. I made a modification and got it to stop on the last image - but it still shows the second-to-last image below
Pager Plugin, Entering Page Number
I am using the Pager plugin with TableSorter and I was wondering if there was a way to get it to work if you hand-entered a page number, rather than clicking on the arrows to change pages. For instance, if I am on page 1 of 100 and want to go to page 15, I should be able to change the 1/100 to 15/100 and be taken to page 15. This does not seem to be the case. Has anybody worked out a solution to this?
what is the regex for a1234567890?
Dear all, I am using jquery.validate.js. May I know how to write the regex if an input string first character must be letter and the other characters can be either letter or digit? e.g. a12345678 is correct and 987654321a is incorrect. Thanks for any input. A URL with tutorial is fit for me, too. I just don't know how to start. Currently I have regex: /^[a-zA-Z0-9]{6,16}$/ but it doesn's verify first character.
Having issues with jQuery Validate Plugin and IE8
I was trying to use the simple date validate and saw it work fine on the demo on chrome but when I tried it on my project, I kept getting: 'settings' is null or not an object I went back to the demo site in IE8 and it's not working there either. I've tried a few other random web sites that had blog postings about the Validate plugin and I tried their samples in IE and they don't work there either. Most have javascript errors, where there are no errors in Chrome. Is there a known issue with it?
Very wierd!! - Slider 1.5 stopped working in all browsers but Safari??
I am using Easy Slider 1.5 and for some bizarre reason it has stopped working? I never touched the code at all just changed the background of the div tag! My website is here Nothing I try now works. I know it must be something simple but just for the life of me cannot find it! I would really appreciate a new and expert eye on this if possible. Thanks in advance.
Getting tablesorter to sort by date?
Hi, I am trying to get the table sorter to sort by date, but it is not working. I have applied a custom parser but jquery does not seem to be picking it up. I'm sure this is something simple, can anybody see whats wrong? Here is my page, the table heading is the "expiry" http://bit.ly/bUIJpC
Conditional validation method needed
I've got a form with two sections. Each section expands by its own radio button, so there's only one visible section at a time. And I use ASP.NET MVC HtmlHelper to generate fields like so: <label for="type-permanent" class="radio active"> <input type="radio" name="Type" value="Type1" id="type1" /> Label1 </label> <%= Html.TextBox("Field1", Model.IntProperty1) %> <label for="type-permanent" class="radio active"> <input type="radio" name="Type" value="Type2" id="type2" /> Label2 </label> <%=
How do I get Superfish to expand and show the current active link in pathlevel 2?
Hi, I'd like to be able to get Superfish to expand the entire menu and show the current active link in pathlevel 2. I'm using the nav-bar style and it seems that only pathlevel 1 is visible: http://users.tpg.com.au/j_birch/plugins/superfish/#examples Best, Arlaharen
jquery file uplaod form plugin response issue
I find form plugin interesting and i want to know that how i can embed ajax response in html text area in asp.net mvc 2. any idea? Here is the link of that control http://jquery.malsup.com/form/#file-upload
jquery lightobx plugin -- need to load divs....
hi, at work they're using jquery lightbox plugin to load imgs.. I need to use same plugin to load divs.. is this possible? or can you load only imgs with lightbox plugin?? and, if there's already a lightbox plugin being used on the page, how do I load a 2nd instance of lightox plugin? I don't suppose (function($){$.fn.lightBox2 = function(settings){ would work... ;-) they want me to use this same plugin.. I want to know if I can get it to work.. if not, then will have no choice but to
Have tab as selected on listmenu plugin "listmenu"
I was wondering if there was a way to have the "a" tab as open so you could see the contents of the tab. Of course it would go away after the other tabs where rolled over, just open by default.
Help needed to merge two functions for jquery cycle?
I have two functions I would like to use in my before callback with jquery cycle. One slides the pager over as the user cycles through, and other other centers the image horizontally and vertically inside the containing div. Both work great separately, yet I can seem to get them to work together both on the before callback. I have an example that shows what I've got yet the slide function is set on the after callback. - http://tinyurl.com/27pmzj5 Here is the code I have so far. $(function() {
initialize superfish loaded into div
i'm building a website and want to only have the navigation exist on one file, verses updating the navigation on every body html. so, i'm loading nav.html into <div id="navbar"></div> on each of the main body pages with ajax. everything is working properly up to this point. the nav is being loaded and the css is being applied. however, i can't seem to call the initialize plugins command. // initialise plugins jQuery(function(){ jQuery('ul.sf-menu').superfish(); }); it works fine, if i call it from
Galleryview error in IE
Hey there, the Next / Previous buttons in my Galleryview viewer are not working under IE, if I run the error console in FIreFox I am getting this error Error: e. is not defined if (e.button != 0) return true; The viewer is working in FireFox, Safari, and Chrome, just a problem in IE7 and 8. Any ideas? Thx. Marc Musial
Implementing the jQuery Form Plugin (Multiple Submit Buttons)
Hello, I'm totally new to javascript and jQuery. After going through a couple of tutorials, I was able to come up with a code for my purpose. The problem is that it has a variable number of submit buttons and clicking on any of the submit buttons posts only the first form. After some research, I found out that it can easily be avoided using the jQuery Form plugin (or serialize or something), but I wasn't successful at implementing it. This is the original code: $(function() { $(".button").click(function()
Put jquery plugin script in .js file?
Hi, I'm using quite a few great jquery plugin on my site. But I noticed the javascript in my html is growing quite big. I know the normal way to use a plugin is to include jquery-->include plugin .js file--> then put something like below to my html file. I'm a total beginner to javascript. is there a way to put whatever javascript into a desperate.js file? I'm using several jquery plugins, and this bit of javascript doesn't look very tidy and manageable me anymore. Thanks for the help <script type="text/javascript">
show response from form plugin after php finished
I've been trying to get this to work for a few days now with no luck, I must be missing something very small. I have a form that returns a php response to an accordion pane. As it stands now the "Proceed to next step" shows up almost as soon as I press the "Submit" button, but not all of the content has loaded into the pane. I would like to add a loading image to display before all the content has loaded, and when it is done display the "Proceed to next step" message. There is/can be a lot of info
lightbox plugin...
at work they're loading imgs with this plugin http://leandrovieira.com/projects/jquery/lightbox/ now they want me to load divs w/text... can this also be done w/this plugin? conversely, can an easing effect like what this plugin does http://angelorensanz.com/files/bibliography.html (click on any thumbnail on the left) be achieved without a plugin? all I have to do is load one div, that says, "By clicking on the link below, you will leave...." etc.. (then link to url is on that overlayed div..)
cycle opts.addslide problem
I'm trying to use the JQuery Cycle modules opts.addSlide() for a lobby screen. I don't seem to be able to get it running. Does the slide show already have to have content for addSlide to work. Perhaps my noobish syntax is way off. No errors are thrown. Any suggestions? Thanks. var LobbySign = LobbySign || {}; LobbySign.init = function(){ //array to hold image urls imageUrls = new Array(); //begin by getting all the initial image urls $('body img').each( function () { imageUrls.push(
jQuery.Cycle - different effects on same cycle
Hi there I have a container with a few child <div> tags. The default fx should be 'fade', but when I click on the left or right navigational buttons the effect should temporarily change to 'scrollHorz' and after the next slide shows the default fx 'fade' kicks in again. How is this possible, if at all? I have asked on StackOverflow.com to no avail. Thanks in advance.
Add HTML in JQuery Tipsy Tooltips
Hey there, I'm sure some of you guys are familiar with the jquery plugin, tipsy. I want to be able to display HTML inside the tooltip but more like a div layer (<div id="tweet"></div>). I noticed I can put tags like bold and italic text inside the tooltip but not full divs. How would I go about doing that? I'm trying to display a twitter script by seaofclouds inside the tooltip. The script looks like this: <script type='text/javascript' src='site/scripts/jquery.tipsy.js'></script> <script type='text/javascript'>
validate: creating a custom rule that spans several fields
(this could be a possibly duplicate post) I have a bunch of fields like so created on the fly <input type="text" name="coeff_a"> <input type="text" name="coeff_b"> <input type="text" name="coeff_c"> .. and so on ..I have set up a rule like so jQuery.validator.addMethod( "perc", function(value, element) { // all the fields that start with 'coeff' var coeff = $("input[name^='coeff']"); var total; for (var i = 0; i < coeff.length; i++) { total
Customizing menu highlight slider to utilize multiple colors
Hi there. I'm a real newbie to jQuery, so please bear with me. I would like to learn if it is possible to modify the script found here to utilize multiple colors for the highlighting background bar rather than just one. You can see that I'm utilizing the highlight effect on my nav on my website. However, as each menu item is a different color, the underline/highlight bar would ideally change color depending on the hover, rather than maintain a single hue for each li hover. Can this be done?
[solved] ListMenu Plugin - How to position the menu?
The menu of A - Z letters always appears on a new line. I have text that I want to use as a "label", and have the menu display inline. I have tried using display:inline;. An example would be: .lm-wrapper { margin:0; padding:0; display:inline;} in the included css file. Any help would be appreciated! Thanks, Ken
Help with Select menu validation
I am using JQuery form and trying to validate that a state was selected. Here is my form code: <!-- contact-form START here --><div id="feedback"> <p class="error wrong_firstName"> Please fill in your first name</p> <p class="error wrong_lastName"> Please fill in your last name</p> <p class="error wrong_address"> Please fill in your address</p> <p class="error wrong_city"> Please fill in your city</p> <p class="error wrong_state"> Please select in
[Validation] Add OK near a non-required input
Hi, In JQuery validation plugin is there an option that allows us to add an "ok" near a "non-required" input? Thanks for your help,
Problem using JQuery in an Under Construction website template
Hello everyone, been looking for a solution to this one for a couple of days, with no luck, so am hoping someone here can help me. I downloaded an under construction template from here that incorporates keith wood's countdown timer jquery plugin. Its a perfect template for my site. Trouble is i just can't find a way to adjust the timer. it works fine, without adjusting any of the code but it's default display reads that there's 500+ days estimated to launch. As it's for my business website
jCarousel doesn't work on Ajax loaded content on Safari/Chrome
I tried to apply jCarousel on Ajax loaded content. It works on Firefox/IE/Opera, but not on Safari/Google Chrome. Can somebody help me finding where the problem is? Please check the attached file, thanks! P.S. On IE, when you close the Ajax content there will be a alert message shows 'Jcarousel: No width/height set for items. This will cause an infinite loop. Aborting ...', but it doesn't matter as the alert function can be shut off.
Validation Plugin
Hi, This plugin is really terrific and has saved me tons of time! I love the flexibility! I'm just having one issue - any help is much appreciated! I'm dynamically creating a table and assigning validation rules to certain cells (QuantityCells can only contain integers that are no larger than the number in another cell in the same row). Somehow, the rules are also getting assigned to other cells in the table. In the function where I assign dynamic rules, I use an alert to output the rules for
jquery datepicker plugin.. How to prevent the datepicker calendar popup from closing
This question is regarding jquery datepicker plugin Usually the default action of the datepicker popup is to close when someone chooses a date IS it possible NOT to close when someone chooses a date...and close when someone clicks anywhere on the form or show a close button is it possible? Since by mistake if someone chooses the month or year incorrectly by mistake and then click the date it closes..I want it to stay focused even when someone chooses a date Shanthi
Cycle Lite stops after 2 images
photo1.gif fades in as expected, then fades to photo2.gif, but then nothing else happens. $(function() { $('#slideshow img:first').fadeIn(1000, function() { $('#slideshow').cycle(); }); }); <div id="slideshow"> <img src="photo1.gif" class="first" /> <img src="photo2.gif" /> <img src="photo3.gif" /> </div>
Form Submitting Despite jQuery Validate
I am using jQuery to submit a form on my .aspx page. I am using jquery.form.js, jquery.validate.pack.js. When the form is submitted, I am using a web handler to process the form and send an email. The validation is working, but the form submits regardless if the required fields are filled in or not. Can someone please point out what I am missing? Thanks in advance contact.js: $(document).ready( function() { var options = { url: "http://localhost/CTS/2010 Design/ContactHandler.ashx", success:
My code is like love, it works the second time around, but why?
I'm trying to use the jqmodal dialog plugin and everything is working OK except for one minor problem. It seems when I click on the link, the expected action does not occur until I click the second time. Essentially I set up a small test form with a single line put into a table. In that data line is an href, which when clicked calls an AJAX function and returns text, which displays as a dialog. Like I said, this works fine except for the fact that the dialog does not show until the second time
jQuery Plugins License, Is ( MIT or GPL ) or ( MIT and GPL )?
With http://jquery.org/license I can see it is ( MIT or GPL ). But from following jquery.validate.min.js, it says it is ( MIT and GPL ) Please help to clarify this one . Thanks /* * jQuery validation plug-in 1.7 * * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ * http://docs.jquery.com/Plugins/Validation * * Copyright (c) 2006 - 2008 Jörn Zaefferer * * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $ * * Dual licensed under the MIT and GPL licenses:
Month Range Selector
I have spent a good amount of time looking through the various date selectors. What I can't find (and I wonder if I've missed it) is a datepicker with the ability to allow users to select a range of months. I am dealing with financial data that is month-related but not really date-related. So my users just want to select jul '09 - feb '10, for example. If there isn't one, may I humbly recommend that one of the date range selectors incorporate this ability. Thanks for all that you do, Ken
TableDND
I have implemented the tableDND plugin. Is there a way to show an icon in the first column or any other way to let the user know that it is a movable row? Thanks in advance.
autocomplete + select
Hi at all I'm using jquery autocomplete to fill a textbox with some text but I need to get the ID of the item too for this purpose I thought to use the on select event to fill an hiddend field the problem is that the on select event is never fired this is my code $(function() { $('input#<%= tblNewInsert.FindControl("nazioni").ClientID %>').autocomplete({ source: function(request, response) { $.ajax({ url: "offerte.aspx/fillJson", data: "{ 'descrizione': '"
Robust solution to formatting (integration with validation plugin)
Hi, I'm looking for a masked input plugin (or any other kind of solution to format the inputs) that integrates well with the validation plugin from Jörn Zaefferer. The main feature i need is to format decimal numbers and currencies. I checked this : http://digitalbush.com/projects/masked-input-plugin/ but it doesn't seem to do what i need (correct me if i'm wrong). and this : http://www.meiocodigo.com/projects/meiomask/ but i'm not sure it works well in combination with validation plugin. Any advice
Next Page