This can be done with CSS alone, in everything but IE 6. postion:fixed
is your friend. There are a few workarounds for IE 6, though, using
JavaScript, or IE's proprietary "behaviours" (which use JavaScript,
but are linked through stylesheets) or expressions, which are
basically JavaScript in CSS.
While I can't answer your question, if no else can, here's a method I
use when building a website:
I give each page a unique ID on the element. This is generated
by a PHP script, but you could do it manually as well. Then I use a
switch statement in my main JavaScript file, testing for $
('body'
If you did:
$(selector).bind('load', function() {
Instead of:
$(selector).each(function() {
You wouldn't have to wait for all images to load, each one would
automatically run once it's loaded. I'm willing to bet that would
work.
On Jun 26, 4:02 pm, Luke <[EMAIL PROTECTED]> wrote:
> OK
The easiest way to do this is using the .is() method and the :animated
selector:
if (!$(this).is(':animated')) {
(only runs if the element isn't being animated)
}
Also, if you do want to run anyways, but cancel all current
animations, you've got to add a little bit to the above, as .stop()
o
That's because jQuery doesn't animate the padding and margin, you have
to do that yourself. You can see a similar issue on the jquery.com
main page, with the little demo. It jumps right at the start, when it
first becomes visible, probably because of margins. I don't know why
it would only occur a
One way to do this would be to include a link (Google) in a table cell with a class (so you
can find it) in your HTML. Then, when the page loads, grab the URL
from the href attribute of the link, and remove the table cell
containing the link. This way you get very good marks in the
unobtrusive are
Parts of Interface still work with 1.2. I've read (and verified) that
it's mostly to do with the changes in the animation system, so the
parts that you should avoid are the effects (those that start in
"ifx"), because Interface overwrites parts of jQuery's animation
system. If you leave those out,
On Oct 31, 8:42 pm, Olaf <[EMAIL PROTECTED]> wrote:
> I have tested this version 1.0 is works perfect in IE + FF, not on Opera9.2
> Yes is not change the Font-size in Opera so, this should work on zoom, or?
> And what is with IE7-Zoom?
No, it doesn't work with page zoom, only font size changes. I
jQem is completely broken as of jQuery 1.1.3 and up. I haven't tested
it on 1.2 but I'm fairly sure it's still broken. It causes 100% CPU
usage. Luckily, I emailed the author Dave Cardwell, and he sent me a
link to an updated version, that he's not released yet. He says it
should production ready,
I very much disagree with the following two points:
On Jun 21, 10:51 pm, "howard chen" <[EMAIL PROTECTED]> wrote:
> 2. Put rollover stuffs into CSS is no good: CSS for layout & design,
> JS for effect
> 1. CSS can't preload image, the plugin can
2. This is a subject that's certainly debatable, s
10 matches
Mail list logo