Hoover Button - using Javascript to open two frames?


R

Rob Gordon

Hi,

I have a frame based portal at www.caltrade.com. I want to use hoover
buttons to replace some text links, but these use Javascript to open
two frames on a single click. For example, this code opens up a
document called "opportunities" in my main center frame (called
"main") and a second specialized menu in my menu frame (called
"contents) :

<a
target="contents"onClick="top.main.location='http://caltrade.com/opportunities.htm';"
href="http://caltrade.com/menutrade.htm"> Trade Leads</a></font>
</font>

How do I change the hoover code below so that the hoover button can
open two frames?

<font style="font-size: 11pt; font-weight:700" face="Arial Narrow"
color="#000080">
<applet code="fphover.class" codebase="../" width="150" height="24">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="target" value="main">
<param name="textcolor" value="#FFFF00">
<param name="effect" value="glow">
<param name="font" value="Dialog">
<param name="fontstyle" value="bold">
<param name="fontsize" value="14">
<param name="sound" valuetype="ref" value="../click.au">
<param name="hoversound" valuetype="ref" value="../beep.au">
<param name="text" value="TRADE LEADS">
<param name="url" valuetype="ref" value="opportunities.htm">
</applet></font></p>


Also, I have my index file for this menu in a directory called
"mainmenu" - does that make any difference? Is there a way to use
absolute references? Any help would be appreciated.

Thanks

RG
 
Ad

Advertisements


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