Hover Button Question for opening a new window?

M

Mike Hemphill

I'm using a hover button and would like on click to open a new window. I've
used the...

<a href="#" onClick="MyWindow=window.open

command before but how can i implement it in to a java applet like the hover
button

For instance:

<td colspan="2" height="19" width="236">
<applet code="fphover.class" codebase="./" width="236" height="26">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="effect" value="glow">
<param name="image" valuetype="ref" value="images/highwinbtn1.gif">
<param name="hoverimage" valuetype="ref" value="images/highwinbtn2.gif">
<param name="hoversound" valuetype="ref" value="empty.au">
<param name="text" value>
</applet>
</td>

If possible I'd like to open a new window when clicking my hover button.

Hope this makes since any help would be greatly appreciated

Thanks Mike
 
J

Jim Buyens

-----Original Message-----
I'm using a hover button and would like on click to open
a new window. I've used the...

<a href="#" onClick="MyWindow=window.open

command before but how can i implement it in to a java
applet like the hover button

For instance:

<td colspan="2" height="19" width="236">
<applet code="fphover.class" codebase="./" width="236"
height="26">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="effect" value="glow">
<param name="image" valuetype="ref"
value="images/highwinbtn1.gif">
<param name="hoverimage" valuetype="ref"
value="images/highwinbtn2.gif">
<param name="hoversound" valuetype="ref"
value="empty.au">
<param name="text" value>
</applet>
</td>

If possible I'd like to open a new window when clicking
my hover button.

Hope this makes since any help would be greatly
appreciated

Thanks Mike

Sorry, but Hover Buttons don't have this capability.

If desperate, you could choose Properties from the File
menu and configure the default hyperlink target for the
whole page as New Windows (_blank) and then configure
every normal hyperlink as Same Frame (_self).

Hover Buttons are on the way out, you know. You might want
to consider making up two button faces in a picture
editor, adding the first one to your pag normally, and
then using the DHTML effects toolbar to display the
alternate button face when a MouseOver event occurs.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
S

Steve Easton

Right click the hover button, select Hover button properties,
Enter the page or site you want opened ie ( http://www.google.com )
and then click Browse, click Target frame, select New window and click OK.
Click ok to close the properties tab.
 
M

Mike Hemphill

Hey steve this does work but I'm not able to customize my window when
opening
any suggestions...

----- Original Message -----
From: "Steve Easton" <[email protected]>
Newsgroups: microsoft.public.frontpage.client
Sent: Monday, August 11, 2003 5:53 PM
Subject: Re: Hover Button Question for opening a new window?
 
S

Stefan B Rusynko

You need JavaScript and JAVA (Hoovers) does not support JavaScript




| Hey steve this does work but I'm not able to customize my window when
| opening
| any suggestions...
|
| ----- Original Message -----
| From: "Steve Easton" <[email protected]>
| Newsgroups: microsoft.public.frontpage.client
| Sent: Monday, August 11, 2003 5:53 PM
| Subject: Re: Hover Button Question for opening a new window?
|
|
| > Right click the hover button, select Hover button properties,
| > Enter the page or site you want opened ie ( http://www.google.com )
| > and then click Browse, click Target frame, select New window and click OK.
| > Click ok to close the properties tab.
| >
| > --
| > using 2k PRO but....95isalive
| > This site is best viewed............
| > .......................with a computer
| >
| > | > > I'm using a hover button and would like on click to open a new window.
| > I've
| > > used the...
| > >
| > > <a href="#" onClick="MyWindow=window.open
| > >
| > > command before but how can i implement it in to a java applet like the
| > hover
| > > button
| > >
| > > For instance:
| > >
| > > <td colspan="2" height="19" width="236">
| > > <applet code="fphover.class" codebase="./" width="236" height="26">
| > > <param name="color" value="#000080">
| > > <param name="hovercolor" value="#0000FF">
| > > <param name="textcolor" value="#FFFFFF">
| > > <param name="effect" value="glow">
| > > <param name="image" valuetype="ref" value="images/highwinbtn1.gif">
| > > <param name="hoverimage" valuetype="ref"
| value="images/highwinbtn2.gif">
| > > <param name="hoversound" valuetype="ref" value="empty.au">
| > > <param name="text" value>
| > > </applet>
| > > </td>
| > >
| > > If possible I'd like to open a new window when clicking my hover button.
| > >
| > > Hope this makes since any help would be greatly appreciated
| > >
| > > Thanks Mike
| > >
| > >
| >
| >
|
| | > Right click the hover button, select Hover button properties,
| > Enter the page or site you want opened ie ( http://www.google.com )
| > and then click Browse, click Target frame, select New window and click OK.
| > Click ok to close the properties tab.
| >
| > --
|
|
 

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