N
Nom DePlume
Hi,
I'm new to scripting so bear with me...
I copied this script directly from a MS website. It's supposed to open
the Add to Favorites window when you click on the text. Trouble is, I
keep getting an "Unterminated string constant" error, and I don't quite
know how to fix it. Also, nothing is showing on the page, yet I still
get the error. Could I get a little help please? Thanks. Here's the
code:
<SCRIPT>
<!--
if ((navigator.appVersion.indexOf("MSIE") > 0)
&& (parseInt(navigator.appVersion) >= 4)) {
document.write("<U><SPAN STYLE='color:blue;cursor:hand;'
onclick='window.external.
AddFavorite(location.href, document.title);'>
Add this page to your favorites</SPAN></U>");
}
//-->
</SCRIPT>
I'm new to scripting so bear with me...
I copied this script directly from a MS website. It's supposed to open
the Add to Favorites window when you click on the text. Trouble is, I
keep getting an "Unterminated string constant" error, and I don't quite
know how to fix it. Also, nothing is showing on the page, yet I still
get the error. Could I get a little help please? Thanks. Here's the
code:
<SCRIPT>
<!--
if ((navigator.appVersion.indexOf("MSIE") > 0)
&& (parseInt(navigator.appVersion) >= 4)) {
document.write("<U><SPAN STYLE='color:blue;cursor:hand;'
onclick='window.external.
AddFavorite(location.href, document.title);'>
Add this page to your favorites</SPAN></U>");
}
//-->
</SCRIPT>