initialization galleryview in ajax callback
Hi, I use the JQuery GalleryView-Plugin http://spaceforaname.com/galleryview. The initialization works fine if i use this code: <script> $(document).ready(function() { $('#gallery').galleryView({ gallery_width: 200, gallery_height: 398, frame_width: 120, frame_height: 90, pause_on_hover: true }); }); </script> but in my case, I load the site which include the div structure .. <ul id="gallery">
Help with plugin - similar to extplorer
Hi Can someone pls point me to any jquery plugin for a file/folder browser similar to the extplorer ub ExtJS with tree hierarchy along with the grid and list view in the right pane: http://extplorer.sourceforge.net/extplorer.png Thanks in advance!
validation rules/messages using "id" instead of "name"
I am using .NET 4 with ClientIDMode="Static" which outputs controls with nice clean id's, although the "name" is still messy when nested in master pages, user controls, etc... For example: <input type="text" id="txtEmail" name="ctl00$hdr$txtEmail" /> However, when I tried to use the id as I expected to set something like: "...validate({ rules|messages: { txtEmail: "required" }..." it wasn't working. But if I change it to use name instead like : "...rules|messages: { ctl00$hdr$txtEmail:
Accordion Effect - Two Divs Equal Height
Hi, I need to create an accordion effect with two divs that are of equal height. These DIV's will fill the screen, if clicked on they will open fullscreen. Does anyone have an example of this already? Cheers, Nick
Validating after load()
I'm experimenting with the load() function. It works fine except when I try to validate (using jQuery Validate). I have a page called "index.php" which contains the bulk of my code (including the jQuery validate call). The load function calls in a div from another page which we'll call foo.php. The page loads fine, but it just won't validate. I've wondered if you simply can't validate a "load"ed page, but I find that hard to believe. Here's my code: In index.php: $(document).ready(function() {
JQuery Boxy - replace default input button with image buttons
When using JQuery Boxy, there is an option called Boxy.ask. Is there any good way to replace the input buttons with custom image buttons?
A Couple of ClueTip Questions
I've been using ClueTip, it's a great plugin. I just have a couple questions I can't seem to figure out. 1. How do I turn off the tips? I see the ability referenced on the website a couple times, and in this forum as well, but for some reason I can't find the command that turns them off. 2. Is there a way to give a tooltip a maximum height? I have a bunch of tooltips, some of which are only one line, some are 100 lines. I'd like to have the one line tooltips pop up very small, and the large
Validation problem
I have a long complex form with many dependency-callback rules and a floating errorContainer so that the errors stay with the user as they drill down the large form. My problem occurs when I have a invalid field that becomes valid by input. Normally (I assume by looking at the labels in the errorContainer) the class will become 'invalid valid' for an entry that was wrong but corrected. But I am seeing instead the class remains 'invalid' and there has been a style="display: none;" added to that
validate plugin doesn't remove multiple error messages in firefox
The validate plugin was setting opacity to 0 but not display:none if I had multiple validation errors ( one was being removed correctly the others were just transparent) I used the following fix in 1.6 if(typeof(ajaxValidate)=='undefined'){ajaxValidate = false} if(!ajaxValidate){ linkTofield = $.validationEngine.linkTofield(caller); var closingPrompt = "."+linkTofield; //fix by BW 2010-08-11 $(closingPrompt).fadeTo("fast",0,function(){ $(closingPrompt).remove();
Validatation Plugin Documentation Problem
I'm getting a database error trying to access the validate plugin documentation. Url: http://docs.jquery.com/Plugins/Validation Error: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)".
Cycle Plugin navigation
I would like to remove the numbers from the Cycle plugin auto-pager. I am also trying to customize the placement of the navigation. I am having trouble locating where the numbers are being created so that i can remove them from the navigation boxes at the top. any help would be appreciated. http://malsup.com/jquery/cycle/pager.html thanks, -tom
Cycle Plugin
Using this as an example - http://jquery.malsup.com/cycle/pager2.html - how can I get the value of "slide.src" when my images are wrapped in divs? Like so: <div id="gallery"> <div class="zoom"><img src="..." /></div> ... </div> <ul id="nav"> <li><img src="..." /></li> ... </ul>
How to get version number of a plugin
I'm using the validate plugin. How do I get the version number? The reason is follows: I am creating a dynamic javascript widget that can be placed on third party websites. When the widget gets loaded I want to make sure that jQuery isn't already loaded (i use jQuery.fn.jquery to get the version number) but I also want to make sure that the version of the jQuery plugin "validate" has also not been loaded yet. How do I do that? How do I check that the proper version of the plugin is loaded and
nSelectsRelated plugin issue
I am finding that the nSelectsRelated plugin does not work in Safari. I have implemented the plugin on my page and it works fine in IE and Firefox but not Safari. I thought that I may have done something wrong but I tried the plugin demonstration page as well: http://guswaddell.site11.com/nselectsrelated/examples.html and it doesn't work either. Does anyone have any ideas around this problem?
FORM VALIDATION
Hi to everybody. I am new for JQuery (and my english is not good, sorry). I would like to use the Form Validator and I have problem but the basic features of it. I use the "rules" and "message" method for my fields; over the rule "required" I obtain the right (customize) message when the field is empty; but if the filed is not empty (correct situation) then I obtain "Please enter the same value again", always, for each field has that rule. Can you help me? Thanks.
How to target dynamic created form elements
Hi, Really new to jQuery but getting the hang of it. I have a form that has a table that adds rows dynamically, 4 columns with each having a form element. i end up with the following when the page loads, created dynamically: <tr> <td><input type="text" name="datepicker0" id="datepicker"></td> <td><input type="text" name="date_to0" id="datepicker" size="20"></td> <td><input type="text" name="employer0" id="employer0" size="20"></td> <td><input type="text" name="position0" id="position0" size="20"></td>
Problem with last image with Cycle Plugin
I am using the jquery Cycle Plugin with images pulling from a database. After the last image or even text blocks, the image jumps down before starting the rotation over. Is it just a problem with images pulling from a database? Here is the PHP: <div id="slideshow"> <?php do { ?> <img src="/admin/gallery/files/tmb_<?php echo $row_gallery['gallery_src']; ?>" alt="<?php echo $row_gallery['gallery_description']; ?>" width="409" height="275" /> <?php } while ($row_gallery
How to include an & in a URL from Jquery plugins
We have an external link in our code wherein when we click on the link it will redirect us to a different url where the URL has two "?" embed into it. Now the client wants only one "?" and needs one "&" instead of that ?. Now URL which we are getting is: www.adcb.com/xxx.jsp?10.10.10.10?redirect=www.abcdefgh.com we have two "?" included in the URL, for the one ? which is before redirect should be made as & Expected url is: www.adcb.com/xxx.jsp?10.10.10.10 & redirect=www.abcdefgh.com
Jquery Cycle + JCarousel mash up
So Im trying to create a slideshow with thumbnails the user can scroll through and use to navigate the slideshow. I'm a big fan of cycle so I wanted to use that as my main slideshow component and was planning on using jcarousel for the pager. So far it works great in Firefox, Chrome, and Safari, yet in IE the thumbnails are not loading. I'm guessing it has something to do with how the images in the pager are generated and then jcarousel just isnt proccessing that in IE but I 'm not sure. I feel
Validation: Preventing Form Submission
I am using the validation plugin (http://docs.jquery.com/Plugins/Validation). I am thinking of using the submitHandler to prevent form submission unless validation passes. The form submission is made through an AJAX call. The user may submit the form multiple times. The response populates a grid. In the case of validation errors, the problem is that the user will click on submit and might think the form has been submitted. What would be the best way to let the user know the form was not submitted?
JQuery Scrollable - Scroll to specific image
Hey: I am trying to get .scrollable to scroll to specific image in a gallery when the page loads. I actually have this part working fine. However, I am not sure how to let the nextPage/prevPage buttons(that scroll the thumbnails) know that it has scrolled to another image#. Any suggestions? Thanks!
jquery cycle ipad memory limit
I'm using jquery to create some large slideshows of large images (~50 images at 1000x500px each). I found out that when viewing some of these large slidehows on the ipad, it would only load about 30 of the images and then not load any more because apparently mobile safari has a limit on how much image data it will load on a single page. Can someone offer a suggestion on how to best approach this issue? I thought about removing slides that aren't currently being shown, but from what I've read I can't
Credit Card Expiration Check
I am trying to use the credit card expiration checking as outlined by jwiradin here. However regardless of which month I select, it says the expiration is incorrect.. Below is the code I am using. Does anyone know what I need to change to make it work correctly? Thanks in advance. =========================== In the <head> section ========================== <script type="text/javascript"> $(document).ready(function() { //*********************** $.validator.addMethod( "CCExp",
JQuery validate
Working on a site and i gotta say, i love this validator, but i do have a problem. Im trying to run the validation so that there are no inline errors and that the errors show up in one alert. Anyone know how i can do that?
Cycle Plugin, IE8 and Prototype
The cycle plugin in IE8 styles the images to the full size of the browser window if the prototype library is also being loaded. All other browsers tested ( IE6, IE7, FF 3, FF 3.6, Safari 4 & 5 (PC), Chrome, Opera) work fine. Any ideas why?
How to get Fancybox working with my Javascript?
I really hope this is the correct place for this.... I'm pretty much a novice at JQuery, but I seem to have come off allright with Javascript. I wrote a gallery that works something like a Rubiks-cube, where the rows and column contents can get swapped around. Here's a link: http://www.taunise.com/testi/index.html What I'd like to do is implement fancybox so I can get the nice popup fullsize images for each gallery item. My problem is, I load the images dynamically by calling a function on pageload
Superfish - How can I get the normal Windows-behavior?
When I go with the mouse over the entry, the submenu is shown. Sometimes this doesn't work. And a click at this menu-point doesn't help. How can I get the normally Windows behavior? I want, just after clicking at the entry show the submenu, but not with mouseover. Closing may be as now, not after a second click.
[validate] - jQuery Validation Plugin - How not validate field already filled
I have a form (form1) to register with the fields: user, email, password being validated normally. have a second form (Form2) to the user update the data registered in form1, and the fields user, email, password is already populated with data from the database, the email field I use the remote validation, and as the field already has been completed and read always says that this email already exists, how do I create a rule or method so that when the field is already filled it not do so validating
jquery validation - not requiered, but if (not blank || not default value ) {check condition}
$('#enquiry').validate({ rules: { Email: { required: true, email: true } }, messages: { Email: "Enter valid email" } }); i this case Input Email couln't be blank (required: true) <input type="text" name="Email" value="Your Email" onFocus="doClear(this)" onBlur="doDefault(this)"/> issue: $('#enquiry').validate({ rules: { Email: { email: true } }, messages: { Email: "Enter valid email" } }); function doClear(theText) { if (theText.value == theText.defaultValue)
JQuery Validate: Proper Use of EqualTo along with Required
Hi, I'm very new to JQuery and am using the Validate plugin for my PHP form. I have a confirm password field that needs to have both classes equalTo and required applied to it. Is the syntax simply: class=" required equalTo" If so, how do I set the equalTo value to my create_password field? Thanks, Sid
Show(), Hide(), and cookie
Hi, I integrated on my website a script that allows the user to toggle the language by simply pressing the button related to the language. I'd like to create cookie to define the same language for all the pages (loaded by ajax). I'd like the language to rest the same for each visit of the user too. I'm kind of a noob in jquery so I thank a lot in advance all those who will help me.. Now the code : Javascript : $(document).ready(function() { $('#fr_button').click(function(){ $('.us_description').hide();
Form plugin random issue only in Opera
Hi! I'm using the latest 2.45 version of form plugin. If file upload present in the form, the submit will be "normally" to an iframe. In this case, if the response Content-Type is text/javascript, only in Opera this example mostly not working, few times works: http://bogex.hu/jqtest.php In other browsers, FireFox, Chrome, Safari, Owb works fine. Is there any solution to working always in Opera? Thank you! Lay
on the hunt for a specific plugin I should have bookmarked
This is a long shot but I've been desperately Googling for a while now and thought someone here might know. I'm looking for a plugin I came across a couple months back but never bookmarked. In function, it is amazingly similar to Masonry but worked a bit different in a lot of ways. All I really remember is that you could sort items live on page (they would slide around into new orders) and that the project was from an Asian dev (as far as I know, the site wasn't in a language I recognized). Anyone
Jquery corner.js plugin
hi, I am using Jquery corner.js plugin for button roundings.In the plugin there are making the position as relativefor the buttons because of which the button movement is happening on mouse over(when dialog opens or when page loads).I want the position of the buttons as absolute -as per the requirement. please help me out of this issue.
How does one read a cookie with a non-root (path != "/") using the jQuery cookie plugin?
Consider the case where I set a non-root cookie. Something like this: jQuery.cookie('monster', 'big', { path : '/sesame/'});How can I read this cookie? The following snippet does not work (it returns `null`) jQuery.cookie('monster');I tried this (rather silly, I know) but it sets a cookie, not read one. jQuery.cookie('monster', { path: '/sesame/' });
Dynamic height of autocomplete menu and some other notes
Hi ! I'm very-very fresh user of jQuery and jQuery UI. So excuse me if I'm inventing the wheel and my solutions may be made in "conventional" way. I like the idea of setting the max menu height in the CSS. But the problem is that when the list became small, the menu div is not resized and looks not so aesthetic. To solve this I've created two CSS classes, that looks like this: .ui-autocomplete-scroll { height: 200px; overflow-y: scroll; } .ui-autocomplete-noscroll { overflow-y: auto; } and
jQuery Validate - field highlighting - how?
using the jQuery validate plugin and trying to implement the field highlighting used in the follow demo http://jquery.bassistance.de/validate/demo/marketo/ I can get validation to work with the checkmark and message to right of field, but would really like to use the above format. I have read through all the source code, scripts, etc. and cant figure out how to turn it on mse
best practices when using several plugins
Hi, I'm trying to understand the best practices to add my jquery plugins in my code. For example, I've seen people that when using three or four of them they would add them right before body tag closes. I would like to know why is better this way. Also would like to know if you should take all plugins and convert it as an unique js file, or how do you manage when using several of them. It does not look proffesional when listing all of them in the template, it reminds me looking in old website using
Hide default title tooltip?
I'm using this jquery plugin I recently found, and I'm having some trouble with it. Actually I got it to work quite nicely, the thing is that (as you may notice in that same demo) it works using the Title attribute so when you hover for a couple of seconds over a menu button, that awful default tooltip appears. I did some research but I couldn't find any simple way to hide those. Any suggestions? Thanks :)
Unable to access Plugins section of website
Hi, I'm very new to jQuery and registered a new account on the website yesterday. I can log in using my account details OK, but when I try to use the Plugins section of the site I get :- Access denied You are not authorized to access this page. If I try to search for a pluging, I get :- Validation error, please try again. If this error persists, please contact the site administrator. I can't find a FAQ section in the forums, or any link on the site to contact the website admins, so I'm hoping
Next Page