Contextmenu for Treeview
I'm using the "jQuery contextmenu plugin" combined with "jQuery treeview async plugin" and "jQuery livequery". I use this combination to load in all data into the treeview from the database. Next step is that I want to be able to right click these dynamically loaded elements and alert the id of each element. The contextmenu as such appears in both IE and Firefox, when I right-click a treeview element, but the problem is when I try to select/left click a menu item in the context menu. Then the binding
Validate a "Two part name"???
Hi!!! My question is how can I validate a field where user introduces his name??? The thing is that if the user´s name is just "Mario" I use this to validate: <script type="text/javascript"> jQuery.validator.addMethod("lettersonly", function(value, element) { return this.optional(element) || /^[a-z]+$/i.test(value); }, "Only letters...!!!"); </script> An this is enough to validate that, but what if user´s name is "Mario Luiggi" If anybody knows how to validate a "two part name" please let me know...
jQuery Validate Plugin IE Error
Hi, I am having some problems with the Validate Plugin in IE. It is fine in all browsers except IE, it errors and the script does not run. My Code: $("#feedbackform").validate({ //set the rules for the fild names rules: { name: { required: true, minlength: 2 }, email: { required: true, email: true }, message: { required: true, minlength: 2 }, }, //set messages to appear inline messages: { name: "", email: "", message: "" } }); The error says: "Expected identifier,
jcarousel pagination, images not text
Currently I am using the Jcarousel plugin in a rails app. I have external controls and pagination. I need to convert that pagination from using numbers to using images. I think the numbers are being used to know which image to show and I could easily setup rel's with the same numbers but I am not sure on the js and jquery necessary to convert that. <script> /** * We use the initCallback callback * to assign functionality to the controls */ function mycarousel_initCallback(carousel) { jQuery('.jcarousel-control
jquery blockUI plugin not working when a div is updated...
i am putting a sample code.. please let me know whats the issue. function searchAndUpdateContent(searchCriteriaForm) { searchCriteriaForm.ajaxSubmit( { beforeSubmit : function() { jQuery("#searchCriteriaContainer").block({message : "Searching..."}); }, success : function(returnValue) { jQuery("#searchCriteriaContainer").unblock(); jQuery("#searchResultMainContent").html(returnValue); jQuery("#searchCriteriaContainer").block({message
autocomplete: override results render?
Hello, I am using the Zorn autocomplete plug-in and it works great, thanks Zorn. I was wondering if there is a method to override the rendering of the ac_results div and list, to populate results in an alternate element. Basically, I have a textarea with autocomplete enabled and a div always visible on the page. I want the autocomplete results to populate in the div. I suppose I could try to kill the hide function and do some css on ac_results to achieve the effect I want, but I was looking for something
inserting jquery plugin into iweb
Hello, I am new to inserting code into iweb and was wondering if it was possible to use code such as the jquery plugins into an iweb html snippet? i would like to create a simple image gallery such as the following link: http://malsup.com/jquery/cycle/lite/ interested in the click transitions (fade in out), but instead of using the prev / next as the click triggers if it was possible to use "<" and '>'signs i appreciate any help you guys may provide, grodr
Zorn autocomplete: override result render?
Hello, I am using the Zorn autocomplete plug-in and it works great, thanks Zorn. I was wondering if there is a method to override the rendering of the ac_results div and list, to populate results in an alternate element? Basically, I have a textarea with autocomplete enabled and a div always visible on the page. I want the autocomplete results to populate in the div. I suppose I could try to kill the hide function and do some css on ac_results to achieve the effect I want, but I was looking for something
Validation help
I have created my controls dynamically on my forms. I have decided to create my own validation functions. However, I use append to display the error message and the difficulty i`m having is that if there is still that error on the page, I ccan see the error mesage displayed twice. The previous error message is displayed and the new error message appended. How can I solve this problem? Any other method to validate and display the error message? I` m not using jquery validation plug-In as I
Thickbox IE 6 Position
So, I found a supposed fix for this in another thread on this Google group. But, for some reason it doesn't work for me. Has anyone else had issues with this? In IE 6, if I scroll down on a page and then click a thickbox link, the thickbox loads off the screen where I can't even see it.
Problem with form and ui tabs
Hi everybody. I am new in this forum and i need your help. I have 3 form wich i want to show in different tabs with ui tabs. The problem is: if i submit form 3 in tab 3 i get back to tab 1 and form 1. What do i have to do do get the current tab of the current form selected after submit??? Thanks a lot!!! COde: <script type="text/javascript"> $(document).ready(function(){ $("#tabs").tabs({ fx: { opacity: 'toggle' } }); }); </script>
voting star plugin
Hello, I just want to make a voting star box instead radio (or select) box in my form. Please let me know which plugin you will use for this. Thanks.
jScrollPane issue
Hey, I use the jScrollPane plugin. It works like a charm in IE 7. In Firefox (3.5.5), however, when the default scrollbar is replaced by the custom one, it resizes everything a tiny little bit, pushing everything below the scrollable div a few pixels lower. Does anybody know what causes this and how to fix it?
Video gallery plugin suggestions
Anybody here know of a video gallery that's like this? http://www.electricprism.com/aeron/slideshow/ That's a photogallery, but I need to find a video gallery like that. The captions and fading effects aren't necessary, obviously. Anybody know of a plugin or anything else that'll do the trick? Thanks in advance
Validation plug-in: Stops validating when a valid response is changed to invalid?
I am stuck on a problem with the jquery.validate.js plug-in. The field-level validation works fine until the user changes a value that was valid to an invalid value. When the user leaves focus of the field, the add/remove class (errorPlacement function) does not kick in. I assume it is because "success" was hit once and it is no longer validating the field. How can I get the code to continue to run the function under errorPlacement when an invalid value is entered? $.validator.setDefaults({
(validate) Compatability with jQuery 1.4?
Hi all, We're planning on using Jörn Zaefferer's 'validate' plugin and wondered if anyone knows if it is compatible with jQuery 1.4? Be very interested to find out. Many thanks. Anthony.
jQuery Validation Plugin - success:function() ISSUE
Hi everyone. I really need som help on this. I will do my best to explain the issue I'm on. I use the great Validation Plugin from Jörn Zaefferer to validate my Forms. Everything is just fine, but since I tried to implement the "success:function(label) {}" thing I can`t get it right. The worst part is that I'm doing the basic of the documentation: success: function(em) { em.text("Ok!").addClass("valid"); }, The question is that the "transformation" of the label [em in my case] is doing fine, but
jquery form wizard plugin: how to post form to another page?
Was trying to post data to another php page from my form. I've set its action to point to that page. Currently when I try to submit the page it postback with the same page and an alert comes up saying success. The other php page is simply supposed to display data which is posted to it. Here is the html and javascript I have written for the same: http://pastebin.com/k6z8JZ35 http://pastebin.com/5pwfJS4V
JQuery Validation invalidHandler not firing
I have a validation plugin page which can be found at http://www.messianicbible.com/donatetest.aspx which uses the validation plugin. However, the invalid handler is not firing to scroll the focus to the first invalid error. It seems none of the code in the handler is firing. I tried putting an alert before the code and it did not fire. Any suggestions on how to troubleshoot the code. Any help is greatly appreciated. I have used the same code on another page elsewhere and it works fine (http://www.messianicbible.com/reservenow.aspx).
Validate - Allow only 1 Wildcard Character in Input
Apologies if this has already been answered (I did search 1st!) I have a search form which has simple validation on a form input field. I have restricted it to a minimum of 3 characters but need only one of them to be a wildcard. I'm using a "%" as a wildcard and therefore "ab%" is valid but "%%%" and "a%%" etc. are not. Any help is GREATLY appreciated! My current code is : $(document).ready(function(){ $("#form1").validate({ rules: { c: { required: true, minlength:
Search lake at lastfm.ru
Hello! Have anybody seen a plugin for jQuery for search like at lastfm.ru? It shows artists and songs for search query and it can be selected with a keyboard. Sorry for my english, I hope you understand me.
Need validation help!
Hi Im trying to use jquery plug in live validation combined with a PHP random math generator for a captcha. I can get the random math to work with jquery.validate.js, but need to add in the valid email function of livevalidation.js I can't seem to get the syntax right matching a value to a php value. Here is the PHP that generates the random math, <?php $randomNum = rand(0,9); $randomNum2 = rand(0,9); $randomNumTotal = $randomNum + $randomNum2; ?> and this is the syntax Im trying to use to get it
Tables within Accoridon script?
Hi Guys I hope I've posted this in the right forum. Does anyone know of any simple/basic jquery vertical accordion scripts that allow me to place a html table in the info section (ie the window that pulls down and displays the hidden content)? I have found loads of examples of accordion scripts out there but none allow me to show and hide a simple html <table>. My current JQuery UI accordion script only allows me to put in text within <p> tags. I have tried replacing the <p> tabgs with <table> tags
Media plugin failing with encoded URL
Not really sure what to make of this, but could use some assistance troubleshooting. Using the media plugin and can't get it to work. My audio files are stored in paths similar to this (/audio/200907/file.mp3). However, when I pass the path to the player - either as a src parameter like this: $(function() { $('a.media').media( { width: 200, height: 20, src: '/audio/200906/file.mp3' } ); $('div.media').css('width','300px'); }); or like this, in the body: <a class="media" href="/audio/200906/file.mp3">My
about jquery.corner.js
Corners are not properly rendering in FF 3.5.8 it is looking ridiculous. Anybody facing the same issue. Please help me out on the same and explain.. why it is like this ?? Any tweaks for the same ? please view the screenshots attached
Validation on multiple field combination (jQuery Validation plugin)
Hi, I have following scenario. I have form with select boxes - month, day and year. Date of birth: [select_month] [select_day] [select_year] Now, I want validate on combining three fields. How can I achieve this? Krish
Help using SimpleModal plugin (JQUERY)
Hello. I generate dynamically a block using a loop with smarty, my problem is that I need to pass a parameter to the simplemodal windows that the user open when do click on the button or link, and this parameter is different for each loop. {for i=0; i = 10; i++} <div id='contact-form'> CHANGE $i <input type='button' name='contact' value='Demo' class='contact demo'/> or <a href='#' class='contact'>Demo</a> </div> {/for} This is the javascript code that call "solicitar_cambio.html"
JQuery Cycle Plugin: how to make the relative story links go to a URL
I am using Jquery Cycle Plugin and it has a right side panel that highlights text as the photos change and currently when I click on the text the associated photo pulls up then I have to click on the photo to go to the URL but I would like the text itself to link to the URL. I have looked at the fn.cycle.defaults but not sure what to change and I tried a few things but nothing works. Can someone tell which option in the fn.cycle.defaults changes this? If anyone can help me figure this out it would
Superfish sub menu hidden on IE7 only
Hello If you go to http://www.katalystonline.com/case-studies.html using IE7, hover over the FastTrak menu item and follow its sub menu, you will see how they get hidden behind the slider below. This only appears in IE7. Can somebody help me out with this problem? I have a feeling its something to do with z-index but I could be wrong. How can I make the sub menu overlap? Thanks for any replies. kwitang
How to reverse direction of slider?
I'm using a jquery slider that has scrollHorz and scrollVert options which allow "back and forth" functionality for the Prev/Next and Pager functions. The scrollVert transition scrolls Next content upwards and Prev downwards. I'd prefer these to be reversed: Next = scrolls down, Prev = scrolls up. Anyone know how to switch the direction? Thanks, Maya
(autocomplete) extraParams get hidden inputs
How do I put all the hidden inputs from the surrounding form into extraParams? I'm a jquery noob so maybe I'm going about this all wrong. This doesn't work. function getHiddens(obj) { console.log("processing params"); var array = new Array(); $(obj).parents('form:first').children('[type=hidden]').each(function () { console.log(this['name']); array[this['name']] = this['value']; }); return array; } function getHiddens(obj) { console.log("processing params"); var array = new Array(); $(obj).parents('form:first').children('[type=hidden]').each(function
jCarousellite - problem with Flash / YouTube content on IE7 and IE8
Hi, I'm having a problem with a carousel based on jCarousellite, the development page is here: http://dev4.revolutionaries.ie/ On IE7 and IE8 there are white / blank cells when scrolling - works OK in Firefox and Safari on Mac and PC. The problem only occurs when I have flash content in the carousel. Any help or ideas would be great.
Is it possible to specify which <li> appears first on a page?
I am working with a vertical slider plugin that currently has two lists specified in html, as shown below. I am using it to list all of the links to my project pages. The project images show up to the right of the slider, which is fixed in place and highlights the project you are on. For the projects that are in the first list, it works great because when you click one of those projects, the page loads and list 1 is still in place and has that project highlighted. When you slide to the second list
Is it possible to specify which <li> element appears first on a page?
I am working with a vertical slider plugin that currently has two lists specified in html, as shown below. I am using it to list all of the links to my project pages. The project images show up to the right of the slider, which is fixed in place and highlights the project you are on. For the projects that are in the first list, it works great because when you click one of those projects, the page loads and list 1 is still in place and has that project highlighted. When you slide to the second list
jQuery Validate Focus
Is there a way to have the validate plug in focus on the errorContainer rather than on the first invalid form field? I have my validations all grouped in a message at the top, to more closely resemble the server-generated errors, but even if the first field is the one with an issue, the errors aren't visible without scrolling up. --Summer
Vertical slideshow wih fadout tansition
Hello (warning: am french, excuse my english ;), I am trying to do a vertical slideshow like this site http://www.briottieres.com/ but in jQuery, not in Flash. For now, I roughly do what I want but not with the loop: http://www.chateau-aubry.com/animation.php My B plan was to use the jQuery plugin Easy Slider. This one do all I want except the fadout effect. This means 2 big differences: - the fadout effect - the gap of each image on the next image (in order to see the next image directly after the
I have 2 plugins in the same page and now one is not working
I am not a jQuery savy the following are the scripts: <script type="text/javascript"> $(document).ready(function(){ $(".accordion h4:first").addClass("active"); $(".accordion p:not(:first)").hide(); $(".accordion h4").click(function(){ $(this).next("p").slideToggle("slow") .siblings("p:visible").slideUp("slow"); $(this).toggleClass("active"); $(this).siblings("h4").removeClass("active"); }); }); </script> <script type="text/javascript"> function
Problem with sizing jquery accordion in firefox
I have a prolem in mozilla using an accordion I put a 12 section accordion on my website------it works perfect in IE7 I used jquery themeroller and grabbed the custom .js files and custom .css I was happy as a clam---it worked as advertised in IE---just a few adjustments to make each accordion space fit images with text underneath and set accordion to the right side with: <table class="normal" align="right" width="300">(the width doesnt do anything) Then I tried Mozilla and the entire accordion
Stop hover on selected ACCORDION link.. Need help..
Hi all, Just joined this new forum. My accordion is working great, but I need to STOP the hover on the selected item. Example, when I select BATH & BODY, I want the hover stop for that particular section: <div class="subcat">bath & body</div> I'm using the following ACCORDION script: $(function() { $("#accordion").accordion({ autoHeight: true, header: '.subcat' }); LINK: www.naturalskin.com On the left side of the web page. Thank you. Erik
hoverIntent: getting items to appear faster
I am using hoverIntent as described in this article - http://www.sitepoint.com/blogs/2009/03/31/make-a-mega-drop-down-menu-with-jquery/ It works beautifully, except that it does not load the mega drop down menus fast enough. I can't get it to display in less than about 1 second. I want it to be almost instantaneous.
Next Page