I'd like to position an element at the bottom of the screen. This is
easy, using position: fixed and bottom: ...px.
However, on screens higher than 600px, I'd like to fix it at 600px
from the top. That is, if the screen is shorter than 600px, push it
to the bottom of the screebn otherwise,
While working on a web app, I thought of this method to drastically
reduce jQuery load time.
Every link follow causes jQuery to be reloaded again. Now, although
the .js file is stored in the local cache, it still needs to be parsed
and executed, which takes a lot of time. What if, instead, we
While working on this:
http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb45f7dc133
, I've tried to come up with a way to read attributes out of a CSS
class, even if that class isn't applied to any element. No luck so
far.
Any jQuery pro's want to take a crack at it? Storing
] wrote:
S. Robert James wrote:
While working on
this:http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb...
, I've tried to come up with a way to read attributes out of a CSS
class, even if that class isn't applied to any element. No luck so
far.
Any jQuery pro's want
On Nov 4, 3:04 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I would need to see some actual stats as to the performance hit of the
jQuery file loading itself into memory before I had this concern.
Is there a good way to profile page load, and determine how much time
is spent parsing/executing
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of S. Robert James
Sent: Sunday, November 04, 2007 12:37 PM
To: jQuery (English)
Subject: [jQuery] Re: Drastically reducing jQuery load time
On Nov 4, 3:04 pm, Jeffrey Kretz [EMAIL PROTECTED
Firefox provides pageshow and pagehide events, to handle page being
refereshed from cache: quite useful!
http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching
Unfortunately, as far as I can tell, jQuery simply won't bind to them!
Anyone know of a way to bind to those events with
I have an animation that runs after a delay:
setTimeout(function(){$(.mbox).fadeIn('slow');},500);
If I need to cancel it, how do I this?
I would like to cancel it regardless of whether it is still in the
initial setTimeout of 500ms, or has already started to fadeIn.
I'm having trouble understanding how various jQuery plugins show
transparency and overlays over certain elements (or the whole page).
I think CSS provides the ability to do this, but I'm not sure.
What is the basic CSS to:
1) Put a gray, semi-transparent sheet over the whole page?
2) To do the
I just want a simple function to answer 'first time' or 'back button
reload'. I don't want to replace the entire nav of the app.
On Jul 18, 11:01 pm, Kenneth [EMAIL PROTECTED] wrote:
On 7/18/07, S. Robert James [EMAIL PROTECTED] wrote:
Solving the Back button problem
Is there a way
Solving the Back button problem
Is there a way to use JavaScript to detect whether a page is being
loaded for the first time (from the server), or because someone hit
the Back button? Often you want to display a status message only one,
but not show it when they hit the Back button.
Yes - what JS code allows it to see the list of all methods (and their
source code!)?
Jack Killpatrick wrote:
Something like this?
http://www.netgrow.com.au/files/javascript_dump.cfm
- Jack
Robert James wrote:
Is there a way to list all the methods that a particular JavaScript
jQuery let's you simulate firing an event. Is there anyway to check
if the event returned true or false?
I have a textfield which I don't show scrollbars on - easy, using CSS.
But I'd like to have the lines wordwrap, instead of just going off the
screen. Can I use jQuery to catch the maxrows and wrap lines which
are too long?
I'd like to prefill a text box in a form with a typical value, but
select the text, so that if the user begins typing, the prefilled text
is overwritten, wihtout him having to erase it. (Just like the
location bar in my browser - if I click on it, the text becomes
selected, so that one key
Is this just impossible to do?
On May 18, 2:21 pm, S. Robert James [EMAIL PROTECTED] wrote:
I'd like to prefill a text box in a form with a typical value, but
select the text, so that if the user begins typing, the prefilled text
is overwritten, wihtout him having to erase it. (Just like
I'd like to select the first text input, password input, or textarea
on the page.
Only those three types of elements, and only the first one.
$([EMAIL PROTECTED]'text']:first, [EMAIL PROTECTED]'password']:first,
textarea:first) is close, but not exact - it will take the first text
input, and
Is there any way to have jQuery simulate the click event, to the point
of even following the link? $(...).click() will trigger other events,
but not follow the link - I'm looking for a complete click simulation.
(There must be some way using JavaScript - I know Selenium simulates
this...)
18 matches
Mail list logo