what's a hoover button - and why hate it? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Pat G -> what's a hoover button - and why hate it? (3/28/2002 12:33:00)

Hi. I saw somewhere in the forum that the advanced users here hate "hoover buttons."

I'm confussed on what it is exactly.

I'm wondering if I have "hoover buttons" on my websites.





arnie -> RE: what's a hoover button - and why hate it? (3/28/2002 12:38:15)

Only Democrats hate Hoover buttons. Even if you can find some in antique stores, he wouldn't be able to run again due to health reasons...

HOVER buttons are a bot (FP component) that you can add to your pages. Not many people here like to use them because they aren't very cross-browser friendly.

The only way you have them on your site is if you (or someone before you) knowingly put them there - which it doesn't appear that you did.

(Don't you hate smart alecks????)

Arnie Howes
ITP #600 ITP #700 ITP #800 ITP #902




EWD -> RE: what's a hoover button - and why hate it? (3/28/2002 14:18:13)

I think the name FP "Hoover" button is so appropriate, but I'm thinking household appliance, not dead president.

 

Edited by - EWD on 03/28/2002 22:42:13




albino_lab_rat -> RE: what's a hoover button - and why hate it? (3/28/2002 14:21:09)

You can also do hover buttons using JavaScript, but that adds to the load time to you pages. It is done like this:

Add this to the Head of you page,

<script language="JavaScript">
<!--

if (document.images) {
image1on = new Image();
image1on.src = "button.gif";
}

function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments].src = eval(changeImages.arguments[i+1] + ".src");
}
}
}

// -->
</script>


Add this to the body of you page:

<a href="../index.htm" onMouseOver="changeImages('image1', 'image1on')" onMouseOut="changeImages('image1', 'image1off')"><img name="image1" src="button1.gif" alt="Home" border=0 width="120" height="40"></a>


This assumes that the button will go to your index page, and it is a gif that is 120 x 40 px.

What this will do is change your image (titled button) when you mouse over it (it would change it to button1).

Hope that all makes sense.



"Our only hope today lies in our ability to recapture the revolutionary spirit and go out into a sometimes hostile world declaring eternal hostility to poverty, racism, and militarism." - Martin Luther King, Jr.




puiwaihin -> RE: what's a hoover button - and why hate it? (3/28/2002 15:29:37)

The FrontPage Hover buttons are different from standard image rollovers. They're actually Java applets rather than JavaScript.

The code is buggy, you can't call scripts and such like from the target hyperlink, and the Java isn't supported by all browsers.

----------
"Things are always darkest, just before it goes totally black."
-Hannibal Smith




LB -> RE: what's a hoover button - and why hate it? (3/28/2002 18:11:39)

Javascript rollovers are fine (like the example above) ...but FP hover buttons are not only slow loading and don't always work, they will occasionally crash browsers.

Linda




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625