Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using javascript

Status
Not open for further replies.

Fazzman

Technical User
Apr 9, 2001
10
AU
How do I insert a javascript code to mask the window status of an existing banner/logo in Frontpage? I have been told that the best way to mask or hide links is to use a simple javascript code. I have written the code but I can not seem to get it to work/insert it properly, cutting and pasting in the HTML view does funny things. Review of my problem: I have an affiliate site. I have banners located on several pages of my website. On a mouse over the banner diplays my affiliate id/link. I wish to display something else (ie. just the website address without my link). I know that javascript is the answer but I do not have much experience with it and was wondering how to use it in FP. Going to Insert then Advanced then Java applet does not work!

Many thanks for your previous help!!
 
Code:
<A href=&quot;[URL unfurl="true"]http://www.whatever.com&quot;[/URL] onMouseover=&quot;window.status=('Type whatever for status here'); return true;&quot; onMouseout=&quot;window.status=(''); return true;&quot;>Link</A>
The clickable part can be and image as well DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
As an aside, cutting and pasting into FP doesn't always work. The best option is to cut and paste into notepad, and then cut and paste from notepad into FP.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top