In jQuery, how do you make a mousedown() event trigger a resizeable box feature? A similar idea is cropping. You click on the picture and drag your mouse and it creates a box to the size of your choosing.
$("div").mousedown().resizeable();
or
$("div").mousedown(function(){ $("div").resizeable()}
...
Does anyone know of a plugin that allows you to roll over an anchor link and see a preview of the webpage?
So essentially we may have a link on the page to say www.mysite.com and when you roll over the link I'd like to see a preview of the site.
I know there are plugins out there that show you an image file but I'm looking for somethin...
Hi,
I am using jquery Impromptu for submitting one of my forms.
In the above mentioned URL I am using the Example 2.
Now when i try incorporating the same in my form submission, the form is getting submitted even before i clcik on the yes / no button.
I am using the following line of code for the form submit
<input type="image" name=...
I don't want to hit the server and bring back every row when I am paging through the records by using the pager. I read that if I set the datatype = local in the complete blog in the .ajax function AND if I set loadonce:true then I should be able to avoid having to wait for the grid to reload with the data.
However, when I do these thi...
Hello, I'm trying to get started with writing a jquery plugin, have been reading tutorials but am stuck at the beginning.. Here's what I have:
(function($) {
$.fn.testPlugin = function(options) {
this.each(function() {
alert($(this));
});
}
})(jQuery);
I'm calling it with:
$('#id').testPlugin();
It doesn't...
I have been pulling out my hair on this topic. I have been searching google and could not find much to help me. I have this here:
http://www.fissiondesigns.com/simon
Works in FF and chrome, but can't get it to work on IE, keep getting an error 'object doesnt support this property or method'. I looked it up on google and couldn't find...
Could you recommend some lightweight jQuery plugin to detect if fields specified by selector have changed?
E.g. like this one on SO, showing confirmation dialog when I want to reload page during post edition.
...
I'm using jQuery and some very-common-jquery-plugins in CMS extensions (including jQueryUI and jQueryTools along with many others) in some CMS extensions that are used by many people in a wide array of situations. I always get into issues where there are conflicts between my extension's plugins and plugins added by another extension on t...
Is there a way I can put little squares around a div to make it look like handles, one top middle, top left, top right, middle left, middle right, bottom left, bottom right, bottom middle. I have this jquery plugin and I have a div resizeable, but I wanted to know how I could make it look like it has handles. Most likely in css, but ma...
I keep getting this error, but it doesnt give me a line number or anything.
'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]'
That is the error, from this script:
http://www.fissiondesigns.com/simon/
try drawing a square on the picture.
Thanks in advanced!
...
I have 9 select boxes on my page containing lots of subcategories for businesses. I require the user to select an option from only 1 of the 9 selects. To make the user experience better I hide all of the select boxes with CSS and generate a dynamic select box of categories. When a category is selected from the generated dropdown, the sub...
I'm building an AJAX app. I've got several menus, where there is a list of possible options (provided by the server). The user can choose or unchoose any of those values. When the user makes a choice, it is saved to the server.
So if the total list is [A, B, C, D], it might look something like this:
User has chosen:
-A [Delete]
-B [Del...
I'm using this example as a basis http://simon.tpdserver2.co.uk/jquery/divgrowdemo.htm, I'm trying to modify it so that instead the jQuery plugin generating an html a-href that allows the user to toggle the expand/collapse (in this case it's in the form of "+ Show More" and "- Show Less" links), that I can use a link that's within the ac...
Prior Information: (In case you are wondering where I am coming from)
First Question: How to set a JS variable every n sec to a JSON array.
Thanks to help got that all going well :)
I then worked on limiting the total amount in the array, tried to set it to 10 but every time it would stop at 7.. with help from here got this working ni...
I have just set up Jplayer and it is working on chrome, but not on ie or firefox. I set up the demo first and it worked on all three browsers.
I suspect it has something to do with the swf player, but I have no idea what is wrong.
EDIT: Found out what was happening. In the Jplayer js, the swfpath was relative ("js/swfpath"), I changed ...
i have a list of menus
<ul>
<li><a href="#about" id="about">ՄԵՐ ՄԱՍԻՆ</a></li>
<li><a href="#products" id="products" >ԱՐՏԱԴՐԱՆՔ</a></li>
<li><a href="#farm" id="farm" >ՏՆՏԵՍՈՒԹՅՈՒՆ</a></li>
<li><a href="#gallery" id="gallery" >ՆԿԱՐՆԵՐ</a></li>
<li><a href="#contacts" id="contacts">ՀԵՏԱԴԱՐՁ ԿԱՊ</a></li>
</ul>
and i ...
I have this code:
var pinpoints= [ { "top": 50,
"left": 161,
"width": 52,
"height": 37,
"text": "Spot 1",
"id": "e69213d0-2eef-40fa-a04b-0ed998f9f1f5",
"editable": true },
...
I am using jquery-keyfilter plugin to mask textbox inputs.
However the textboxes are added to the page dynamically and I cannot figure out how to apply the key filter to them.
I have tried
$('#myelement').live('keyfilter', myFunction );
Also
$('#myelement').live('keyfilter', /regex/);
Kai: comment helps, but it seems my problem is...
Is there a good IP Mask plugin for JQuery? I've tried Masked Input Plugin but it doesn't IP Addresses with less than 12 digits. Then I've tried meioMask and this doesn't work with less than 12 digits either. Any suggestions?
...
Hi,
I currently have a drop-line horizontal menu using an unordered list with the following HTML markup:
<div class="menu">
<ul>
<li><a class="tier1" href="#">Top Link 1</a></li>
<li>
<a class="tier1" href="#">Top Link 2</a>
<ul>
<li><a href="#">Sub Link 1</a></li>
<li><a href="#">Sub L...