I am using jquery to set up some basic show/hide functionality on a class of divs. My HTML looks something like
<div class="hide_this">
<textarea ...> ... </textarea>
</div>
...
The jquery code that hides all these at the beginning looks like
$(document).ready(function() {
$("div.hide_this").hide();
//other document ready code
});
The app throws up about 10 or so of these divs and what I see is the textareas appear and then blip out of existence. It seems to me that the blips could be due to slow loading of the _javascript_. Is there a better way to hide these, or could this be a hardware issue (I am running the app on a mac mini in my apartement so I neither have server power or bandwidth - however this happens even if I am the only one using the app)? Could I have too much 'other document ready code' in there that could be causing the slow loading?
I am using the compressed jquery with the header
/*
* jQuery - New Wave _javascript_
*
* Copyright (c) 2006 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt )
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $
* $Rev: 249 $
*/
I appreciate all your help.
Cheers,
Julius
--
-----------------------------------------------------
http://openwetware.org/wiki/User:Lucks
-----------------------------------------------------
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
