jquery-plugins

Using multiple pagers in jQuery cycle plugin

Is it possible to have multiple pager elements for a slideshow using the cycle plugin for jQuery? For example, in this project, I need to have a pager above and below the slideshow. The code below works fine, but when I try to "clone" the nav (prev, next, and pager) using jQuery's clone() function, the pager will not work (although both ...

jquery globalcss IE opacity

I'm using a jquery globalcss plugin to change global stylesheets. It doesn't handle opacity and IE. I've been trying to get it to work with no luck. Here's my attempt to force the plugin to try to understand IE style opacity. function changeCss (property, value, target) { if (property === "opacity") { $(target).globalcss("filt...

jquery - rearranging elements on a page using dropzones?

Hi there, Anybody come across a good plugin or code to allow you to rearrange elements on a page using drap and drop and dropzones? iGoogle and windows live does similar things.... Be nice to be able to drag and drop and close an element - add new elements.. And persisting this somewhere, i presume in cookies or an external db? I t...

jQuery plugin with its own API

Hello, I am writing my first jQuery plugin and I want to be able to do this: var myPluginVar = $("someElement").myPlugin(); myPluginVar.customFunctionCallWithinPlugin(); Any idea how to go about it? EDIT Please visit http://flowplayer.org/tools/using.html#api to see what i mean ...

JQuery Color Picker

I need to have a JQuery color Picker, where I can change the different HTML elements on a page. It should be easy to implement, I should be able to pick a color, enter RGB values and Hex values. Which plugin is the best hassle free to use. ...

JCarousellite: Duplicating items

I'm using JCarousellite to create simple carousels on a Drupal site. In my template file I create the list items by looping through an array. When I try and create a carousel on one of these pages it has the habit of duplicating items in the list. Has anybody experienced this? If so, anybody found a solution? ...

jQuery Plugin: Using callback to alter plugin behavior

I am using the jQuery token input plugin and would like change its behavior when a token is added. I added an "onAddToken" callback to the original code so I can see when a token is added to the input box, but I'm not sure how to alter tokenInput's URL from "url/to/call" to a new URL, "new/url/to/call". this, $this, and $(this) do n...

Looking for jQuery Layout plugin - similar to XtraLayoutControl

I've used the XtraLayoutControl before in Winforms projects (see http://www.devexpress.com/Products/NET/Controls/WinForms/Layout/) I'm looking for a jQuery plugin that allows drag-drop layout editing of listitems with the following functionality: Ability to split a row into multiple columns (preferably by dragging an item on top of ano...

JQuery Thickbox

I'm using the JQuery Thickbox extension. Can I use it on div tags and span tags as well or am I limited to anchor tags and html button? If I can use it like that, how? ...

Full Calendar : Adding time to the calendar's json

I've been using fullCalendar for a while and getting data via json. there is a sample listed below. [{"id":2,"name":"1","title":"takvim","start":"2009-11-04","end":"2009-11-04"}] it works fine but I upgraded the new version of the calendar and it has agenda-week view. I need to use grid area(hours there) on agenda-week so my json must ...

jQuery POST and GET methods: Construct URL or use data param?

I am using the post and get methods for Ajax calls, and have a general question. There are two methods I've seen people use on the web: Construct the URL and parameters by hand Use the data parameter Both approaches work. I've included them below: // Construct the POST URL by hand queryStringDelimiter = "?"; settings.queryParam =...

Jquery Tabs Script

I am trying to make this really simple jquery plug in.... the problem is that the tabs I create can not be manipulated by jquery. I am guessing they are not in the DOM. I am new at JQ... please help. $(function(){ $('#containerTabs').find('a[href^=#]').each(function (i) { if ((i + 1) === 1) { makeTabSelected( $(this) ); } els...

What's the proper way to work with assets in Yii?

I notice that Yii creates strange set of directories (names like 8523d23 or 10s89b92) in assets directory, and this even happens at runtime. For example, one of my tables got more than 10 records, pagination kicked-in and I got a new files in assets subdirectory named pager.css. When I move my site from testing to production, should I c...

Impromptu plugin for Alert Boxes.

Hello. When we use Javascript promt Box something like this var ur_name = prompt("Enter Name"); We will have two types of values in this case: Value entered by user. Second VALUE can be NULL, when user press CANCEL or When he presses ESCAPE Key. Right...!!! Now The problem i m facing is: HOW to Handle escape key in Impromptu plu...

jquery easing not working

Below I use the id of a clicked item to tell my function which <div> to animate. However it never seems to animate.... Basically you click and <img> and it uses the ID of that image previewItem to tell what <div> to animate. '#p + previewItem' <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script...

jQuery autocomplete display "No data" error message when results empty

I am using Jörn Zaefferer's jQuery Autocomplete plug-in. Works just fine with data. I am trying to customise the functionality by showing a "no results" error message when there are no results returned from the OnChange function (key stroke). I want the message to be displayed in the same div as the results would display in. So when you ...

Jquery timepickr showing lots of {label:s} fields instead of regular output

I'm trying to integrate jquery-timepickr on my website, but no matter what version I download (trunk, latest final, latest alpha, the one from the demo site), I keep having the same problem: I applied the time picker with the default options: $("#MyTimeField").timepickr(); When I click on the field I bound the timepicker to, I get a ...

jQuery Tools Scrollable not quite working - neither the navigate nor mousewheel functions work

I am using the jQuery Tools Scrollable plugin - http://flowplayer.org/tools/scrollable.html#navigator I have created a scrollable with a navigator before without problems and now, for some reason I cannot get the darned thing to work. The possible reason could be that there are too many divs playing, but I need all of them because each ...

jConfirm with this existing code [Solved]

Hi, I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } If I just change confirm to jConfirm this not enough to make it work... Thanks for your help Lena ...

How to handle special characters in html element id/name in Jquery validation?

I have a HTML fomr which uses special characters in ids ( :,-,_ ). The form uses JQuery validation plugin to validate the user input. Specifically the id includes a GUID Following is the sample code: <script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script> <script src="../../Scripts/jquery-validate/jquery.valida...