JQuery :: DatePick Plugin - ShowTrigger?

Jul 20, 2010

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 the cursor keys, much like in Excel, and what I don't want is for the date picker to appear when a date cell gains focus. Otherwise if hold down the down arrow key in a date column, it's possible the picker could pop up and down for each row, but at the very least it slows down the navigation.

The jQuery UI datepicker only allows triggering onfocus or through a button (which I really don't want) and disabling the datepicker doesn't seem to make any difference so that's of no use. But the datepick plugin's "showOnFocus: false" does actually stop the picker from appearing when the textbox gains focus. The problem I have is that there doesn't seem to be a .show or .hide method like there is on the jQuery UI datepicker, but there is a showTrigger option.

How would I set up the showTrigger option to show the picker when the user double clicks on the relevant text input, considering I'm configuring all the date cells in one go? I.e.

$("input[format='date']").datepick({dateFormat: "dd-M-yyyy", showOnFocus: false}); I don't want to have to cycle through all the date cells and set the trigger individually. I wouldn't mind setting the ondblclick method of each date cell to .show the date picker, but as I say I couldn't find any .show or .hide methods for this plugin.

View 5 Replies


ADVERTISEMENT

JQuery :: Datepick Plugin - Automatically Changing Version

Apr 28, 2011

I am using keith wood's datepick plugin(not the latest version). What I want to do is as soon as a txt box (called 17 for reasons I can not get intonow) is populated with a date, I want to automatically display the Gregorian version of that date in GrDate3 text box. Here is the code I am using and nothing is working. I have tried the ready and change functions and I don't get anything displayed in GrDate3.

$("17").ready(function () {
var dates = $("17").val();
var jd = dates.length == 0 ? null : dates[0].toJD();
var gr = jd == null ? '' : $.calendars.instance(gregorian).fromJD(jd);
$('#GrDate3').val(gr);
});

View 18 Replies View Related

JQuery :: Datepick() Not Getting Properly Styled?

Apr 6, 2011

in my page i load both a themeroller's css and the datepick css:

<link rel="stylesheet" type="text/css" href="css/smoothness/jquery-ui-1.8.11.custom.css">
<link rel="stylesheet" type="text/css" href="css/ui-smoothness.datepick.css">

An of course the datepick library:

<script type="text/javascript" src="js/jquery.datepick.min.js"></script>
<script type="text/javascript" src="js/jquery.datepick.ext.min.js"></script>

View 4 Replies View Related

JQuery :: Call A Plugin Function From A Html File In Which The Plugin Is Running

Aug 18, 2011

I have a slideshow plugin and there is a function in it called stopAutoplay(). This is called when I click on the pre-defined pause button in the slideshow, so it stops.

If I switch between the slideshows(Slideshow 1 2 3) the slideshow is getting messier and messier because it starts many slideshows at the same time and the plugin gets confused what to show.

I figured if I click on the pause button before I switch to another slideshow it works fine. Therefore what I would like to achieve now is to call stopAutoplay() somehow before I switch to the new slides.

How can I call stopAutoplay() from the html file when I click on one of the slideshow 1 2 3 buttons?

I've tried the codes in green below but they don't work.

fadeSlideShow(); plugin pause function part:
stopAutoplay = function(){
clearInterval(intval);
intval = false;

[Code]....

If there is a better solution let's say to kill everything before the new slideshow appears it's even better. Although I've tried die(), empty(), detach(), remove(). I hoped remove() would help cause as I read it's suppsed to remove everything but for some reasons it doesn't...

View 3 Replies View Related

JQuery :: Creating An Extension Plugin To The UI Date Picker Plugin?

Jul 12, 2011

I am creating an extension plugin to the jQuery UI Date Picker plugin mostly to just standardize the options used, as well as to add an icon to open the calendar. I am aware of the plugin's use of an icon trigger, but this will not work, as I am using an icon in my sprite image and not wanting an additional request for a mere icon.

My plugin code:

(
function
(
$
)

[Code]....

This is where it really perplexes me as this code does work to produce the calendar icon. while I could get it to work this way, it is obviously not the better choice as it should be part of the extension plugin and not get repeated in all of my various implementations of the plugin.

View 4 Replies View Related

JQuery :: Making The Cookie Plugin Work With The Colorpicker Plugin?

Aug 31, 2009

I'm trying to take the hex value chosen from a jQuery colorpicker plugin, and store it as a cookie using the jQuery cookie plugin. I just don't know the appropriate way to tie the two together.

[Code]...

View 1 Replies View Related

JQuery :: Validate Plugin - Localize My Validation Plugin In General ?

May 26, 2009

I need to localize my validation plugin in general. Hence I thought I have to override the default code with this one:

But it's not working. Another problem is, that I can't access input names like this > name="xyz[1]" Is there a way to do so?

View 1 Replies View Related

JQuery :: Combining From Plugin With The Form Validation Plugin

May 5, 2009

Having looked at the ajax examples offered for the form plugin i was intruiged to find out how i could go about validating the form using the formvalidate plugin during the beforeSubmit callback. Ive seen that you can validate the ajaxform as shown in the following example. [URL] However i'd like to use the formvalidate as it offers alot more..

View 1 Replies View Related

JQuery :: Cant Get The Easing Plugin To Work With Cycle Plugin

Jun 1, 2009

I cant get the easing plugin to work with cycle plugin

1. does cycle 2.65 work with easing 1.3

2. does easing work on the scrollHorz

3. if both of these are true then what am i doing wrong

$('#slideshow').cycle({

View 1 Replies View Related

JQuery :: Using The Validate Plugin With The Meta Data Plugin?

Jan 20, 2010

im using the validate plugin with the meta data plugin

jQuery(document).ready(
function(){
jQuery("#com-createForm").validate({ meta: "rules" } );
});

and then in the html i have for example

[Code]...

View 2 Replies View Related

JQuery :: Sitting A Plugin Inside Another Plugin

Jan 28, 2011

To jquery and am wanting to incorporate 'Cloud Carousel' plugin in another jquery plugin (jquery popup with grayed out background). However, I am struggling to make it work. whereas normally the 'Cloud Carousel' displays as you seen on their website, in my implementation, all the images are sitting on top of each other, as if, they are sitting in a stack and one by one they appear on top.

View 4 Replies View Related

Jquery :: Combining Form Plugin With The Form Validation Plugin?

May 6, 2009

m relatively new to Jquery and have come accross these two plugins.Having looked at the ajax examples offered for the form plugin i wasintruiged to find out how i could go about validating the form usingthe formvalidate plugin during the beforeSubmit callback.Ive seen that you can validate the ajaxform as shown in the followingxample.malsup.com/jquery/form/#code-samplesHowever i'd like to use the formvalidate as it offers alot more....

View 1 Replies View Related

JQuery :: Using The Same Plugin Twice?

Apr 13, 2011

I have a page where im using the Star Rating Widget. I need it to change more than one set of radio buttons into stars, but under the same div.jQuery(document).ready(function(){ jQuery("#stars-disabled").stars({ disabled: true});});#stars-disabled being the div, which is used more than once as i have a random amount of users commenting on and rating the same product.So far it only converts the first set it comes across, then the rest are left as normal.Anybody know how i can get jQuery to continue changing all radio buttons within the stars-disabled div.

View 2 Replies View Related

JQuery :: How To Identify A Plugin

Nov 19, 2010

Have had a look around at some galleries/menus etc and if anyone was able to tell me the plugin TBWA might have used on their website?

View 4 Replies View Related

JQuery :: Getting Plugin To Fix IE6 Opacity Bug?

Aug 2, 2010

I originally tried this but found it to be quite problematic: [URL]I don't think it's jQuery 1.4 compatible either.I then went on to try a JavaScript script that I found elsewhere, but that also brings up new problems!All I need is a simple bug-free jQuery plugin that will fix the opacity bug in IE6.

View 2 Replies View Related

JQuery :: Cannot Get The Plugin To Work

Jul 12, 2011

I am trying to make a jquery plug in work for me. I am using the horizontal scroller jquery easing plug in but I cannot get in to work right? The way the tutorial I used has you set it up is you use divs for each link so it scrolls to the next div. My problem is that I have 3 different pages that my navigation needs to scroll to so I have no idea how to make those into divs?

The way the tutorial has it the links are actually divs but I have changed it to attempt to make it work but it doesnt........

has the html like this:

<div class="section black" id="section1">
<ul class="nav">
<li>1</li>
<li><a href="#section2">2</a></li>

[Code].....

View 1 Replies View Related

JQuery :: Compatibility With IE And Plugin?

Sep 28, 2010

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/"></script>
<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
<script type="text/javascript" src="js/startstop-slider.js"></script>

and they work fine in the slides in All other browsers but IE, If I remove the "interface.js" the slide works but I want both to work

View 1 Replies View Related

JQuery :: Cycle Plugin And CSS?

Oct 18, 2010

New to the forum. I have a problem with the Cycle plugin. Actually, it works great, but the paragraphs I am cycling aren't formatted according to my CSS. What am I doing wrong? View at [URL]..

View 1 Replies View Related

JQuery :: How To Download A Plugin

Sep 27, 2010

I want to download BeautyTips. I go to [URL].... and I get to what appears to be an appropriate page.However, I can't find anything to click that seems to result in a download.

View 1 Replies View Related

JQuery :: LargePhotobox Plugin?

Aug 9, 2009

first public release of myjquery.largephotobox plugin.I've posted it on the google code page:[URL]

View 1 Replies View Related

JQuery :: Cycle Plugin With IE7?

Jun 8, 2009

I am new here and I seached vor problems with IE7 and JQuery Cycle Plugin but haven't found anything helpful for me. My problem: I almost copied the demo skript from [URL]...and changed it to my local folders using Dreamweaver (not laughing, I
am not a professional programmer). In Dreamweaver live-view it works perfekt. So it does in Mozilla and Opera. But not in IE. There I can just see my 3 test-pictures beneath each other but no funktionality.

[Code]...

View 2 Replies View Related

JQuery :: Looking For A Selectbox Plugin?

Jul 12, 2009

I'm looking for a selectbox plugin. Preferably something that doesn't actually use the select element.

View 1 Replies View Related

JQuery :: Using Ui Plugin. Don't Know What Functions Name To Use?

Oct 10, 2009

I am using this: [URL]... plugin to jquery ui. The problem is that it's not working at all. I downloaded the firefox debugger and it's spitting out a error saying that it can't find the function of carousel. I am not sure what the function is called. Their is no documentation but their are demos that I can look at the source code. I see them using .carousel as a function so I used that same function call. Yet I can't get my carousel to work.

View 1 Replies View Related

JQuery :: Looking For A Plugin For Framed Art?

Jul 14, 2010

say i have 1 art image and 3 frame choices. i want to have the art image stay in the background, when you choose your color frame the frame changes.

View 1 Replies View Related

JQuery :: Looking For Best Menu Plugin Available?

Jul 26, 2011

I wasted over 15 hours now and found 2 good one but they fail with latest jquery [code]...

it uses 1.3.2 and get break down with latest one

Second cool plugin i was able to find is [url]...

I am looking for a menu plugin which will work with latest jquery, dynamic width size, dynamic positions , minimal image.

View 1 Replies View Related

JQuery :: How To Parse Value Into Plugin

Aug 4, 2010

I am trying to parse a value into a plugin, but it does not work. an alert(myborderimage); shows that I am getting the value, but I cannot parse it to jQuery
$(document).ready(function(){
var myborderimage = $("#myborderimage").val();
$('#myborder').borderImage('url("borders/+myborderimage
+") 30% 35% 40% 30%');
});

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved