PDA

View Full Version : okie.. new web question..



Immortal
08-20-01, 11:27 AM
I know u guys are all geniuses so I need yah help again..

does anyone know the code to do roll over stuff?

let's say... I'm rolling over a text link... and another image changes somewhere... and roll over anohter link and anohter image changes... u know.. kinda like that..

anyone?

thanx in advancee

Gaming-Module
08-20-01, 01:48 PM
You are looking for Java script, which I haven't learned yet.

Sorry. :(

AAF Striker
08-20-01, 02:02 PM
Thought you might be interested in these a little bit. They should help you out a lot anf get a better understanding.

http://neofrog.com/tips/javascript.html

and go to http://www.pankpages.com/mouseover.htm which will allow you to input your information and generate a script... (However, both of these deal with mousing over an image to change another image somewhere) These are the ones off the top of my head, there are probably quite more.

Altema
08-20-01, 02:03 PM
I think this is it imm http://www.pageresource.com/jscript/jhover3.htm

Immortal
08-20-01, 04:40 PM
yeah.. something like banzai's but simpler.. heh..

Jon
08-20-01, 07:31 PM
I made a few assumptions but I think this is what you are looking for.

<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">


if (document.images) {
image1 = new Image
image2 = new Image

image1.src = "insert your image file here"
image2.src = "insert your image file here"
}


</SCRIPT>

<A HREF="your page you want to link to (i.e. test2.html)"
onMouseover="document.image.src=image2.src"
onMouseout="document.image.src=image1.src">
<IMG SRC="path to your first displayed image (i.e c:\test.gif)" WIDTH="xxxx" HEIGHT="xx" BORDER="0" NAME="image"
ALT="image"></A>

I hope this is what you are looking for.

ps....
If it helps I put up a quick web page with a simple rollover.

http://www.thevanvleets.com/rollover.html

Immortal
08-20-01, 09:38 PM
thanx for that.. but I already knew how to do that.. I found out how to do mine... thanx for helping :D

if I hit anohter wall I'd drop by again!

SRF01
08-23-01, 01:34 PM
I'm gonna post a site that will do it for you.
It's really a pretty good site for site designers.

Stay tuned... cause I can't remember what it is right now. crap! i'll be back...

SRF01
08-23-01, 10:00 PM
Told ya i'd be back

here's the url - here (http://www.guistuff.com/)

It should help you out.