Posted By
Message
Zi-Xiao
Registered 29/07/2002
Points 537
7th May, 2005 at 20:38:27 -
Ok I've got a picture with a hyperlink in it. How when I click the button, I want the picture to change to something else, and also want to update another frame which the button is not in.
Anyone know how to do this?
Btw, in case anyone cares, this is for the Splinter Source 2 website.
n/a
David Newton (DavidN) InvisibleRegistered 27/10/2002
Points 8322
8th May, 2005 at 04:52:59 -
To update another frame, I think in the "a" tag you have to specify the attribute target="name", where name is the name of your frame. I'm not sure about changing the picture, though.
http://www.davidn.co.nr - Games, music, living in America
Pete Nattress Cheesy Bits img src/uploads/sccheesegifRegistered 23/09/2002
Points 4811
8th May, 2005 at 11:31:15 -
A simple rollover script is:
< img src="whatever.gif" onMouseOver="this.src='rollover.gif'" onBlur="this.src='whatever.gif'" >
www.thenatflap.co.uk
Zi-Xiao
Registered 29/07/2002
Points 537
8th May, 2005 at 20:05:51 -
nevermind guys, i figured it out.
http://www.dkdproductions.com/iron_nail
check back soon for screens and shit.
*edit*
Splinter Source 2 is now under a new name: "Iron Nail" Edited by the Author.
n/a
guri-n ha
Registered 16/04/2005
Points 245
12th May, 2005 at 05:04:35 -
it's really easy to do java buttons under MS Frontpage. You just add the images and the rest is done with it's built in code.
n/a
ChrisB Crazy?
Registered 16/08/2002
Points 5457
12th May, 2005 at 07:48:01 -
But they're Java buttons, and you can do it much easier with JavaSCRIPT
n/a
guri-n ha
Registered 16/04/2005
Points 245
12th May, 2005 at 08:21:10 -
but javascript isn't good with gfx.
n/a
Radix hot for teacherRegistered 01/10/2003
Points 3139
12th May, 2005 at 08:25:21 -
JS is fine with graphics. The browser handles it.
n/a
Cybermaze
Registered 03/04/2003
Points 853
12th May, 2005 at 09:30:16 -
Java applet would be overkill when you can do JS.
If you knew, I would have to kill you...
Pete Nattress Cheesy Bits img src/uploads/sccheesegifRegistered 23/09/2002
Points 4811
13th May, 2005 at 08:23:32 -
Java applets for simple rollover buttons are one of the most annoying things ever.
www.thenatflap.co.uk