rich1234
02-01-2008, 11:22 AM
Hi, Could anyone tell me if I have altered this code correctly. It works fine, although when I download a toolbar for windows vista, it crashes when I click a bookmark link. Having stripped everything away, I concluded that it was to do with this bit of code.
I added asp to this
<a href="bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this); ">
to get this
<a href="bookmark.php" onclick="addthis_url = 'http://www.mysite.com/artgallery.asp?AuthorTwo=<%=rsCard("authorTwo")%>'; addthis_title = '<%=rsCard("author")%>'; return addthis_click(this);">
As I said it works but as I dont know javascript not sure if I have done it right.
Any pointer would be helpful.
Thanks
Richard
I added asp to this
<a href="bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this); ">
to get this
<a href="bookmark.php" onclick="addthis_url = 'http://www.mysite.com/artgallery.asp?AuthorTwo=<%=rsCard("authorTwo")%>'; addthis_title = '<%=rsCard("author")%>'; return addthis_click(this);">
As I said it works but as I dont know javascript not sure if I have done it right.
Any pointer would be helpful.
Thanks
Richard