GoLive?

Thanks. I have registered all my software with them. And I forgot that they give online Tutorials.. I am an idiot.. Thanks.

Matthew
 
Trip (or anyone)

I have been looking at those sites, and they have been very helpful, as has the GoLive book, and my Web Design in a Nutshell book, but I can not for the life of me get the rollover button to work.

I have tried it both ways GoLive test me to do it, but I don't think it is building the JavaScript code for me..... Can anybody help me.

The only things I need to get down now, are making a certain stuff pop-up in a new window, and those darn rollovers.

Thanks for anyone who can help.

Matthew
 
Originally posted by Inline_guy
Trip (or anyone)

I have been looking at those sites, and they have been very helpful, as has the GoLive book, and my Web Design in a Nutshell book, but I can not for the life of me get the rollover button to work.

I have tried it both ways GoLive test me to do it, but I don't think it is building the JavaScript code for me..... Can anybody help me.

The only things I need to get down now, are making a certain stuff pop-up in a new window, and those darn rollovers.

Thanks for anyone who can help.

Matthew

Here's a generic JavaScript (to be pasted in the HEAD section of the HTML file). I've modified it a little though, but I guess you'll figure out how to configure it to suit your needs :)

Code:
<script LANGUAGE="JavaScript">
//
// Rollover
//
function Hilite(name,over)
{
	if(window.document.images) 
	{
		if (over)
			window.document.images[name].src = "/img/buttons/" + name + "_d.jpg";
		else
			window.document.images[name].src =  "/img/buttons/" + name + ".jpg";
	}
}
</script>

And here's an example of a rollover picture;

Code:
<td width="37" height="22" valign="top" align="left" xpos="180"><a href="/" onmouseover="Hilite('1home',true)" onmouseout="Hilite('1home',false)" target="_top"><img src="/img/buttons/1home.jpg" name="1home" alt="" width="37" height="12" border="0"></a></td>

Again, this is taken directly from my site, so there's some unnecessary code here :D
 
Back
Top