Ah, easy fix. I went ahead and mimicked your site. All you need to do
to fix this is to set the parent element, #page in your case,
position:relative. Now it works like a charm!
hth,
-scott
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of
more question though. Any idea why it ignores my padding: 10px;
setting on the parent element?
Thanks again,
Gord
On 3/8/07, Weaver, Scott [EMAIL PROTECTED] wrote:
Ah, easy fix. I went ahead and mimicked your site. All you need to do
to fix this is to set the parent element, #page in your case
You will need to assign the click to the newly created DOM elements.
The elements MUST be attached to DOM before you can assign an event
otherwise, the event will not be bound.
I think this achieves what you want in jQuery plugin format ;)
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01
I noticed somewhat odd behavior when using .click() on newly created
elements. If the .click() is assigned prior to the element being
attached to the DOM, the element behaves as if there is no event bound
to it.
var removeLink = $(a href='#'Remove/a).click(function()
{alert('hello');});
I am currently working on building a blog to house these kinds of code
odds and ends. Will ping bing back when it is up.
-scott
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of [-Stash-]
Sent: Tuesday, February 27, 2007 5:07 AM
To:
: [jQuery] Another PNG transparency thingy for IE
On 27/02/07, Weaver, Scott [EMAIL PROTECTED] wrote:
I am currently working on building a blog to house these kinds of
code
odds and ends. Will ping bing back when it is up.
-scott
You'll ping the list when you have the PNG blog up
I have seen a number requests and solutions for fixing PNG image
transparency in IE on the list. However, I have never seen one that
addresses transparency of PNGs when they are used as backgrounds. I
prefer using elements plus background images for my icons as opposed to
image tags so I can use
Hmmm, I actually had this same issue. Funny thing is, this logic worked
fine for me in FF (1.5) but broke in IE (6). In my use case I was able
to use $().toggle() instead which seems to work just fine in both
browsers.
Regards,
-scott
From: [EMAIL
Hello,
I am using the jQuery.hover() event binding to create drop down menus
from an unordered list. I attempted to use the jdMenu plugin but the
positioning wasn't coming out right with the layout I am using (the
piefecta from http://www.positioniseverything.net/piefecta-rigid.html).
I
in the new version which should address
these issues.
Cheers,
-js
On 2/7/07, Weaver, Scott [EMAIL PROTECTED] wrote:
Hi Jonathan,
In a nutshell, the drop down menu was positioned wy to the right.
What you can do is just rename the existing menu class from ugsMenu to
jd_menu and change
Hi,
Just recently started evaluating jQuery (some great stuff!) as a
replacement for an existing JS framework that has proven to be a
performance/management nightmare (won't mention any names).
Now for the task at hand, is there a simple way to access the ghost
object created by the
drag properties of an element directly
DOMElement.dragCfg.[revert|fx]
Stefan
Weaver, Scott wrote:
Hi,
Just recently started evaluating jQuery (some great stuff!) as a replacement
for an existing JS framework that has proven to be a performance/management
nightmare (won't mention any names
12 matches
Mail list logo