This modification z= !$.browser.msie ? h.w.css('z-index') : c.zIndex
(jqmodal.js line
41) does not with firefox 3 :(
2008/6/8 hammett [EMAIL PROTECTED]:
For future references, change it to
z= !$.browser.msie ? h.w.css('z-index') : c.zIndex (jqmodal.js line
41)
On May 29, 9:08 am, Tony
Hello,
I'm using jdMenu on a site, no matter what I try I cannot get the menu
to go over the top of a certain area of the website.
www.madbags.com.au/index.php
then mouseover the product and shopping menu at the top.
any ideas would be very welcome.
even some ideas on the jdMenu
Hello,
For some reason I am receiving the following two errors in Firebug when
attempting to load a form that makes use of the Validation plugin. I am
using this in a number of places without any errors, so this has me a bit
confused. I even commented out all of the form fields and any other
You oculd either proxypass if you have access to Apache's config file,
or you could put a simple PHP script on the domain the AJAX
application is running on to fetch data from the other domain. The
proxypass approach is by far the best one, but you can only use it if
you have the ability to edit
I have a strange problem with a slideshow in IE7 where white flecks
are appearing on some images and is most noticeable in the darker
areas of photographs. This only seems to be happening in IE so no
surprise there, I am using jquery.cycle.all.pack.js?v2.21 and here is
my JS for the slideshow:
Hello together,
I have observed a problem using jQuery's JSONP functionality and the
Internet Explorer 7. The following example can be used to let the
(virtual) memory size of the IE grow constantly until Windows refuse
to allocate any more memory. Running the example using Firefox 3 does
not
I have a strange problem with a slideshow in IE7 where white flecks
are appearing on some images and is most noticeable in the darker
areas of photographs. This only seems to be happening in IE so no
surprise there, I am using jquery.cycle.all.pack.js?v2.21 and here is
my JS for the
if ($.browser.msie) {
$(#content *).each(function() {
$.removeData(this);
});
}
var html = $(#content).html();
http://docs.jquery.com/Internals/jQuery.removeData
(although the above page isn't very helpful in this situation)
On Jun 9, 9:00 am, Shaun [EMAIL PROTECTED] wrote:
thanks very much
Hi Shane, I'm curious what's broken about Thickbox 3.1 using jQuery
1.2.x? I'm running it with jQuery 1.2.3, with 1.2.6 on the dev
server. I didn't encounter any problems that I recall, I don't
remember modifying any of the Thickbox code. What issues did you run
into? Is there any other public
Dear Folks,
I have a problem where I bind a click function to the entire document,
but then want to unbind it for a specific element in this case a
textarea, so that, clicks inside the textarea do not trigger the bound
function.
Could using namespaces solve the problem. Moreover is namespace
Hi...
At the moment i use only the following jQuery code.
function disableLink() {
//rgb(190,190,190) = grey
$(.button).css({height :20px,
color:rgb(190,190,190)});
}
regards
cyrill
On Jun 9, 10:47 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Seems that, as the applet
I got a strange problem. I only get this problem on one computer here.
(out of like 5, at work)
I have a function that updates a DIV from an ajax call with data
(pictures) and everytime it updates, the WMV is just showing white,
but it's continuing, in the background. And when you scroll the
Thanks Jörn,
I don't know how I managed to miss that :(
J.
On Mon, June 9, 2008 10:38 pm, Jörn Zaefferer wrote:
required: true, rangelength: [1, 100]
See
http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html
Jörn
On Mon, Jun 9, 2008 at 1:06 PM, morrijr [EMAIL
Hi..
Well.. actually I have at the moment only a css manipulation function
used.
function disableLink() {
//rgb(190,190,190) = grey
$(.button).css({height :20px,
color:rgb(190,190,190)});
}
regards
cyrill
On Jun 9, 10:47 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Hello,
i want to use two functions but i have a little problem with them.
I have a div with hover event.
When mouse in or out , i use the fadeto() function.
When i drag the div, i use the draggable function.
The problem is when i drag the div, the function fadeto run (in and
out, )
You know, I actually did that once... I seem to be having some local
issues w/file redundancy... Regardless, I've made the change, and
there is still no animation. Now the error console doesn't throw that
odd amp;amp; anymore, however.
Any other ideas?
On Jun 5, 4:19 am, Joel Birch [EMAIL
Is possible to set a toggle for each DIV ? I have two DIV with same
class .show_hide
I click on first div and toggle call the first function (alert '1'), I
click on second DIV and toggle call the second function (alert '2').
This is not good!
== I need something like this: ==
- Click on first
Oh...this is fantastic and just what I was looking for. Clearly my
Googling skills have failed me! I did search for jQuery plugins to do
just this before attempting it myself but didn't come across this.
Thanks so much!
On Jun 9, 7:53 am, PeterAce [EMAIL PROTECTED] wrote:
have you tried using
I've just committed some changes to the trunk:
http://www.haineault.com/media/examples/jquery-ui-toaster/demo/
- refactored using $.widget
- tested/fixed for IE7 (using a virtual machine XP ..)
- added support for custom effect when user manually hide (hide)
- added onHide callback
- added
Is possible to set a toggle for each DIV ? I have two DIV with same
class .show_hide
I click on first div and toggle call the first function (alert '1'), I
click on second DIV and toggle call the second function (alert '2').
This is not good!
== I need something like this: ==
- Click on first
Please excuse (and possibly remove) previous message. After much more
investigation, I have found the problem is in the widget, not jQuery.
(Although I still don't know why the hack worked for most cases.)
dqj wrote:
I know little about the inner workings of jQuery, but I was
Thank you Michael. Exactly what I was looking for.
On Jun 9, 8:17 pm, Michael Geary [EMAIL PROTECTED] wrote:
What you're looking for is called a closure. Read up on them - they are one
of the most useful features in JavaScript. Closures aren't specific to
jQuery - you can use them in any
wow, some odd encoding happened on my end, changed all the to gt;
and so on. I've since just pulled down a new copy of the superfish.js
and it works perfectly. Thank you for taking the time to help me
out. You've built something outstanding here, and it's guys like you
that make guys like me
great, that will work. thanks.
Please update to jQuery 1.2.6.
Jörn
On Tue, Jun 10, 2008 at 10:30 AM, Matt Quackenbush [EMAIL PROTECTED] wrote:
Hello,
For some reason I am receiving the following two errors in Firebug when
attempting to load a form that makes use of the Validation plugin. I am
using this in a number of
Here's one workaround:
var dragging = false;
$(#navigation).hover(function () {
!dragging $(this).fadeTo(slow, 1.0);
},function(){
!dragging $(this).fadeTo(slow, 0.6);
});
$(#navigation).draggable({
drag: function() { dragging: true; },
stop: function() { dragging: false; }
});
On Jun 10, 7:32 am, RobG [EMAIL PROTECTED] wrote:
On Jun 10, 5:05 am, PragueExpat [EMAIL PROTECTED] wrote:
I posted this in comp.lang.javascript also, but would like to hear
from the jQuery group.
Multi-posting is not liked:
On Jun 10, 12:02 pm, Mike Alsup [EMAIL PROTECTED] wrote:
I have a strange problem with a slideshow in IE7 where white flecks
are appearing on some images and is most noticeable in the darker
areas of photographs. This only seems to be happening in IE so no
surprise there, I am using
Hi,
I've got a slight issue with IE7 http://staging.agsalons.com/ works
fine in FF but in IE7 it only scrolls between the two middle items.
This is because there are only five items in the scroller so it gets
confused so I've used jQuery to pad li to it but they're not picked
up in IE7.
Any
On Jun 10, 12:02 pm, Mike Alsup [EMAIL PROTECTED] wrote:
I have a strange problem with a slideshow in IE7 where white flecks
are appearing on some images and is most noticeable in the darker
areas of photographs. This only seems to be happening in IE so no
surprise there, I am using
Can you check it in IE6?
The layout looks a bit weird.
And it doesn't stick to the bottom/top when you scroll, but maybe that's an
IE thing?
Nice plugin, I will definitely use it!
On Tue, Jun 10, 2008 at 07:22, h3 [EMAIL PROTECTED] wrote:
I've just committed some changes to the trunk:
I have a new version brewing which will allow an alterative rendering
method which should allow textured backgrounds.
I'll announce it here when it's ready.
On Jun 4, 4:17 pm, Andy Matthews [EMAIL PROTECTED] wrote:
I want to clarify my point on this. Of all the corner plugins, I think this
Good job. I can confirm that it works in IE7.
Now if you'll just remember Dan Switzer's suggestion about stacking the
messages vertically instead of on top of each other I think you'll be done!
Excellent work!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL
Sweet!!!
I can't wait to test it out for you!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of weepy
Sent: Tuesday, June 10, 2008 7:22 AM
To: jQuery (English)
Subject: [jQuery] Re: Cornerz 0.4
I have a new version brewing which will allow an
How to disable use of proxy in jQuery UI sortables functionality?
I am sorting three DIV elements that contains iFrames inside it. While
Dragging is started, for some time I am not able to view content
inside that iFrame which is being dragged as it is a proxy element for
the original one. So,
Kyle,
I think it has to do with the position and floats in your divs. For
example remove the float: left from ColB and you will see the menu
cover it. You may want to use absolute on the menu.
Dave
On Jun 10, 4:07 am, kylebuttress [EMAIL PROTECTED] wrote:
Hello,
I'm using jdMenu on a
Position fixed is not supported by IE versions less than 7 and I just
released the version 0.1 rc1 so I don't think I'll support IE6 before
version 0.2 or 0.3.
Meanwhile, I'm facing a hard choice.. I have small clean code base
that works fine except for position fixed in IE6.. now to make fixed
Thanks Mike, we have some progress as the flecks now appear during
transitions and then disappear once the image is fully loaded. They
then reappear 3 seconds later as the next transition starts - any
ideas how to eradicate this completely?
Either don't use IE, don't use Cleartype or don't
I'm having the same problem.
Can anybody help please??
Thanks!
Stefan Kilp [sk-software] wrote:
Hi,
i am using jscript-1.1
i have registered click and dbclick event on the same tag
$(quot;#liste pquot;).dblclick(function(){
...
}
$(quot;#liste
I've just discovered a slight compatibility issue with the IE8 beta
when running in the default standards mode. The following code should
return undefined, but it actually returns an empty string:
html
divhello/div
script type=text/javascript src=jquery-1.2.6.js/script
script
I set up jquery cycle on my local server first. Everything works
great. When I was finally pleased with the very last detail, I put it
up on the live server. Now it is not acting right.
I am using the fade effect.
Now it fades to white for a bit (longer then the pause on the test
server)
I set up jquery cycle on my local server first. Everything works
great. When I was finally pleased with the very last detail, I put it
up on the live server. Now it is not acting right.
I am using the fade effect.
Now it fades to white for a bit (longer then the pause on the test
server) and
Sorry for the caps, I know it's bad form but after all it is IE6 so
cut me some slack. Take a look:
// Remove href values except first link.
$j('li#lang ul li a:not(:first)').each(function(){
$j(this).attr('href', '#');
});
$j('li#lang ul li a').each(function(){
I'll try that, but I have more info.
This is happening in Firefox. It's like a blank slide is being placed
in between. The Next and Previous links also take it to a white space
in one click with the next going to the proper slide.
In IE, all 4 are stacked on top of each other. But off of the
This is happening in Firefox. It's like a blank slide is being placed
in between. The Next and Previous links also take it to a white space
in one click with the next going to the proper slide.
In IE, all 4 are stacked on top of each other. But off of the test
environment, this worked
Very good!!!
But sad, dont work very well in IE 6.
On 9 jun, 00:31, h3 [EMAIL PROTECTED] wrote:
I've just released a toaster plugin
Project page:http://code.google.com/p/jquery-ui-toaster/
It's inspired by Miksago's experimental toaster plugin that was no
longer
I just updated the demo, I added a stack option
I had some problem calculating the spacing dynamically so I had to add
a spacing option too..
There is some behavior that I don't like much, try the following:
Open 3 sticky toasters, then close the first one and open a new one..
Not sure how I
$(form).*bind*(submit, function(event){
event.stopPropagation();
});
better :-)
Hi all,
About to use Jorn's validation plugin on a project but I'm splitting the
form into two parts. The user fills in the top half, clicks a button and
- if it validates - the second half of the form is shown.
My question then, is it possible to only partially validate a form using
the
Joe schrieb:
// To prevent event bubbling, return false (right?)
return false;
shouldn't that be event.preventDefault(); like
$(form).*bind*(submit, function(event){
event.preventDefault();
});
?
micha
You should probably report that somewhere, for IE8, specially as it's
still beta.
--
Ariel Flesler
http://flesler.blogspot.com
On 10 jun, 10:55, jrabbit [EMAIL PROTECTED] wrote:
I've just discovered a slight compatibility issue with the IE8 beta
when running in the default standards mode. The
When you bind the document, you just bind the document, not all its
elements. So you can't unbind afterwards.
You need to use conditions (.is() to skip clicks on textareas from
that handler.
if( this.nodeName == 'TEXTAREA' ) // or $(this).is('textarea')
return;
--
Ariel Flesler
Just search for old posts, this was discussed before, many times. And
it was decided not to include it for now.
Cheers
--
Ariel Flesler
http://flesler.blogspot.com
On 9 jun, 21:02, jquertil [EMAIL PROTECTED] wrote:
wouldn't it make sense to combine the livequery functionality with
jquery
Thank for this, but it doesnt works.
I try to use this :
$(#navigation).hover(function () {
$(this).fadeTo(slow, 1.0);
},function(){
$(this).fadeTo(slow, 0.6);
});
$(#navigation).draggable({
drag: function() {
I definitely need some more help, I cannot get this if lark to work
out:
$(document).ready(function() {
$(#question).change(function() {
if ($(option:selected) == good answer) {
$(#box2, #autocomplete).attr(disabled, this.value ==
'no');
}
});
});
Am I
Hi there,
This tooltip works great, but when I even view the demo page (
http://jquery.bassistance.de/tooltip/demo/ ) in IE6, and look at the
fancy / pretty tooltips, the one at the right hand side of the
screen doesn't display the correct image background. Also if I scroll
the page so that the
I just updated the demo, I added a stack option
I had some problem calculating the spacing dynamically so I had to add
a spacing option too..
There is some behavior that I don't like much, try the following:
Open 3 sticky toasters, then close the first one and open a new one..
Not sure how I
Michael,
Thanks for the reply. Both solutions work, but return false works as
well. It turns out that the real issue was that the cookie on IE6 in
a localhost environment cannot be set, well, at least I have been
unsuccessful. I am running Multiple IEs on one box and IE Tester on
another and
Thank you for your assistance. There was a tag not closed correctly
somewhere else, and it seems to have thrown me all off. A coworker who
knew the site better was able to find it. I do appreciate your
assistance.
On Jun 10, 10:37 am, Mike Alsup [EMAIL PROTECTED] wrote:
This is happening in
Hi, I'm using the form plugin to allow users to select a few search
criteria, my app spits back new table rows which are inserted.
Tablesorter handles this perfectly (with or without calling the update
function mind you). My problem is the pager plugin. I've chained on
the pager, as you can see
Great idea, will try that on my lunch time :D
Thanks !
On Jun 10, 11:54 am, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
I just updated the demo, I added a stack option
I had some problem calculating the spacing dynamically so I had to add
a spacing option too..
There is some behavior that
Found this plugin to do the job. TinySort - http://www.sjeiti.com/?page_id=321
On Jun 5, 7:29 pm, Dave Methvin [EMAIL PROTECTED] wrote:
Wrap that html in a div id=hotels /div and try this code
triggered by a button or link.
function reorder(sortby, direction)
{
I'm using the async version of the treeview plugin to deal with a
rather large tree. When the user first loads it there's nothing
there, and quite a delay before the main set of branches loads, and
i'd like to have some 'loading...' text there.
How can i get the treeview to signal when it's
Hi All,
I'm just new to jQuery and I would like to ask for your help with my
validation code. My problem in the code below is that it's not
validating the intended field. What I want to do here is to validate
if a user entered a unique name.
// a custom method for validating the Group Name
If you look at the async demo:
http://dev.jquery.com/view/trunk/plugins/treeview/demo/async.html
in the first tree, click on item 3, and then on item 3.6 - you'll see
a loading icon for a few seconds, then the branch will load. Is that
what you're looking for?
rolf
On Jun 10, 9:10 am, Max
Joe schrieb:
I am running Multiple IEs on one box and IE Tester on
another and neither will allow me to set the cookie in IE6. IE7 is
fine.
afaik:
that's not a bug, that's a feature.
micha
I am using jScrollPane to have a scrollable calendar. It is made up
of list items, and the height of each list item depends on how long
the name of the calendar event is, so I cannot define a height for
each list item. This seems to cause a problem for jScrollPane, and it
leaves a large amount
On Jun 10, 3:04 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Thanks Mike, we have some progress as the flecks now appear during
transitions and then disappear once the image is fully loaded. They
then reappear 3 seconds later as the next transition starts - any
ideas how to eradicate this
Done, it worked :)
On Jun 10, 11:54 am, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
I just updated the demo, I added a stack option
I had some problem calculating the spacing dynamically so I had to add
a spacing option too..
There is some behavior that I don't like much, try the following:
On Jun 10, 12:31 pm, ProNotion [EMAIL PROTECTED] wrote:
On Jun 10, 3:04 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Thanks Mike, we have some progress as the flecks now appear during
transitions and then disappear once the image is fully loaded. They
then reappear 3 seconds later as the
I am attempting to auto-populate a form with a JSON response using the
deserialize plugin. It works for first level elements in the response.
But I can't figure out how to auto-set form elements that are arrays.
As an example here is the JSON response I am trying to bind:
BEAUTIFUL! That works perfectly.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of h3
Sent: Tuesday, June 10, 2008 11:53 AM
To: jQuery (English)
Subject: [jQuery] Re: [ANNOUNCE] Toaster plugin
Done, it worked :)
On Jun 10, 11:54 am, Dan G.
Methods that you add via $.validator.addMethod have to run
synchronously, so using ajax in there doesn't work.
The remote method implements the necessary synchronization:
http://docs.jquery.com/Plugins/Validation/Methods/remote#url
An example for the unique remote validation is here:
Hi,
I am developing a failry heavy loading website and I keep running into
the dreaded 1 item remaining issue on IE. AFAIK there is no real fix
for this?
The issue this is causing (I think) is that it prevents document.ready
from launching and stops my jquery functions which results in a
Thanks! That will save me and a bunch of folks some headaches!
Roger
On Jun 9, 5:39 pm, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
This is now fixed in the latest revision, which references jQuery at
load-time and as no dependency at
runtime:http://dev.jquery.com/view/trunk/plugins/validate/
I want to add a class to the first letter of every link in a page's
navigation. Here's what I have now, but I'm missing a way to actually
grab the first letter. This script would add the caps class to the
whole link, and I only need the letter. The reason for this is that
the links are using
On Jun 10, 6:01 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Can you post a demo link
Yes I can now as the client has decided to go live with the issue on
the understanding it is resolved asap.
The url is www.plymouthcollege.com
Nobody has an idea, what I am doing wrong? Or is the question too
specific / this the wrong place to ask this kind of question?
2008/6/6 Jan Limpens [EMAIL PROTECTED]:
Hello,
I am in the process of writing some scripts that makes use of JqModal
(http://dev.iceburg.net/jquery/jqModal/).
What
I've a strange problems with IE (currently, IE6. Don't know IE 7):
I've got this method:
function iSMSfixIEHistory()
{
var temp;
$(#log).append(Function calledbr);
$.each($(a[href^='#']), function() {
temp = $(this).attr(href).replace(/\#/,
Here's what I've come up with based on one response in this Mailing
List, although I think that it's a bit messy. I have a natural regex
aversion...
$(document).ready(function() {
$(#Nav li a).each(function() {
var text = $(this).html();
Well, your stack includes jquery-1.2.1.pack. That indicated to me
you've got the wrong version.
Otherwise, please post a testpage.
Jörn
On Tue, Jun 10, 2008 at 8:32 PM, Matt Quackenbush [EMAIL PROTECTED] wrote:
Jorn,
I am running jQuery-1.2.6.pack.js with this. I have a number of forms
gotta do .each() - look it up in documentation
$('div').each(function(){
$(this).toggle(...etc...)
});
Jorn,
All I can say is thank you, and I feel like a complete moron. I had
mistakenly read it as 1.2.6 in the document head, when in fact that
particular application was using 1.2.1. Thank you very much for your keen
eye. Problem fixed.
Thanks again,
Matt
On Tue, Jun 10, 2008 at 4:51 PM,
Can you post a demo link
Yes I can now as the client has decided to go live with the issue on
the understanding it is resolved asap.
The url iswww.plymouthcollege.com
Thanks for posting the link (and nice site, btw). I'm not sure what
to suggest, although I can say that it has nothing to
Nothing wrong with regex. Note that the expression you have will catch
all Caps and Numbers - so something like Go Here will have the G and
H in the spans.
A better pattern might be /^([A-Za-z0-9])/g -- this will match the
first character of the link, but only if it is a sensible character
(ie,
You might also want to take a look at my Fancy First Letter plugin:
http://plugins.learningjquery.com/fancyletter/
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 10, 2008, at 6:47 PM, Hamish Campbell wrote:
Nothing wrong with regex. Note that the
Hi guys,
I'm looking for a cool alternative to the normal HTML select
dropdown box. Preferrably some javascript code that will take the
existing HTML select code and generate a dropdown widget or something.
A necessary feature that I'm also looking at is that the dropdown
container displaying
Hi all,
I am working on slide panel:
http://f1shw1ck.com/activity_viewer/slider.html#
Problem: The panel which slides across pushes all the div' s in the
page to the right when viewed in IE.
Expected: The panel should act as an overlay on the current page
without pushing any div's.
Things
http://img3.imagebanana.com/view/neg8qni8/ff3.JPG
http://img3.imagebanana.com/view/nio7sjj/ie.JPG
the same code, attached in the following.
In the HTML, I've defined 2 div:
div id=view/div
div id=edit/div
the div view will use ajax() to get the sample data (ex: a;b;c )from
server and display it
Have you seen the jNice plugin?
http://www.whitespace-creative.com/jquery/jNice/
-Adam
On Tue, Jun 10, 2008 at 5:05 PM, Ettiene [EMAIL PROTECTED] wrote:
Hi guys,
I'm looking for a cool alternative to the normal HTML select
dropdown box. Preferrably some javascript code that will take the
Maybe this one?
http://jquery.bassistance.de/autocomplete/demo/
Glen
On Tue, Jun 10, 2008 at 5:04 PM, Adam Weis [EMAIL PROTECTED] wrote:
Have you seen the jNice plugin?
http://www.whitespace-creative.com/jquery/jNice/
-Adam
On Tue, Jun 10, 2008 at 5:05 PM, Ettiene [EMAIL PROTECTED]
I looked all over for tutorial or explanation to my issue to no avail.
I need to be able to open a target ajax tab in an external page
Basically homepage (link) -- new page with selected tab
opened...
So tried various ?query string with links it loads the page but will
not select the tab.
Have a look at this page: http://72.167.210.71/stage/
The horizontal nav menu uses Superfish and its working great except on
the home page with IE 6 7. This almost certainly has to do with IE
absolute positioning bugs which have tried to solve but so far eludes
me. The home page uses jquery
Hi,
Thanks for the help!
I revised my code but still doesn't work. I know there's wrong in my
code but I can't figure it out. Here is the revised code. I hope you
can help me with this.
script type=text/javascript
$().ready(function() {
var container = $('div.error-container');
OK - figured it out. I had the menu and its grandparent set to
position relative which I removed (to restore static positioning) and
then wholia - back in business. This link helped:
http://verens.com/archives/2005/07/15/ie-z-index-bug/
On Jun 10, 8:04 pm, Geoff Hankerson [EMAIL PROTECTED]
Hi, all
How do I get a printed documentation?
Jack
I'm probably going about this all wrong. So I'm hopeful that sharper
minds than mine can set me straight.
I have a bunch of bulleted lists on a page. I want them to be
displayed initially so that only the first two items of any list with
more than two items are shown, with the remainder being
The detail property on the event object will help you out here. On the first
click it's 1, on each subsequent click in the same spot it goes up one. For
the second click as well as on the double click, it will be 2.
$(#foo).click(function(ev) {
if (ev.detail == 1) {
//single click --
Here's a way to do with bind/unbind:
function over() { $(this).fadeTo(slow, 1.0); }
function out() { $(this).fadeTo(slow, 0.6); }
function unBind() {
$(#navigation).unbind(mouseover, over).unbind(mouseout, out);
}
function reBind() {
$(#navigation).bind(mouseover, over).bind(mouseout, out);
99 matches
Mail list logo