or simply $('#slide-images li:gt(0)').hide();
Later on you can get the last one with $('#slide-images li:last') (or
last-child), or cache the collection.
On Dec 22, 8:25 pm, Dave Methvin wrote:
> Untested, but I think this does it:
>
> function init(){
> LastPic = $('#slide-images li').slice(
Untested, but I think this does it:
function init(){
LastPic = $('#slide-images li').slice(1).hide().length;
}
In jQuery there is probably a better way to do the rest of the code
than using a global variable for LastPic, but it depends on what the
rest of the code looks like.
> I'd like to rewrite so as to include the functions within the document
> ready part:
>
> $(document).ready(function(){
> //my functions here
> });
$(document).ready(function() {
getContent();
function getContent() {
$("div#content").load("content.php", reload);
}
Can we see the xhtml? or a link?
On Dec 9, 11:44 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> How to rewrite this into jquery code ?
> Just getting into that... so i need some example. Thanks.
>
> var upload_button = document.theForm.action_upload;
> var up
Thank you, I will give that a try...
also, it has magicaly begun to work in IE cache issue?? don't
know.. I almost always ctrl-reload
On Oct 10, 11:09 am, Gordon <[EMAIL PROTECTED]> wrote:
> A bit of a stab in the dark I admit, but have you tried using .html()
> instead of .text()?
>
>
A bit of a stab in the dark I admit, but have you tried using .html()
instead of .text()?
On Oct 10, 12:19 pm, Danjojo <[EMAIL PROTECTED]> wrote:
> Any ideas how to update the following Jquery code to work in IE?
> It works in Firefox... Opera.. and not in Safari for window.. (so it
> works in
6 matches
Mail list logo