On Nov 5, 2007, at 12:11 AM, Jeffrey Kretz wrote:
of network overhead (duh) without the (albeit minor) performance
hit of the
packed version.
The performance hit is bigger for clients which have slow
refrigerator cpu (read iPhone).
--
Mika Tuupola
http://www.appelsiini.net/
Thanks for giving it a go Eric. It's good to see positive results. :)
Rey
eferraiuolo wrote:
So I got good results, and jQuery has the fastest total time. My
totals were:
* Prototype 1.6rc1: 1187ms
* MooTools 1.2dev-r1159: 570ms
* jQuery 1.21: 365ms
This was in Safari 2.
Eric
On Nov 1, 12
So I got good results, and jQuery has the fastest total time. My
totals were:
* Prototype 1.6rc1: 1187ms
* MooTools 1.2dev-r1159: 570ms
* jQuery 1.21: 365ms
This was in Safari 2.
Eric
On Nov 1, 12:25 pm, prit <[EMAIL PROTECTED]> wrote:
> I have tried different javascript frameworks and I fina
Oli wrote on 11/4/2007 5:01 AM:
I tried to send a form via ajax. To send it, I first serialized it -
but after that there seems to be an encoding problem with my german
characters. I can see these strange broken characters in the firefox-
log.
I think the firefox log is just a false alarm; my
I found this in the wild:
http://www.getitnext.com/
It helps to make searching for eBay items easier. Looks like they're using:
jqModal.js
jquery.dimensions.js
jquery.hoverintent.js
jquery.cluetip.js
Additional press about them:
http://www.auctionbytes.com/cab/abu/y207/m11/abu0202/s02
Rey..
Hi,
Thickbox has been working very well, now I need to use it to pop up a
page which also loads javascript as well, thickbox does not work in
this situation, with iFrame option, it works, but that's not what I
need. any solution to this? Thanks.
A.C.
Well I can't tell if you're trying to use the validation plugin or
not. I don't see any calls to the validate method on your page
anymore. But if you're not using it then you need to change how
you're using ajaxForm. If you pass just a function to ajaxForm then
that function becomes the success
Mike thanks again,
I tried the code you just posted but the only thing that happens is,
it goes right to process.php. I'm trying to do this without a page
refresh then show the animation. Any ideas i have tried so many way to
get this to work and it seems theres alot of people who have had the
sa
When a page is unloaded, jQuery is not unbinding any bound events
causing a memory leak in IE6.
Below is a very simple test page. If it is opened in IE6 you can see
the memory usage skyrocket.
$(document).ready(function() {
$(document).ready(function() {
$('div.hidden').hide();
$('#node-58 > select.state').change(function () {
$(this).find("option:selected"); // I think this line needs
a function to wrap the next bit of code?
var equiv = $('#' + this.className);
I should add my platform:
Firefox 2
Win XP
Pentium Core Duo
jQuery 1.2.1 minified
cached
On Nov 4, 8:02 pm, "S. Robert James" <[EMAIL PROTECTED]> wrote:
> I benchmarked also, using a homebrew console.debug(new
> Date().getTime()), and consistently got about 90ms to load jQuery,
> plus another 100
I benchmarked also, using a homebrew console.debug(new
Date().getTime()), and consistently got about 90ms to load jQuery,
plus another 100ms to load all the plugins and custom JS. That's a
lot of time - in the sense of a browser based web app that is supposed
to be highly reactive.
One alternate
This _might_ supercede a defined style but it's a one-off shot (not
really dynamic)...
$('head').append('\na:hover{color:#00'}\n');
However, if it's your document you should do what Klaus said and
switch between multiple classes.
On Nov 4, 5:53 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On
For example...
$(document).ready(function() {
function clickHandler(e){
var thisTR = $(this).parent().parent();
$.post( "ajax.php", {template: "testTR"}, function(output){
$(output).insertAfter(thisTR).find('.button_plus')
.click(clickHandler);
styleTables();
Using the example data that started the post...
// create a DIV with text, and append to #cardholder...
var businessCard = jQuery('Business Card').appendTo('#cardholder').get(0);
// store data against the DIV element created above...
jQuery.data( businessCard //element
, 'busin
Firebug even has its own code profiler built in (Profile button on the
Console tab), I have used it and YSlow, I think firebugs is better on its
own.
On 11/4/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
> Hi Robert,
> You can try the YSlow extension. It piggybacks off of the Firebug
> extension
I'm trying to create tabbed content (without a plugin for now)
via .load(). The initial page load works fine but when I place it in
a .click() event I can't figure out how to overwrite the
previous .load() content. Checking in Firebug I can see that the
content is loading. It just isn't overwritin
I had no idea this would be a fixable problem, but if it can... wow.
Things like Superfish, this code and many others would be almost
flawless for people to jump on too :)
I've moved the code to the bottom, and it works a bit better... Still
get a fair few times it doesn't load. Thanks Erik.
On
They do take easing arguments, and it works great! It requires the
jquery.easing plugin.
Wizzud wrote:
>
>
> As far as I'm aware, fadeIn and fadeOut don't have easing arguments so
> you should probably start by removing those.
> This would at least ensure that the fadeIn is only getting a sp
I just tried looking through the various parts of Firebug, and while it
profiles net traffic excellently, I don't see anyway to profile memory/CPU
time on the different elements.
I did test a script which captures the date/time, then loads the jQuery
file, then captures the date/time again and ca
Sean, I actually think it will be in the fx library, but I could be wrong.
Paul mentioned it at the Ajaxian Experience, check out
http://ajaxexperience.techtarget.com/images/Presentations/Bakaus_Paul_DesignPatters_jQuery.pdfpage
60 for an example.
On 11/4/07, Sean Catchpole <[EMAIL PROTECTED]> wr
Thanks Mike,
can the metadata plugin be used to store variables determined on load
for later use?
So when the variables are subsequently required the code to retrieve
them is simple and quick.
Cheers
Ollie
On 05/11/2007, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
> > Is there a relatively simple pl
I believe animation between classes is in the works as part of the UI
or similar package.
~Sean
Hi Robert,
I doubt the load time of jQuery is very significant. Downloading files
take much much longer than it does to execute. Regardless, I
personally would not use frames since then the url will never change.
~Sean
Hi Robert,
You can try the YSlow extension. It piggybacks off of the Firebug
extension for Firefox:
http://developer.yahoo.com/yslow/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 4, 2007, at 3:37 PM, S. Robert James wrote:
On Nov 4, 3:04
On Nov 4, 3:57 pm, Ufucuk <[EMAIL PROTECTED]> wrote:
> Hi;
> It is easy to select links just like $('a') however I want to change
> a:hover style dynamically. I try $('a:hover').css("color","#000") or
> whatevet, but it doesnt work. I think it recognize " : " signnn as a
> different selector. Can
hey,
my problem:
with the following code I put a TR in my table. in this TR I have
further (".button_plus") - elements. I want that the user is able to
click on these further elements. how could I realize that?
$(document).ready(function() {
$(".button_plus").click(function() {
$
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/exe
Thanks!
What do people say about possibly adding this to work within jQuery.
Instead of hard coding in the px's, we can just use CSS.
Instead of
$(...).animate({top: '30px', width: '500px'})
we can just
$(...).animate({css: 'shrunk'})
On Nov 4, 3:01 pm, Stefan Petre <[EMAIL PROTECTED]> wr
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.
My personal experience, even with very slow computers, is that I haven't
seen a lag when loading a cached page with a cached jQuery file into memory.
I have no
S. Robert James wrote:
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
On Fri, 2007-11-02 at 19:37 +, ja wrote:
> Karl,
>
> I just tried your suggestion, still no luck. Any other ideas?
>
> Josh
I think you probably have a problem with the html you are inserting.
Can you paste that in?
Wil
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 a
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 us
using the code below, im trying to populate the textfield and the
textarea with data stored in my db.
HTML PAGE:
$(document).ready(function(){
$("#editNewsItem").change( function()
{
var
As far as I'm aware, fadeIn and fadeOut don't have easing arguments so
you should probably start by removing those.
This would at least ensure that the fadeIn is only getting a speed
argument, with no callback, or nothing that might be being interpreted
as a callback.
On Nov 3, 8:14 pm, Vik_R <[E
Hi Feijó,
What you're looking for is the css "position" property. Using
position: fixed will make the sidebar stick in all modern browsers.
IE 6 doesn't recognize "fixed," but there are workarounds available.
See here for one:
http://www.howtocreate.co.uk/fixedPosition.html
--Karl
__
Thanks very much for your help!
I ended up using each().
Now to configure Google Groups so that I get email updates about my
posts here...
Best,
Ezra Gildesgame
On Nov 2, 1:52 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Ezra,
>
> This is the perfect place for such questions.
>
> You c
> I have similar problem, but when I'm trying to upload a file an error
> occurs, saying:
>
> "opts.success is not a function"
You're using jQuery v1.0.4. The Form Plugin requires v1.1 or later.
Mike
Hi,
I have similar problem, but when I'm trying to upload a file an error
occurs, saying:
"opts.success is not a function"
Code in java-script:
$('#testupload-form').ajaxForm({
url: '/testupload',
success: function(data) {
alert(data);
Sometimes IE does not make a new element available while the current
script block is still running. If you give it a breather then it can
catch up. This is most noticable when dealing with elements.
Hence something like this may help (after appending the element)
window.setTimeout(function(){
i use jqgrid for test,but i have this error:
" uncaught exception: Permission denied to call method
XMLHttpRequest.open" when open from tree to "Loading data".
In FF is problem ,but in IE or Opera is ok. Why ?
I'd be interested to hear a solution to this too. In the mean time it
may be helpful to know a couple of workarounds that have helped in the
past:
- Use .wrap("" to wrap your element inside another and
fade that instead. (Just make sure the span remains display:inline)
- In IE only: add a handler
Very nic, very nice... There's a little problem with the
'rendering sistem' [pictures are playing nasty when you move them] but
still very nice...
On Nov 3, 6:09 pm, Stefan Petre <[EMAIL PROTECTED]> wrote:
> I did something similar, but did not ave the time to release it. You can
> see it in
Hello!
Instead of fadeIn/fadeOut, you can use fadeTo :)
On Nov 4, 1:14 am, Stanley <[EMAIL PROTECTED]> wrote:
> When using fadein or fadeout they both set the element to
> display:block - is it possible to tell it to set it to display:
> inline instead?
Hi,
I tried to send a form via ajax. To send it, I first serialized it -
but after that there seems to be an encoding problem with my german
characters. I can see these strange broken characters in the firefox-
log.
I saved my html-document as UTF-8 and I also set the documents content
type to U
I'm not sure if I'm doing things quite right with jqModal (the docs are
rather sparse). What I'm having a problem with is opening a dialog box
(ajax call), and applying a click event handler to my "save" link. This
sometimes works, and sometimes not. Even with a timer added, the
handler som
Great work Adrien! Will you be making a similar cheet sheet for
jQueryUI?
On Sep 12, 3:09 am, adrien <[EMAIL PROTECTED]> wrote:
> Thanks,
>
> Here is the brand new version for the Jquery 1.2 release (because
> there is more than on the roadmap!)
> PNGhttp://www.box.net/shared/invpn0ge2k(1024x768p
> Is there a relatively simple plugin that takes advantage of jQuerys
> "expando management" that anyone can recommend as an example?
>
> The most promising information I have discovered is in the release
> notes of jQuery 1.2 where John mentions jQuery.data() : docs.jquery.com/Release:jQuery_1.2
49 matches
Mail list logo