Hello, all!
I have a few quick JQuery questions. I found JQuery to fade my 2
images out and I have the Code and script. But I have a few questions,
because I could not get it work. I am a newbie to JQuery. I read over
some tutorials and blogs and I can't get it work. I have DWCS3.

1) I placed the JQuery Code in the head of the Code view on my page I
want to JQuery to work. However, I got a parsing error for IE6 in
DWCS3 when I placed the Code in page. The Code is below:

<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript" src="js/jquery.innerfade.js"></script>
<script type="text/javascript">
$(document).ready(
function(){
$('#apDiv8').innerfade({
animationtype: 'slide',
speed: 750,
timeout: 2000,
type: 'sequence',
containerheight: '135px'

});

});
</script>

2) I only have 2 images that I want to use with JQuery. I ended up
with the 2nd image below the 1st one. But the question I really have
is if I already have 1 jpg image in my Div, how do I add the 2nd one.
When I used the Code below and changed it to the images I was using,
the 2nd image showed up below my Div I was applying JQuery to. Here's
the rest of the Code.

<div id="apDiv8">
<ul id="innerfade">
<li><img src="memtest1.jpg" alt="memphoto" name="memphoto" width="654"
height="135" id="memphoto" /> /></li>
<li><img src="memtest2.jpg" alt="memphoto2" name="memphoto2"
width="654" height="135" id="memphoto2" /> /></li>
</ul>
</div>

3) I think I am applying the Code in the wrong place on the page and
probably an additional script to store the images that will run when
the JQuery script is applied.

It is said that this is an easy script to apply, yet I cannot do this
correctly and I am seeking help! Thanks to all of you in advance for
your help!

Reply via email to