Need advice on an issue
Getting a message saying unterminated string constant
This is the bit of code its referring to, specifically it says starting at the location.href bit of the code according to the line number and char number within the error message
[CODE]<a rel=”nofollow” style=”text-decoration:none;” href=”http://www.favoriten.de/” onclick=”window.open(‘http://www.favoriten.de/url-hinzufuegen.html?bm_url=’+encodeURIComponent(location.href)+’&bm_title=’+encodeURIComponent(document.title));return false;’);return false;” title=”Bookmark to: Favoriten” onmouseout=”MM_swapImgRestore()” onmouseover=”MM_swapImage(‘favoriten’,”,’/includes/sb/images/favoriten_h.png’,1)”><img src=”/includes/sb/images/favoriten.png” alt=”Bookmark to: Favoriten” name=”favoriten” id=”favoriten” width=”20″ height=”20″ border=”0″></a>[/CODE]
Just to add, Right before it I also have this line of code, which is basically the same thing with a different website and image link, and it does not get the error message??
[code]<a rel=”nofollow” style=”text-decoration:none;” href=”http://www.linkarena.com/” onclick=”window.open(‘http://linkarena.com/bookmarks/addlink/?url=’+encodeURIComponent(location.href)+’&title=’+encodeURIComponent(document.title)+’&desc=&tags=’);return false;” title=”Bookmark to: Linkarena” onmouseout=”MM_swapImgRestore()” onmouseover=”MM_swapImage(‘linkarena’,”,’/includes/sb/images/linkarena_h.png’,1)”><img src=”/includes/sb/images/linkarena.png” alt=”Bookmark to: Linkarena” name=”linkarena” id=”linkarena” width=”20″ height=”20″ border=”0″></a>