PDA

View Full Version : newbie question !!!!



skript
08-12-2008, 02:54 PM
i am a total beginner in javascript so please bear with me...

i am looking at the "gradual element fader" in
http://www.dynamicdrive.com/dynamicindex11/gradualfader.htm

i have a picture on my page, this is the one i'd like to fade;

the fader page says: " Then, to apply the effect to any element on your page with a dimension, give it a class="gradualfader" declaration, for example:


<img src="test.gif" class="gradualfader" />

<a href="http://www.dynamicdrive.com" class="anotherclass gradualfader"><img src="dd.gif" /></a>

<div style="width: 300px; border: 1px solid gray; background: blue" class="gradualfader">
Some text here
</div>


so my questions are:
what is test.gif ? the file for my picture in my site ?

and what does the link ????<a href.... dynamic.drive...> img src = "dd.gif"/></a>
also what would be dd.gif ?? the "Some text here" would be my text on my web page near the picture ???

and why the width of 300 px ?? is the fader not conserving the size of the original picture ??

thanks for helping !!!!!

skript
08-12-2008, 03:04 PM
i'll post in the right forum...

Nile
08-12-2008, 03:06 PM
All of those are just examples, delete some edit the width. It doesn't matter, there just examples. Lol. :)