Hover Buttons

K

kling0n

Can you create a hover button that will open another instance of a browser?
What I am trying to do is create a pop up window with at printer friendly
version
of the page currently on. It would be nice to bring up the printer dialog
box as
well. How would one accomplish this?

kh
 
M

Mike Mueller

: Can you create a hover button that will open another
: instance of a browser? What I am trying to do is create a
: pop up window with at printer friendly version
: of the page currently on. It would be nice to bring up
: the printer dialog box as
: well. How would one accomplish this?
:
: kh

I do not have the knowledge to answer your questions, but I
will tell you that hover buttons require Java which is no
longer available from MS, and most developers are not using
them for this reason.
 
C

Crush

It is just a standard looking button, nothing fancy, but
it does have a hover effect and will do the trick.

1. Put this part in the head of your HTML and just change
Page.htm to the name of the page you want to open. The
rest should be pretty self-explanatory.

<script language="JavaScript">
<!--
function my_win()
{
window.open
('Page.htm','mywindow','width=425,height=560,toolbars=no,l
ocation=no,directories=no,status=no,menubar=no,scrollbars=
yes,copyhistory=no,resizable=no,addressbar=no');
}
//-->
</script>

2. Put this in the Body of your document wherever you
want the placement.

<input TYPE="button" value="Click for Current List"
onClick="javascript:my_win()">
 
K

kling0n

thanks!

Crush said:
It is just a standard looking button, nothing fancy, but
it does have a hover effect and will do the trick.

1. Put this part in the head of your HTML and just change
Page.htm to the name of the page you want to open. The
rest should be pretty self-explanatory.

<script language="JavaScript">
<!--
function my_win()
{
window.open
('Page.htm','mywindow','width=425,height=560,toolbars=no,l
ocation=no,directories=no,status=no,menubar=no,scrollbars=
yes,copyhistory=no,resizable=no,addressbar=no');
}
//-->
</script>

2. Put this in the Body of your document wherever you
want the placement.

<input TYPE="button" value="Click for Current List"
onClick="javascript:my_win()">
 
M

Mike Mueller

Naughty me, I forgost to tell you the preferred methods of
replacement for them. Either use javascript buttons or you
can make your own button in a graphics program (paint,
photoshop, whatever) and then make another button for the
'effect'. After you import them into your web, place the
gif of the standard button where you want it and then choose
Format >DHTML and use a mouseover/swapimage combo. Here is
a link to a very simple example:

http://www.lannonfire.com/support/dhtml_sample.htm


HTH
Mike


: Yikes, that is good to know!
:
: kh
:
: ::: Can you create a hover button that will open another
::: instance of a browser? What I am trying to do is create
::: a pop up window with at printer friendly version
::: of the page currently on. It would be nice to bring up
::: the printer dialog box as
::: well. How would one accomplish this?
:::
::: kh
::
:: I do not have the knowledge to answer your questions,
:: but I will tell you that hover buttons require Java
:: which is no longer available from MS, and most
:: developers are not using them for this reason.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top