Forum Moderators: open
end tag for element "A" which is not open
But when looking at the script, the a tag is open (IEstring)?
<script type='text/javascript'>
<!--
var IEstring = "<a href='javascript:window.external.addFavorite(location.href,document.title);' title='Add to Favorites'><img src='http://localhost/beta.#*$!xx.com/images/favorites.gif' width='13' height='11' alt='Add to My favorites' title='Add to My favorites'></a>" ;
var NSstring = "<img src='http://localhost/beta.xxxxx.com/images/favorites.gif' width='13' height='11' alt='Add to My favorites' title='Add to My favorites'> Type [Ctrl+D]";
var OPstring = "<img src='http://localhost/beta.xxxxx.com/images/favorites.gif' width='13' height='11' alt='Add to My favorites' title='Add to My favorites'> Type [Ctrl+T]";
var OTHstring = "<img src='http://localhost/beta.xxxxxx.com/images/favorites.gif' width='13' height='11' alt='Add to My favorites' title='Add to My favorites'> Bookmark me!"
var whichString = OTHstring ;
var agt = navigator.userAgent.toLowerCase();
var app = navigator.appName.toLowerCase();
var ieAgent = agt.indexOf('msie');
var nsAgent = app.indexOf('netscape');
var opAgent = app.indexOf('opera');
if (ieAgent!= -1) { whichString = IEstring; } else if (nsAgent!= -1){ whichString = NSstring; } else if (opAgent!= -1){whichString = OPstring;}
document.write(whichString)
//-->
</SCRIPT>
Thank you