I have several lists with elements ('s) that can be sorted among
the different lists. However, a few elements CANNOT be sorted outside
of their own list. They are differentiated with an additional class
name.
How can I (a) detect this and (b) cancel the drop and return the item
to its original
Well I tried
$(document).click(function(event)
{
if(!$(event.target).is($('#' + self.options.auto_complete_id),
self.element))
{
alert(event.target);
$('#' + self.options.auto_complete_id).css('display', 'none');
}
});
and that does work for
Thanks a million, Brandon - and for your blog, which I'm keeping
permanently open!
Doing as you suggested above wouldn't put the 'up' image back on
mouseout (my syntax was probably wrong), though I did manage to get it
working by doing it the long way . Then I rewrote the core :/
hover:funct
Ooohh, that's neat!
Blimey, I'm learning a lot
Thanks, Hamish :)
On Feb 3, 8:01 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote:
> $('mySelector').mouseover(function() {
> // do something on mouseover and focus})
>
> .focus(function(){
> // trigger the mouseover event on focus
> $
>
> Sorry for my bad english.
> I use jQuery Cycle Plugin
> http://www.malsup.com/jquery/cycle/
>
> it work very well, but i could not change delay option
>
> $(document).ready(function() {
>$('#news').cycle({
>fx:'scrollLeft',
>
I'm seeing it too
(on the demo page: http://www.aclevercookie.com/demos/autogrow_textarea.html)
It happens while it has focus.
On Feb 4, 9:35 am, Bruce MacKay <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> Has anyone had experience with the autogrow plugin
> (http://plugins.jquery.com/project/
hi,
i have a click handler for a class in which i save this.id
chosen = this.id
later on i want to do something like
$(chosen).empty();
but this just works if
chosen = '#' + chosen;
happens before that.
because i think this is somehow ugly i just wanted to know if there is
maybe a better w
$('mySelector').mouseover(function() {
// do something on mouseover and focus
})
.focus(function(){
// trigger the mouseover event on focus
$(this).trigger('mouseover')
});
On Feb 4, 7:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> ... at least, that's what I think I need to
Anybody know ?
On Feb 2, 10:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I have a draggable div, and a droppable div.
> How can i make something like this
>
> If drop outside droppable revert to initial position
> else update
>
> ?
Cool. I need to put a time display on an intranet page. This answers
that also.
On Feb 2, 5:12 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Interesting tidbit:
> I as looking at the questions on Experts-Exchange for
> JavaScript.http://www.experts-exchange.com/Programming/Languages/Scripting/Ja
Cool Help Videos...Here's the place to find cool video tutorials like
how to get One Way SEO Links,Link building videos,photoshop
tutorials,spyware help,computer games help,website traffic help and
much more...
COOL HELP - GREAT VIDEOS
Visit http://www.coolhelp.info/
Thank you.
>From the html running inside of a Thickbox iframe I've discovered that
something is causing the onerror and onload events for my images to
not get triggered when running in Firefox 2. This issues does NOT
occur in IE 7.
For example, try putting this into content that is loaded within a
Thickbox
first off, for ie problem, if you havent got it already, check out the
ie debugbar and companion js, they come very close to firefox for
debugging ie problem. secondly, on loading the page i get errors from
one of the packed scripts that uses eval. i have run into trouble with
scripts that are pac
Hi there
See examples on http://jquery.com/demo/thickbox/, there is an example
with a login field, or any of the iframe ones which should do the
trick for you.
Cheers
On Feb 4, 7:33 am, visitorQ <[EMAIL PROTECTED]> wrote:
> hey guys! i'm trying to figure out how to develop this solution using
>
hey guys! i'm trying to figure out how to develop this solution using
a couple of jquery plugins. i have a text link on a site i'm working
on that says 'Tell a Friend'. the idea is to have a user click it,
then a lightbox will come up with a small form with a couple of text
fields. then the user c
With jQuery 1.2.2 you can now bind multiple events at once. Just
separate them with a space. I'd also suggest using the new mouseenter
and mouseleave events.
$('a')
.bind("mouseenter focus mouseleave blur",
function(event) { console.log(event.type); });
--
Brandon Aaron
On Feb 3, 1
Hello folks,
Has anyone had experience with the autogrow plugin
(http://plugins.jquery.com/project/autogrow)
It works like a dream in FF, but in IE7, the lower 10px of the
"autogrown" textarea pulses up and down.
I'm using v1.02 of the plugin with v.1.2.3a of JQuery
Any ideas?
Thanks,
B
On Feb 3, 2008, at 11:19 AM, hnzz wrote:
I am using the cluetip plugin for my pages. It works very nice in IE7
but when using with Firefox the embedded flash content on the pages
sort of flicker when a tip pops up. Yes I have set the wmode to
"opaque" but no avail...
Any help much appreciated
See the documentation for the rules option (http://docs.jquery.com/
Plugins/Validation/validate#options):
$(".selector").validate({
rules: {
// simple rule, converted to {required:true}
name: "required",
// compound rule
email: {
required: true,
email: true
On Feb 2, 2:58 pm, Lion29 <[EMAIL PROTECTED]> wrote:
> 1. Right now the tabs function that upon every ajax load the new
> content is ADDED to the DOM (even if the new loaded content is in
> conflict with already loaded - same ids for example)
> It would be nice to have the option to set tabs to la
I just can't figure it out...
Product images (using VirtueMart) are displayed using jQuery and a
lightbox plugin.
In Firefox everything works perfect!
Internet Explorer won't show the requested image 0_o, the lightbox
itself works (almost) perfectly
Click on 1 of the 3 images in FF and IE to s
... at least, that's what I think I need to do!
Trying to do a simple a: rollover - but, being a perfectionist, I want
the rollover behaviour triggered by mouseover OR focus. And then, of
course, on mouseout OR blur.
I tried sticking 2 events together with a | , without success.
However, this is
Sathya wrote:
: ${'a'}.click(function() {
That should be:
$('a').click(function() {
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer
254 968-8328
http://www.clarksonenergyhomes.com/wordpress/about/
I am using the cluetip plugin for my pages. It works very nice in IE7
but when using with Firefox the embedded flash content on the pages
sort of flicker when a tip pops up. Yes I have set the wmode to
"opaque" but no avail...
Any help much appreciated
hnzz
Further investigation shows that the problem is not a jquery problem
but a IE issue. If, for whatever reason the injected content is
incorrectly built (ie. an extra ) IE will not injct hte content
in the destination DOM object without any error notice.
On 30 jan, 11:25, Robert Ernens <[EMAIL PROT
hello sathya
there is an error in ur code. u miss the semi colon(;) after the
function end.
${document}.ready(function() {
${'a'}.click(function() {
alert("Link clicked");
${'#main-content'}.html(' Hello ');
return false;
}); <=Here u miss the semi colon
}
Ugh ... large tables always needs lots of optimizations. First ...
you'll want to minimize the number of .append()s. Concat all your HTML
into an array and then append. Something like this:
var html = [];
for (var i in data) {
// generate your html like this
html.push('blah');
}
// once
Not sure about your particular situation, but one thing you might
consider is event delegation. Pseudo-code:
$(document).click(function(event) {
if ( !$(event.target).is('your autocomplete box, the input box') {
// close the autocomplete box
}
});
so, on click
On Feb 3, 2008, at 7:47 AM, Sathya wrote:
Hi,
Am new to jquery and also not so proficient with . So bear with me if
it sounds silly. I just can't get jquery to work the way its
promised.
I did these,
1. Downloaded jquery-1.2.js
2. Included it in my html. And wrote my first code as this
${d
Hello.
I've been looking for a data-inspector plugin for jQuery, to use during
debugging.
The functionality I'm interested in is similar to the one offered by
Firebug's data inspection window. I.e. it should let one inspect an
arbitrarily deep JavaScript data element. (It would be great if it co
I have create an auto complete plug-in the it almost prefect for what I need,
just one small problem. The problem is that I can't get the auto complete
box to disappear when i click click outside of the input box and outside the
auto complete box. now my first try was to do a blur event on the
On Feb 3, 2008, at 7:47 AM, Sathya wrote:
Hi,
Am new to jquery and also not so proficient with . So bear with me if
it sounds silly. I just can't get jquery to work the way its
promised.
I did these,
1. Downloaded jquery-1.2.js
2. Included it in my html. And wrote my first code as this
${d
fixed.
during the 'development' of the reel scroller, i founded an issue with
the jquery.reflect.js plugin. In firefox, even if you call the method
when DOM is ready, it seems that the filter won't apply if all images
are not already loaded. in IE7 and in Opera9 such issue were not
visible, the re
steve i changed the code of accordion little bit u...
u need to set the fixed height of inner ul li i.e. (#navigation li li a) in
css and then in js file there is no need to set height as in IE 6 and IE 7
u can not set height in negative.
i m weak in english but if u need code i can email u
On F
Hi,
Am new to jquery and also not so proficient with . So bear with me if
it sounds silly. I just can't get jquery to work the way its
promised.
I did these,
1. Downloaded jquery-1.2.js
2. Included it in my html. And wrote my first code as this
${document}.ready(function() {
${'a'}.click(fu
I have the same version of safari. Yesterday the tooltips simply didnt
apperar. Today they do. Must been something from my safari.
Thank you! :-)
On Feb 2, 10:25 pm, "Lee Hinde" <[EMAIL PROTECTED]> wrote:
> On Feb 2, 2008 2:28 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Doesnt see
36 matches
Mail list logo