View Single Post
Old 07-10-2006, 03:04 PM   #6 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 734
DJMaze is on a distinguished road
nothing wrong with you using FP. It was just an opinion of mine to let you know that there are better ways these days.
However, to understand whatever:hover you must understand html and css. FP just makes you forget about that since it does the work for you for Internet Explorer.

Now there's more on this world other then IE, like: firefox, opera, safari, konqueror, dillo, etc.

To my knowledge it seems you want buttons and when you hover your mouse over them they must look different.
CSS allows 'hover' these days so there's realy no need to use java to get a hover.

Code:
body
{
	behavior:url(inc/htc/csshover.htc);
}

input[type="reset"], input[type="submit"], button, .button
{
	background: transparent url(../images/button.gif) no-repeat;
	border-width: 0;
	height: 20px;
	width: 80px;
	padding: 0 2px 2px 2px;
	font: 1.1em Verdana, Arial, Helvetica, sans-serif;
	cursor: pointer;
}

input[type="reset"]:hover, input[type="submit"]:hover, button:hover, .button:hover
{
	background-image: url(../images/button_hover.gif);
	color: #009;
}
Old browsers like IE which only support webstandards of BEFORE 1999 don't understand :hover and therefore FP has the fphover.class.
whatever:hover just makes IE browser do the same as any other browser supports these days, so there's no need anymore to use java.

I hope you now understand a bit about webstandards and the old age of IE and Frontpage.
DJMaze is offline   Reply With Quote