How useful is the div tag?

liunx

Guest
Can anyone point me to a full on tutorial regarding the <div> tag :confused: I'm trying, for example, to create a drop down list when a user clicks a plus sign image, then to drag it back up if a user clicks on a now minus sign image.<br />
<br />
I heard <div> is the man for the job and would like to know everything it's capable of.<br />
<br />
Every site I've bounced off from google has been very brief about it.<br />
<br />
Thanx in advance!<!--content--><div> would be a tag to use for that, but you would have to use javascript for all the rest of the stuff you are wishing to do (drop down menu, drag back up, etc). The <div> will just be the "box" the stuff is displayed in.<!--content-->http://www.dynamicdrive.com/dynamicindex1/navigate1.htm<br />
<br />
Use this script, but since you want plus/minus signs, just replace the pictures they give you with your own pictures of +/-. Keep the same file names for the graphics though.<br />
<br />
Use your knowledge to figure it out, and go to the JavaScript forum to get help.<!--content-->Thanx for the reply guys, pyrexyn, that was just what I was after, spot on!<br />
<br />
Cheers<br />
<br />
Here's a virtual pint for ya both :P<br />
<!-- m --><a class="postlink" href="http://www.shef.ac.uk/~racs/pint.gif">http://www.shef.ac.uk/~racs/pint.gif</a><!-- m --><!--content-->haha<br />
<br />
*gets drunk*<!--content-->
 
Back
Top