jQuery ColorBox onOpen event fires after overlay is displayed
Hi, When using onOpen event, it fires after overlay is displayed. So I was wondering if there is a way to hook my code to an event that will fire before anything else happens. I think it will be possible to handle "onclick" event and then cancel further processing, but I would like to have a cleaner solution. Thanks
jquery.hotkeys (https://github.com/jeresig/jquery.hotkeys) not working with live event?
Hello, normally one would .bind() all keydown mappings, but i need some .live() keydown mappings. Does .live() support special handlers like this (in jquery.hotkeys.js)? jQuery.each([ "keydown", "keyup", "keypress" ], function() { jQuery.event.special[ this ] = { add: keyHandler }; }); In my case i try to setup the live event as follows: $(":input").live('keydown', 'esc', function(){ $(this).blur(); return false; }); That doesn't get triggered at all. Sorry for editing this entry multiple times.
Cycle Plugin - Caption Transition Effects
Hi, Is there anyway to make some transition effects to the caption in THIS demo. I want to make some effects to the caption such as scrollUp at the beginning of each slide and disappear before the next slide. How can I do that?
I'm uses both "jQuery Infinite Carousel" and "fancybox"
I have trouble my website using jQuery plugin "jQuery Infinite Carousel" and "fancybox". My website open the modal window when it click the image in carousel area. but don't open the modal window when it click the next button after ride the entire loop in carousel area. Is this a matter of chemistry ?
Jquery Validation error placement
Hey there! Can anyone advise me on this one? I'm trying to target and replace the contents of my existing input [label] tag with my error message instead of relying on the validate plugin's default behaviour, ie. adding another [label] to the DOM either above of below my input field. Here's the form, nothing fancy! <form id="loginForm" action="testing.htm"> <label for="username">Username</label> <input id="username" name="username" type="text"> <label for="password">Password</label>
Cycle Plugin - Instant pause on hover
When you're using the Cycle plugin for text scrolling effects it'd be handy to have the scroll effect paused the instant the mouse hovers. I wouldn't have the foggiest where to look into modifying the script to achieve this. Has anyone else got that feature working?
jQuery validator: Custom message based on radio selection
Hi Example: <fieldset> <input type="radio" value="1" name="choice1"/> <input type="radio" value="0" name="choice1"/> </fieldset> <fieldset> <input type="radio" value="1" name="choice2"/> <input type="radio" value="0" name="choice2"/> </fieldset> Two radio button groups, both required, and if you choose "1" on "choice1" you should choose "1" on the "choice2". " My problem: input[name="choice2"][value="1"] should be :checked if input[name="choice1"][value="1"] is :checked, AND display a message stating
Vertical Image Flow Plugin
Does anyone know of a plugin or a website that has implemented a gallery similar to Image Flow except vertical instead of horizontal? Basically what im looking for is a vertical gallery scroller that makes the image appear to grow larger as it reaches the middle, then it shrinks back down as it gets further from the middle. Thank in advance! http://finnrudolph.de/ImageFlow/Examples
I need help with a Ticker and Nivo Slider Plugins........Please
First and Foremost, Hello I am a beginner.I have got a question. Before I ask the question that I need help with is anyone familar with the Nivo Slider http://nivo.dev7studios.com/. Well I have got it up and running on my website (in development stage right now) but what I was wanting to do is put a 'SimpleTicker' on the bottom part of my site and for some reason I think something is conflicting with eachother. The ticker is running correclty but my Nivo Slider is not running nor does it even
Just learning but I need a little help.
First and Foremost, Hello I am a beginner.I have got a question. Before I ask the question that I need help with is anyone familar with the Nivo Slider http://nivo.dev7studios.com/. Well I have got it up and running on my website (in development stage right now) but what I was wanting to do is put a 'SimpleTicker' on the bottom part of my site and for some reason I think something is conflicting with eachother. The ticker is running correclty but my Nivo Slider is not running nor does it even
Help with history object, back and forward buttons in ajax content
I need help sifting through the mounds and mounds of mis-information and folklore associated with retrieving content via ajax and keeping the history object, back and forward buttons working. I took a look at a history plugin (or five) and they all seemed to mess up the jQuery namespace something terrible. So I tried taking the most understandable of these plugins and namespacing it myself, but I just don't quite get it. As such, could someone point me to a valid tutorial that explains how to manage
I m facing problem for Country and State drop-down.
Hi All, I am using JqTranform Plugin in my site. Everything goes well but small point is remaining. I am using Country and State drop-down i.e when US as country is selected then there should be State Drop down else for other countries text box should be there. But in my case its displaying both Dropdown for state and a text box beneath it. Can you please guide me. I am using Magento framework, Waiting for solution. Thanks Bhushan Ahirrao
jQuery Cycle Plugin & Wordpress - How to get caption from div that contins the_title() and the_excerpt()
Hi, I'm trying to use jQuery Cycle Plugin within a theme that I'm currently developing. I've got the jQuery Cycle to display slideshow of post images on the home page. However, my problem is that I can't get it to display the content of a div that contains the_title() and the_excerpt() as a caption correctly. I'm using the following code: <script> $(function() { $('#slideshow').cycle({ fx: 'fadeZoom', timeout: 2000, after:
Need help with jquery.validator.addMethod
I am trying to add a rule that will filter out profanity for a textarea on a form. I pieced together the code below and it works for the first word in the filter array, but doesn't for the rest. Any help would be appreciated. $(document).ready(function(){ //custom validation rule - profanity $.validator.addMethod("profanity", function(value, element) { var filter = ['bad', 'word']; var i=0; for (i=0;i<=filter.length;i++) { return !RegExp('\\b' + filter[i] + '\\b', 'gi').test(value);
Malsup cycle plugin: pager disappears in IE7/bold text does odd things
I have the cycle plugin running, works fine on all but IE7 (not catering to IE6). The pager elements on the right do not appear in IE7. I have tried adjusting the z-index, etc., but can't figure it out. Also, the caption text transitions in with bolded elements properly appearing, and then they flip to regular text (the whole line of text transitions a bit strangely). Any ideas? the first is more important to me. thanks, Maria
[validate] no validation method dateDE BUT possible solution!
Hi all, I'm quite new to jquery and a total noob, however today I came across this nice validation plugin but had some problems with it. I downloaded it via the "Download" link from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have a small form where a German date (i.e. 1.1.2011 or 01.01.2011) should be inserted by a user. So looked up the API on http://docs.jquery.com/Plugins/Validation#Options_for_the_validate.28.29_method for the needed method and there it was documented: dateDE
Jquery Multiple Plugin Conflict
Im having a small issue trying to use multiple jquery plugins on wordpress. Im trying to get jquery bubbles v2 working with the below scripts. But for some reason the bubble plugin causes the original scripts to stop working but the pop up bubbles do work. I've tried various fixes to my knowledge (which is very limited) but none of them work if anyone can shed some light I would be very grateful. Thanks Much. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/library/scripts/jquery-1.3.2.min.js"></script>
switchClass
Thanks for taking the time to read my question. I am using the switchClass function in jQuery. It works well. The transition, however, is not that great. Just wondering if I can turn this off? I can't seem to find documentation or an example of how to do this I read this here http://jqueryui.com/docs/switchClass/ switchClass( remove, add, [duration] ) Switches from the class defined in the first argument to the class defined as second argument, using an optional transition. using an optional
tablesorter - how to get the name (or index) of the column about to be sorted in sortStart?
Hello, I'm building a table to represent a mall's directory of stores. I'm allowing sorts on name, category and map location, but the system allows multiple categories. I'd like to have each store represented once with a comma seperated list in the category column when sorted by name. However when sorted by category I'd like to create multiple rows, each corresponding to the entry with one of the categories in the column. Example Sorted by Name +---------+------------+ | Name | Category | +---------+------------+
Adding preload to existing code
I have a plugin running that seems to have problems starting before images are loaded (this is my best guess). I just need to preload an array of images before the script starts. I do not need to pull the image names from the page, since they are static files and will always be the same ones. How do I add a simple preload function to this script? I have tried to no avail! jQuery(document).ready(function () { jQuery("div#makeMeScrollable").smoothDivScroll({ mouseDownSpeedBooster: 2, scrollStep: 2,
Loading Plugin on a DIV
Hi, I'm learnig jquery and really enjoying it. It is very easy to use and I'm developing all I want in a blink. But now, I'm stuck trying to show a load info on a div, while a json request is running on PHP. Here's my code: $("#itemList").loading({onAjax:true, text: 'Waiting...'}); $.getJSON("request.php", function(jsonData){ fnShowItens(jsonData, "xxxx"); }); I'm using the loading plugin http://plugins.jquery.com/node/8776/release, and tried it a low of ways. This last one works
Problem with jQuery Cycle Plugin and z-index
Hi, Im trying to add links to photos that I am displaying in a slideshow through the Cycle Plugin, but because I have the cycle plugin at the back behind a jquery menu the links dont work... does anyone know of a way round this or fix to make it so that the pics will work as links and the cycle plugin still sits behind the drop down menu. Thanks in advance! Em
Cycle Plugin - problem with IE8
Hello I'm using Cycle Plugin ( http://jquery.malsup.com/cycle/ ) to animate background images. The problem is in IE 8. For some reason after the fade transition is finished the picture it's jumps a bit to the left. Any suggestions ? Thank you.
Sorting does not work when two tables on the same page
I am using table sorter in a .Net User control and resuing it twice on a page to display two tables "My Items" and "Shared Items". On clicking the columns it sorts Asc but on clicking again it does not sort it in descending order.
Ring Tone and Vibration?
How could I trigger the ring tone play or vibration, via jquery mobile api?
Tabs breaking when page reload in IE?
I am using one of the tab jquery plugins (sorry can't recall the exact name), which works wonderfully. But occasionally when the page reloads, it loads the tabs in a vertical fashion instead of in my tabs. I've noticed the issue in IE7, IE8, but have not noticed it in FF or chrome. Any ideas? Site can be found at http://mogsrescue.rescuegroups.org/ Many thanks!
Problem with jquery cycle plugin pagerEvent
Somehow my pagerEvent:'mouseover' stopped working. Can anyone suggest a way to get my mouseover to start working again? <div id="slideshowContainer" style="width:247px;"> <div id="slideshow" class="slideshowPics"> <a href="/productcatalog.asp?directoryid=10688"><img src="images/homeProductCategoryBakeryCases.jpg" alt="Acrylic Bakery Cases" width="218" height="190" border="0" /></a> <a href="/productcatalog.asp?directoryid=10697"><img src="images/homeProductCategoryFoodBins.jpg"
Download a file, but fill out a form first
Hello, I am looking for a way to do this: A user visits a website and wants to download a file, but must first fill out a form. Does jquery have a plugin that will allow me to set this up on my website? thank u.
using datepicker
hi I got 3 combo boxes (day, month, year). How can you i format the date picker to meet the requirement. this is what i want to do day should go in day, month in month box and year in year box. thanks for help
Malsup Media plugin: add a skin?
Is it possible to add a skin to the media plugin? I am using it primarily for audio, and downloaded the most recent version of the JW player. I tried to add a parameter to the function, but it does not appear to work. I suspect that it is not outputing the parameter the way the newer player requires, but I am not sure. It seems that skins must be added as a part of the 'flashvars' element, which in the media plugin outputs only the media file. The embed code does not output parameters, but adds
String Mask Query
I am using the jQuery string mask for user input, is it possible to allow hyphenated last names ? ie: smith-jones $(lastName).mask("aa?aaaaaaaaaaaaaaaaa"); cheers mick
Scroll to scrolls to top and not away from page
I have installed the scrollto plugin which works fine. The problem I have now is that when I click on an external link i.e http://google.com it just ignores it and scrolls to the top of my page instead? <!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=utf-8" /> <title>Manoucher Products</title> <link href="style.css"
How to ignore default text in jQuery validation?
Hi, I'd like to use the jQuery validation plugin as seen on the following example: http://docs.jquery.com/Plugins/validation#Example But it doesn't work properly if I use inline/in-filed labels. Any help is greatly appreciated! Rain Lover
How can I use jQuery Data Link Plugin for one-to-many objects arrays?
How can I use jQuery Data Link Plugin for one-to-many objects arrays? http://api.jquery.com/link/ I mean I have a Grid kind of output and I want that whenever any row is added,edit or removed then the array person.previousEmployers should be changed accordingly. How to achieve the same? Thanks in advance CSJakharia
Share your facebook-IFRAME-JQuery Expirience: What jquery modules work / dont work good there
hey, ive recently started to put some js on facebook iframe and some of the plugins are just working bad/not working at all, please reply here and tell me & all the pepole what plugins are working and what dont work (and if you solve it paste it here...) i think it will be usfull....
Validator with custom submit() function
I have a form with a DIV tag which acts as a Submit button: <div onkeydown="ButtonDown('SaveButton')" onkeyup="ButtonUp('SaveButton')" onmousedown="ButtonDown('SaveButton')" onmouseup="ButtonUp('SaveButton')" onmouseout="ButtonUp('SaveButton')" onclick="SubmitForm();" class="Button ButtonRightAligned" id="SaveButton"> <div class="ButtonLeft"> </div><div class="ButtonText"> <a tabindex="87" onclick="return false" href="#">Save and continue</a> </div><div class="ButtonRight
addMethod in Validation plugin
I have one selector and one input box contains div id countryName and name. Now I am using validation plugin to validate. I want to do some thins if selector value none then alert will appear on click please select country on click submit. And in case of input box if input box contains . $ % then alert will appear special character not allowed on submit click. I understood I need to addmethod but unable to understand how to create the method can any please help me with this? Thanks
How to use jquey plugin
Hello..i'm beginer.. how to use jquery plugin..what software should install???
Set Active Accordion Dynamically
Working on one of my sites http://maskedriders.info And whenever i change the side menu selection it resets the open acordian, when i am in the "Decade" section how can i change it so it will set the Decade menu as default?
Cycle plugin [cycle] terminating; zero elements found by selector
Hello, I'm using the Cycle plugin to display images for some of my past projects on http://www.berndin.com/projekte My problem is that in Chrome i get the above error in console. ([cycle] terminating; zero elements found by selector) I have tried manually initializing the Cycle plugin for every project div and that did not help so I went back to my initial code: $(".slideshow").each(function(ind){ $($(this)).cycle({ fx: 'scrollHorz', speed: 'slow', timeout: 0, next: "#next"+$(this).attr('id').replace('slide',''),
Next Page