jQuery and Frames
<html> <head> <title>jQuery and Frames</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> jQuery( function() { $(‘#frame1′).load( function(){ $(this.contentDocument).find(‘body’).html(‘This frame was modified with jQuery! Yay!!!’) }); $(‘#frame2′).load( function(){ $(this.contentDocument).find(‘body’).html(‘This frame was modified with jQuery! Yay!!!’) }); }); </script> </head> <body> <h2>jQuery and Frames</h2> <h4>Frame from the <i>same</i> domain as
Help needet with multie level unordered list
Hi, I am making my first jquery plugin ( advance sitemap with Drag,Drop, Sort ) for my own cms system. Plugin is 95% finished but with one bug which makes me crazy. My plugin supports how many levels can user add pages (example 3 level menu, 5 level menu ...). Problem: I am dragging element(ui.draggable) with below code and appending to other LI when drop. I can count parents (levels ul li) where i drop. I can not count how many levels (ul li) has draggable element ( ui.draggable ), i tryed everything
"mix and match" functionality for shopping cart?
I'm building a shop and would like to incorporate sort of a "mix and match" functionality where customers can see which tops match with which bottoms. I'd appreciate a kick in the right direction. Thanks.
jquery boxy google maps marker transparency issue IE8
I am using the boxy plugin to display a Google map. The background behind the marker is dark instead of being transparent. It is the color of the background color. For modal boxes, it is kind of black. This issue happens on IE8 but not on Firefox. See screenshot attached. The Google maps marker uses transparency so I am not sure what is going on there.
datepicker
$(function() { $('#EtDate').calendarsPicker({calendar: $.calendars.instance('ethiopian'), onShow: $.calendars.showStatus, yearRange: 'any', monthsToShow: 3, monthsToStep: 3});}); 1.How do i get month,day,year info from above? 2.EtDate is populating in an input box and I want to automatically
jQuery Media Plug-In and Android
Has anyone tried using the jQuery Media plug-in on an Android phone? I tried accessing http://jquery.malsup.com/media/audio.html from my Nexus One and couldn't get any of the audio to play.
Treeview Async Question
I have the Treeview Async working. It does a JSON call each time a LI is opened and gets the sub UL list. Everything works great. However, I want to fire the load event for specific LI so I can load the tree and get & open only certain sub UL lists. How can I fire the load event for just certian LI when using the async treeview? Tom
validate plugin - using classes
Hi - I'm using the following to validate my form, which works fine...but what I'm hoping is to apply this validation via the element class name and not the name. I know there's got to be an easy way and I'm just missing it....anyone? $("#form").validate({ rules: { "inputname": {limitCheckdual: true}, "anotherinputname": {limitCheckdual: true}, "adifferentinputname": {limitCheckdual: true}, "adifferentinputnameetc": {limitCheck: true},
Simple Content slider
First I must say I am a novice with jquery. I would like to know if it's possible to create a simple content slider with the menu (slides) buttons located in a header div and the slider area located in another div. I dont want any other prev or next buttons. I've been trying with the coda slider but I can't get it to work as I find it complicated. Is there any simpler free plugin? Something that would use lists for slides maybe with simple css maybe. Please help me. Thank you very much.
validate plugin regards localhost as not valid
Hi I'm using this plug in like this: <input type="textfield" class="url" id="url" name="url"> and if ($("#gadget_adder").validate().element("#url") ) { ...do something } But it regards a url like http://localhost/anyfile.php as invalid. Can this behaviour be turned off? i.e. could the regexp pass http://localhost ? This seems to me like something which would be useful in this plugin. I use localhost as I'm developing and while I can turn it off it would be one more thing to remember to turn it back
Cycle plugin - How to activate the slideshow effect faster.
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". Here we can see the same effect, but really faster : HTML Version 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" src="js/jquery.easing.1.3.js"></script>
Is this Flash navigation possible to recreate with jQuery?
See the navigation that is used on the images, on the right hand side of the page: http://heypapalegend.com/ Is this possible to recreate in jQuery? Preferably with a plugin :D
jquery.corner.js ie6 ie7
Hi, I've to make corner of an <a> tag inside a li in a menu. with all browsers all works fine but with ie6 and ie7 the <a> tag roudend look like this the problem is the line at bottom it not should be there. How can I solve it? thanks in advance!
Display tips for user with JQuery Validation plugin
Hi, I'm using JQuery Validation plugin to validate my forms, is it possible to show messages to guide the user using the plugin's methods, I know how to show error messages but what about assistance? For example, I have an input to insert the user's name, and I want to tell the user (when the focus is on the input) that names must contain 4 to 15 characters Thanks, any advice would be greatly appreciated
Validate and paired inputs
Using validate, is there a way to have one <label for...> serve as the error message for 2 fields? Example: Years <input type="text" name="years" size="10"> Months <input type="text" name="months" size="10"> <label for="years" class="error" style="display:none;">Please enter both years and months.</abel> I can do this for years but how can I tie both years and months to the same error message if either one is not filled out? This except lies within a larger form with other options etc. Thanks, Steffan
[JQuery Validation Plugin] Valid Handler
Hi everyone, There is an errorPlacement which takes a function to handle error customizations; however, I was searching but couldn't find a "validPlacement" to handle valid customizations. Basically, I want to show a check mark icon when the field is valid. Thanks, Arman
plugin to control password strength
Hi, I'm looking for a plugin easy to use and implement to control password strength, can you help me please? a documentation or/and tutoriel about it would be greatly appreciated Cheers,
[JQuery Validation Plugin] Add a new validation method
Can I add a new validation method in the script "additional-methods.js" of the validation plugin ? I tried to do it, but it didn't work Can anyone tell me what am I missing ? Thanks,
Media Plugin - Dynamic Source
The jQuery plugin has very nearly saved my sanity, however, I can't find any option to connect it to a dynamic server resource: <a class="media" href="DownloadWav.ashx"></a> Here I point the anchor tag at an ASP.net handler file which returns a .wav file. Unfortunately, it looks like the plugin just checks the extension of the href to determine the file type so this therefore won't work. Is there any neat way of doing this or am I going to have to edit the source?
efficient coding for plugin
hello everyone, i'm working with a plugin called simpleTip for creating hovertip effects. i just had a general question about proper and efficient coding since i find myself repeating a lot of the same lines. my JS script in my HTML header is: <script type="text/javascript"> $(document).ready(function() { function setupDemo(){ $("JQUERY NAME").simpletip({ fixed:true, position:["210", "-200"],
JQuery CSV & FLOT
I found this plugin on the jQuery site. I'm having some trouble with it because what I'm looking for is something that will break csv data into an array of arrays. Let's say for instance I have [date,keyword,search_engine,search_ranking] as the csv headers. I would assume the plugin would break the array into something where first dimension would reflect the row number, and the second, third, forth, & fifth would reflect the date, keyword, search_engine, & search_ranking respectively (or any other
Problem with table sorter plugin
Hi, I am using jquery table sorter plugin developed by Christian Bach with ajax. I have combo boxes that filter the content of the table. The code does not run for these combo box filters based on ajax. I have the table sorter code placed in the main php file and the ajax file. Sorter code works fine with main file but as soon as the ajax function is called and the portion is loaded, sorter and pager both stops working. Is the code not meant for ajax request or is it my code that is creating a problem?
why are cycle (plugin) functions breaking down in my XSLT page?
I have cycle finally going in my XSLT but I had to disable several controls in order to do it. Right now all I have is the "fx" going. First there was trouble with my paging function - disabling it made cycle finally stack the images in place as it normally as opposed to a vertical sequential order. Then the transitions were not happening at al - regardless of whether i was using a pager, the top slide was not moving out of the way. I have no idea why there should be a conflict between cycle and
Cycle Slideshow. How to pause on load?
I want the slideshow to be in pause mode when the page loads. I can add a button to resume but can't figure out how to pause on load. I've tried several things. Here's the last attempt that didn't work. $(document).ready(function() { $('.media-slideshow').cycle({ fx: 'fade', slideExpr: 'img', timeout: 6000, delay: -4000, speedOut: 900, speedIn: 1000, nowrap: 1 }, function() { $('.media-slideshow').cycle('pause'); }); $('.playButton').click(function() {
Validation plugin: How to validate various fields with same name resp. how to set rules based on classes rather than name attributes?
Hi, I have several select fields with the same name attribute I cannot change as they have to be mapped to an array. Now I would like to use the validation plugin to validate each of these select fields, but once I set one field all other fields are considered valid too despite of not having selected anything. I have found two discussions that never finished this topic: http://forum.jquery.com/topic/jquery-validate-validating-on-input-id-instead-of-name http://forum.jquery.com/topic/jquery-validate-setting-rules-based-on-id-instead-of-name
Prevent controls on the ASP.Net Masterpage from fireing the validation on the contentpages.
Hi I'm very new to jquery and have run into a problem which I've been struggling for a while now. Problem is I have a master page with a few "navigate" to offsite pages. User is currently on a content page with some validation enabled using jQuery 1.4.2 validation plugin. Now once the user click on the master page control (imagebutton, or input html control) validation fires on the contentpage and prevent the user to navigate to the "offsite" url. How do I disable validation for a content page if
confirmation dialog that continues submit, or cancels and resets button
i'm trying to make jquery UI's button and dialog plugins work with my form. i want the reset button <button id="opener" value="reset" type="submit">Reset</button> to pull up a confirmation dialog, which it does. cancel should dismiss dialog and set the button back to its original state. it dismisses fine but the button maintains its hover state, even though i have tried adding the .refresh method just about everywhere i can think of. jQuery(document).ready(function($) { $(".dialog").dialog({
The Datepicker plugin
I use the Datepicker plugin of http://keith-wood.name/datepick.html. How can I put the date value directly in to the input text, when I click the "Today" of the Datepicker ?
jcarousel
i recently used jcarousel plugin.... i found this issue.... i have an xml result with 7000 elements , i display 6 per page so 300 more pages--- with arrows page per page sliding no problem.... but if i try to jump to page bigger than 200 the script goes to timeout... any suggestion? thanks
Superfish Expands Beyond Page IE6
I am trying to use superfish plugin for navigation and its working great in every browser except IE6. When the menu scrolls down to far, every browser expands the current page as needed to accomodate the menu, IE6 does not and the menu is off the page, below whats accessible. Is it possible to correct that behavior? Let me now what other information you need from me. below is my menu <div> <ul class="sf-menu"> <li class="current"> <a href="searchpage.asp">Type</a>
Validation plugin: How to validate various fields with same name resp. how to set rules based on classes rather than name attributes?
Hi, I have several select fields with the same name attribute I cannot change as they have to be mapped to an array. Now I would like to use the validation plugin to validate each of these select fields, but once I set one field all other fields are considered valid too despite of not having selected anything. I have found two discussions that never finished this topic: http://forum.jquery.com/topic/jquery-validate-validating-on-input-id-instead-of-name http://forum.jquery.com/topic/jquery-validate-setting-rules-based-on-id-instead-of-name
modifying Quotator
Can anyone help me add play / pause / skip forward / skip backward buttons to Quotator ? Also to make it a continuous loop rather than once then stop. Thank you!
Help with validate
New to jQuery and I am trying to use the validate plugin. I am wanting to add a method to validate that the startTime and endTime are valid values (i.e. 00:00-24:00) and if a startTime is entered then endTime is required. Any help is greatly appreciated. Bruce Sample code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Payment Processing</title> <meta
JQuery Cycle - Multiple Slideshows each with Separate Captions and Number Count - Captions for #s2 do not show up, A better way to streamline?
Howdy, I'm new to using jquery cycle. I'm working on a portfolio site and wanted a similar slideshow look to indexhibit for separate projects presented. So far, I'm testing with 2 slideshows and have stated both of them (#s1 and #s2) in my galeries.js file. The images do transition correctly, but the caption and number count only work for #s1. When I tried naming the caption and number differently by adding a '2' such as 'output2' and 'indice2' breaks the javascript. Could anyone tell me what I'm
jquery.corner.js ie6, ie7
Hi, I've to make corner of an <a> tag inside a li in a menu. with all browsers all works fine but with ie6 and ie7 the <a> tag roudend look like this the problem is the line at bottom it not should be there. How can I solve it? thanks in advance!
Autocomplete - Key UP/DOWN
Hi all Is there a way, when I use UP or DOWN key in dropdown list, to put selected item in input box, without hiding results list ? Many thanks for any body who could bring some help. Regards JiheL
jQuery Validate problem
I can use condition to decide validate or not, for example rules: { money: { required: function() { return condition ? true : false; } } } therefore, if condition is true, the filed should be input something, but I can't do the same thing to other methods rules: { money: { required: function() { return condition ? true : false; }, digits: function() { return false;
common warning message for invalid forms
when the user submits a form whose fields have not satisfied the validations, then how can we display a "message" saying that "please fill all the fields appropriately"? And also that message should disappear when the fields are appropriately filled.
jQuery validation plugin: view all rules associated with an object
Hi All, I add and remove rules dynamically in my application. I need to be able to check whether or not a rule exists before trying to remove it (trying to remove a rule that doesn't exist throws an error). In the documentation, it says that $("input[class='myClass']").rules() returns all of the rules associate with an object. I can see that an object is returned, but I don't know how to access the rules ( .val() and .each() aren't handled, and [0] returns "undefined"). I'd really appreciate
Autocomplete and extraParams
I'm trying to understand how extraParams works in this plugin and... I do not get it at all. This is my test script: $(function() { $("#state").autocomplete({ source: "test.php", minLength: 2, extraParams: {city: function() { return $("#city").val(); }} , select: function(event, ui) { $('#state_id').val(ui.item.id); $('#abbrev').val(ui.item.abbrev); }
Next Page