[jQuery] Re: Question related to Javascript

2009-02-09 Thread seasoup
If you are using Prototype and jQuery you will need to do: var $j =jQuery.noConflict(); otherwise the will be a conflict for the $. Then, when you wan't to do things in jQuery, do $j and when you want to do things in Prototype, do $. Is $("imgDisplay0").src = imgs0Slideshow[start].image; co

[jQuery] Re: Question related to Javascript

2009-02-08 Thread MH1988
Would be great if someone could still help me out? On Feb 8, 10:01 pm, MH1988 wrote: > Sorry, just also to mention, I am integrating this within WordPress > and I am using the jQuery framework for another gallery. > > On Feb 8, 9:58 pm, MH1988 wrote: > > > Thanks so much for the help. I'm afrai

[jQuery] Re: Question related to Javascript

2009-02-08 Thread MH1988
Sorry, just also to mention, I am integrating this within WordPress and I am using the jQuery framework for another gallery. On Feb 8, 9:58 pm, MH1988 wrote: > Thanks so much for the help. I'm afraid it still isn't working > correctly. I tried [0] which to me means it initiates the very first >

[jQuery] Re: Question related to Javascript

2009-02-08 Thread MH1988
Thanks so much for the help. I'm afraid it still isn't working correctly. I tried [0] which to me means it initiates the very first image as soon as it preloads. For more details of how I am using this, I am actually using the Prototype script framework which makes this image gallery work. Is $

[jQuery] Re: Question related to Javascript

2009-02-08 Thread seasoup
Also, instead of saying var imgs0Slideshow = new Array(); imgs0Slideshow[0] = new Object(); It's easier to just say var imgs0Slideshow = []; imgs0Slideshow[0] = {}; and that achieves the exact same thing. On Feb 8, 1:10 am, seasoup wrote: > $("imgDisplay0_title").innerHTML = title; > $("imgD

[jQuery] Re: Question related to Javascript

2009-02-08 Thread seasoup
$("imgDisplay0_title").innerHTML = title; $("imgDisplay0_caption").innerHTML = caption; $("imgDisplay0_number").innerHTML = "1 of " + imgs0Slideshow.length + " Articles"; should be $("imgDisplay0_title").html(title); $("imgDisplay0_caption").html(caption); $("imgDisplay0_number").html('1 of ' +