jQuery validate - need a new method
I need a method that checks that values in all fields of certain class are all increments of 10. I've looked at additional-methods.js but the ones there rely on regex or too complicated for my needs so I'm frustrated about the syntax. Basically all that needs to be checked is that value of the field (of certain class or id) satisfies this condition: (value % 10)==0 and if not error message is given. I think highlighting of the field(s) is taken care of in the main validate.js.
prettydate and HTML5 <time datetime="2010-07-22">
It would be great if the prettydate plugin would default to the HTML5 datetime attribute by default - you could then do: $("time").prettyDate(); Laurence
Syntax phpquery (quick help)
Hello I use a wordpress plugins "wp web scraper" that use phpQuery, but I can't find the correct syntax to extract the value of an attribute of a table row. In my post, If i type this for the Selector, it doesn't work : @attribute-name:eq(0) You will have all the detail of my problem on this post It just a problem of syntax, I hope to find a little help here, i really need one ! Thanks !
Help Customizing PictureSlides for newcomer.
Hi. I'm trying to customize the PictureSlides plugin (http://robertnyman.com/picture-slides/) for my site, and I have a few questions. I have also directed these at the plugin's developer, but I don't think I'll hear from him for awhile since he's on summer leave from email and so forth. Sadly, I'm not a web designer and going about customizing PictureSlides (and my site in general) has been a slow and fairly confusing process. Below are a few burning questions I have specifically about customizing
mojozoom on .net page error
I am using mojozoom on a .net page where I have a product image that is zoomable. Then under that product image, there are thumbnails that change the image for the main product image location when I click on them and the new image is zoomable also. The code is working OK, but there is a javascript error when I do this. It happens right before the first line below- the remove child. I have tried to test to see if the zoomImg is there, but haven't hit on the right syntax. Someone has posted the code
customizing jcarousel - animation issue
Hi folks. I am having an issue with a carousel I created for a client. The carousel had to be modified in the following way: it needed to accept variable width images, the images need to center, and the display area itself is offset to show portions of the next and previous images. The slideshow has a little animation glitch and does not make a smooth transition. The center slide moves back for a brief moment before sliding in the right direction. You can see the work in progress here. The glitch
JQuery Validation Plugin : Using '#' in name attribute of an element.
Hi, I'm trying to integrate jQuery validation plugin into an BPM tool that auto generates the User Interface. The problem is the tool internally uses '#' in the 'name' attribute of the user-input elements. Hence, when I try to put some validation rules on the elements, it don't work out. It throws me a JavaScript error message : "missing : after property id.". My simple POC code is as follows : $("#signupForm").validate({ rules: { tw#firstname: "required" }, messages:
Need help debugging Cycle-Plugin for IE
Hi! I'm developing a website for a friend. It's almost done, but there is still an issue concerning the IE 7 and 8. There is a slide show on the start page, done with jQuery and opCycle-plugin, that works great on FF 3.6, Safari 4 and Opera 10.60. But IE 7 and 8 won't display anything. I've enabled the debugger, but it doesn't give me any error message - it just keeps displaying nothing at all. Can anyone please help me finding the error? The URL is http://www.smartstone.info/ Greetings craesh
jQuery UI Multiselect - How to adjust column widths?
Hello all! I have a quick question about the jQuery UI Multiselect. I have searched through the CSS files and have not been able to figure out how to adjust the width of the two columns (selected & available). I can adjust the width of the entire control, no problem, but how do I change the proportion the two columns take? At the moment it's always about 2/3rds of the width for the Selected column, leaving only 1/3rd for the Available column. My desire is to have them both take 50% of the total
Cycle Slide Issue
I just created a website using the cycle plug-in, http://www.redfishtrading.com. For the most part, it works beautifully, but I can’t figure out why then the cycle starts over it seems to think there is another slide. The page I need help on is: http://www.redfishtrading.com/v2/index.asp.
jQuery plugin: Treeview, bug in IE6 and IE7
Hello I use the plugin jQuery plugin: Treeview (http://bassistance.de/jquery-plugins/jquery-plugin-treeview/) it works fine under Chrome, IE8, Firefox, Opera etc ... But there is a bug in IE6 and IE7 space below the green ball. Screenshots : In Chrome / Firefox / IE8 / Opera etc ... it's good : http://img265.imageshack.us/img265/8963/menuok.jpg In IE6 and IE7 it's not good : http://img530.imageshack.us/img530/1698/menunotgood.jpg My Website : www;mon5800.com Would you or have it? Thank you Sorry
Drop Down Login plugin is not working
Hi, I have used this Plugin in my asp.net(C#) web app. I have modified the code according to my requirments and web app layout, here is my code- <script type="text/javascript"> $(document).ready(function() { $(".signin").click(function(e) { e.preventDefault(); $("div#signin_menu").toggle(); }); $("div#signinMenu").mouseup(function() { return false }); $(document).mouseup(function(e) { if ($(e.target).parent("a.signin").length
jQuery Cookies and WordPress - Need to Modify a Customization but Not Sure How
Hi all, I'm using the Sliding Panel WordPress plugin on a site in development and I've had this plugin customized with jQuery cookies to force the sliding panel to open once after a successful login. That is working great. A usability issue has arisen when a user doesn't enter their login credentials correctly and they get the following standard WordPress message: ERROR: Invalid username. Lost your password? That is great, but the message is hidden behind a closed panel. The cookie code is not set
Prevent double submit
I have used jquery first time in my project. i have implemented most stuff as needed but now i am faced with a problem of double submit. Right now after i validate the form successfully i block the window with a popup div, but the prob i am facing is that even before the form is validated the submit button is pressed twice. i a tried disabling the submit button on its click event and reenable it when some error occurs but the prob is i reenabled it in the errorplacement function, but here the prob
Getting the result of a jQuery.Validation
Hello, I've set up a form using jQuery.Validation and 1 of my form fields has an information box that I want to hide when showing the error message for the field. How do I find out if the field is invalid so I can hide the information box. Thanks Nick
Close cluetip when mouse out of the link
I there an option to close cluetip when the mouse is of from the link? There is mouseOutClose option but it doesn't close cluetip if you don't hover the cluetip itself first. Here is an example: http://plugins.learningjquery.com/cluetip/demo/ - the first link under the jTip Theme
Callback for [jme] plugin once video has finished playing
I'm using jme (http://www.protofunc.com/jme) to play videos with the new html5 video tag and OGG codec. Works fine - but now I need to have some sort of callback once a video has finished playing. How can I determine when a video has finished playing to take some action? There's a method .isPlaying() which could be used for this but maybe there's a more elegant way. Thanks!
coverflow itunes album-like plugin?
Can anyone point me to a mac coverflow-like plugin which works on FF/IE/Chrome/Safari? I've google'd and came across quite a few but none of them worked in IE. Thanks in advance.
How I can close cluetip by a javascript function ?
Dear all, I am using a jquery plug in cluetip. Link is given below. http://plugins.learningjquery.com/cluetip/demo/ it is working well. Here the Clue tips is closed only by either click the close button or leave mouse out from it. I want to close the same clue tip by a javascript function. ie when I call aother function , i need to close this clue tip. So how can I do it. When I use a modalbox, I could close the modalbox by calling a function like $.modal.close(). Is there any function for it ?
[jquery.validate plugin] and form wizard issue.
Hello all, I'm currently using a form wizard with next and back buttons to make the form less unobtrusive. So far the wizard works well with the next button. . However, I am running into an issue. The issue has to do with showing the error messages. For demo purposes I hard coded the error message: validate.showErrors({"birth_date": "Birthdate error!", "species": "Species error!"}); The form wizard disables the element until the next button is clicked and the div that has the element in
Using several tooltips in one document
Hi, I am using several tooltips in one document so I had to change the CSS id-selectors from the links to classes. But what do I need to do with the id from the file jquery.tooltip.css? #tooltip { position: absolute; z-index: 1;...and so on Do I need to change this as well to produce valid CSS cause it works without changing that but I wanna be sure not having a buggy code?
Jquery form plugin on IE7
I tried using jquery form plugin on IE7. I wanted to use this specifically http://jquery.malsup.com/form/#html . When I tried it over Chrome/FF it worked. But with IE, it didn't work. I tried changing the form method to GET and it worked on IE. Is there a way I can use the plugin with POST ? Thanks, Anush
Placeholder text and jquery.validate plugin
Hello -- I am having some trouble working with the bassistance.de validate plugin. I've got placeholder text in my form fields inserted via the Value attribute. The problem is that, even for my required fields, a value like "Please enter your name" passes the validation. How do I filter out my placeholder text when the validation is run? Cheers! Chris
Cycle plugin - How to accelerate the effect
Hello I have a little problem with the slideshow, the scrollLeft effect is activated on rollover, but, it is quite slow, and it give me the sensation that the slideshow begins with the "pause". The HTML Version : >> http://tinyurl.com/2wmot2d << The wordpress Version : >> http://tinyurl.com/38znt83 << I just want to make the same think, but I don't now how to make that ! And finally, my code : The header : <script type="text/javascript" src="js/jquery.cycle.all.2.74.js"></script> <script type="text/javascript"
DatePick Plugin - showTrigger
Hi, I started using the jQuery UI datepicker widget and soon found it too limiting, so I'm currently looking at the datepick plugin. My scenario is that I have a custom developed data grid and some of the columns have date values, previously I implemented a popup window containing a date picker which is fired when the user double clicks on a date cell in the data grid (the cells in most cases being a input element of type 'text'). The data grid itself allows the user to navigate the grid cells using
jsTree - Opening AND checking a node
I've spent hours trying to do something simple, I really hope someone can help! I've got a lazy-loading jsTree using json and checkboxes. I want a script to expand a node, and then tick one of its children. I can do these separately, but not together. Here's what I've got to expand a parent node: <!-- Expand a node at the first level --> jQuery("#demo").bind("loaded.jstree", function (event, data) { $('#demo').jstree("open_node","#d_24"); } If, on the line after line 3, I add code to tick one of
Using Cycle Lite and Lightbox in same HTML doc - can not get both to work?
Hi there I have used two jQuery plugins on one html page - Cycle Lite and Lightbox. However, I can only get one plugin to work at one time. With the following code, Cycle Lite works but Lightbox doesn't. Code in header: <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script>
cycle: fx:'none' when linking from external control
hi, http://mayacove.com/cycle/cycle_ext.html when link from first thumbnail there's no transition.. I would like that same effect when link from any other thumbnail.. i.e., fx:'none' when linking from any thumbnail.. looked in FAQ, found examples for linking from external controls, but none to eliminate transition effect when linking from any ext control.. thank you..
Cycle Plug-In: Pager Active CSS Class Not Working
I'm absolutely stumped here. I'm using the cycle plug-in with an existing nav bar (2 buttons). It functions correctly -- but for some reason -- I can't get the corresponding nav button to change CSS class and show as highlighted. Any ideas? jQuery: $(document).ready(function() { $('#slideShow').cycle({ fx: 'fade', activePagerClass: 'active', pager: '#featureNav', pagerAnchorBuilder: function(idx, slide) { return '#featureNav li:eq(' + idx + ') a'; } }); }); HTML: <div id="featureHome"> <div id="slideShowContainer">
Changing Password Validation To Check For Atleast One Character and One Number
I am using the jQuery Validation Plugin - http://docs.jquery.com/Plugins/Validation I am using it based off this demo - http://jquery.bassistance.de/validate/demo/ I think the basic unaltered password validation checks to see if the password is of length at least 6. I wanted to have length of at least 8, along with at least one character and at least one number. I was able to change the length to at least 8 in the "rules" portion of the script, found on the demo page, but I am unable to figure out
[jquery.validate plugin] remote question.
Hello all, Would it be possible to do a remote check on every element upon a submit? pastebin code of my php validation script: http://pastebin.com/QX2zSvNu When the field comes back false it stores the element and message into a JSON format (IE "alias" : "field is required") and passes the data back to the form. That script works well, I know because I've used it in the past with different jquery validating plugins. The plugins I used had the option of calling one remote check for all of
using hoverIntent.js - need to affect style on a menu item
Hi all. I'm not great with JS, but am trying to wade through it. I'm using the tutorial offered here to build a dropdown navigation mega menu :). Here's my js code: <script type="text/javascript"> $( document ).ready( function () { //magazine menu //Set custom configurations for dropdown menu var config = { sensitivity: 2, // number = sensitivity threshold (must be 1 or higher) interval: 50, // number = milliseconds for onMouseOver polling interval over: megaHoverOver, // function = onMouseOver
Trouble with Autocomplete
Hi, I´m new with jquery and with UI, I come from Prototype. I decided to learn jquery and ui-jquery and to reach that, i´m downloading all code from UI examples (datepicker, autocomplete, tabs, etc) and play with the code. All was right until autocomplete plugin: I downloaded all types (default, remote, remote with cache, etc). I run all examples in my own local xampp server, and the all autocomplete examples works not well. With Firefox firebug I can see that the script (search.php in my case)
TableSorter - Different types of data?
I have a table where the first column is mixed with words and dollar amounts and by default, before you sort, it looks like this: PRIZES Cat Dog Chicken $1.00 $2.00 $3.00 $10.00 $20.00 $30.00 When I sort them, it looks like this: PRIZES $1.00 $10.00 $2.00 $20.00 $3.00 $30.00 Cat Chicken Dog Is there a way to have a column contain words and dollar amounts and have them sort properly?
[validate plugin] Problem with errorPlacement
Hi, I'm struggling with validate plugin for quite sometime now, I hope you'll be able to help me with my issues. I'm trying to customize the position of my labels through the option errorPlacement, but I still didn't find how to make it work, I want to display icones just after my inputs, and my labels in a div, I tried to use errorLabelContainer for the div, but still can't display my icones (you know, a simple check mark when the input is valid, and a red cross when not) I ran out of ideas now,
JQuery.Validation, ajax sumbit with captcha??
Hello I use ajax submit for my jquery validation form. I NEED a captcha for the form, being I am getting attacked by bots. I cannot figure out how to do it. I will past my code below. $('#contact_form2').validate({ submitHandler: function(form) { var str = $("form").serialize(); $.ajax({ type: "POST", url: "contactpage.php", data: str, success: function(){ $('#contact_form2').html("<div id='message'></div>"); $('#message').html("<h2>Contact Form Submitted!</h2>") .append("<p>We
How to use UI Tabs in combination with <base>-Tag?
Hey guys! I tried to integrate UI TABS into my TYPO3 based website. No problem... But if I want to use "Speaking URLs" for my homepage, UI TABS does not work anymore. It seems UI TABS want to activate its ajax function if there's a <base>-Tag in the <head>! Is it a bug? Cheers! Dio
Jquery validation plugin - Changing the default class of items that are not validated.
Hello all, I decided to try and use the Validation plugin for (naturally) form validation. I have run into a problem in that whenever a form gets submitted with data that does not conform to the validation rules it gives both the message label it attaches and the input that failed the class "error". This, unfortunately, matches the name of an already existing CSS selector that is defined in the base css styles of the site and is already used in a number of places. This results in me having to create
How to do an action when we close a thickbox ?
Hi ! I've got a problem with a thickbox. I want to load a webpage when the user quit the thickbox. It's easy with a button but when the user clicks out the thickbox, this one is closed but I can't load an other webpage. How can I do that ? Thanks.
jquery tools scrollable: own navi selector
Hi, i just want to use my own selector in the navigation plugin. Currently only strings are supported for the "navi" property. Example: $('.slideshow').scrollable().navigator({ navi: $(this).parents('table').find('.thumbs'), naviItem: "a" }); I got multiple scrollables where the navigation is not within the same div-element. Is there a workaround or what do i have to change in the nagivator.js to geht this feature? Regards qualle
Next Page