Link to home
Start Free TrialLog in
Avatar of flwebster
flwebster

asked on

Variables in "send to friend' javascript

Hi,
I'm trying  to make the font on this script arial, size 10 point, and the script font bright yellow.  Nothign I do seems to work.  Where to I make the changes?  Thanks

<div align="center"> <font face="Verdana"
color="#0000FF"> <SCRIPT LANGUAGE="<B style="color:black;background-color:#ffff66">JavaScript</B>"> <!-- Begin document.write('<b>Send
<A CLASS="contact" HREF=\"mailto:\?body\=Take a look at this page I
found, ' + document.title + '. You can see this page at: ' + window.location
+ '\" onMouseOver="window.status=\'Send your friends e-mail about this
page\'; return true" TITLE="Send your friends e-mail about this page">this
page<\/A> to a friend</b>'); // End --> </script> </font> </div>

my table background is red and the font is arial 10, bold bright yellow.  (<font color="#ffff00" size="2">)

Thanks for your help!!!

SOLUTION
Avatar of GwynforWeb
GwynforWeb
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
is this what you want

<font color="#0000FF" size="2" face="Verdana">
<script LANGUAGE="JavaScript">
<!-- Begin
document.write('<b>Send <A  style=\'color:yellow\' HREF=\"mailto:\?body\=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location+ '\" onMouseOver="window.status=\'Send your friends e-mail about thispage\'; return true" TITLE=" Send your friends e-mail about this page">thispage<\/A> to a friend</b>');
 // End -->
</script>
</font>
some variations, they might help

all yellow

<font color="#0000FF" size="2" face="Verdana">
Some other text<p>
<font color="#FFFF00" size="2" face="Verdana">
<script LANGUAGE="JavaScript">
<!-- Begin
  document.write('<b>Send <A  style=\'color:yellow\' HREF=\"mailto:\?body\=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location+ '\" onMouseOver="window.status=\'Send your friends e-mail about thispage\'; return true" TITLE=" Send your friends e-mail about this page">thispage<\/A> to a friend</b>');
 // End -->
</script>
</font>
</font>

all yellow but link blue

<font color="#0000FF" size="2" face="Verdana">
<p>Some other text</p>
<p><font color="#FFFF00" size="2" face="Verdana"><script LANGUAGE="JavaScript">
<!-- Begin
  document.write('<b>Send <A  style=\'color:blue\' HREF=\"mailto:\?body\=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location+ '\" onMouseOver="window.status=\'Send your friends e-mail about thispage\'; return true" TITLE=" Send your friends e-mail about this page">thispage<\/A> to a friend</b>');
 // End -->
</script>
</font>
</font>