Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Recommend it - open small window

Quote Reply
Recommend it - open small window
I want to launch small pop-up window when user clicks on recommend this link; however, the id of the link is not being passed...
I am using the following javascript to launch the window...
the url comes like: http: ...../recommend_it.cgi?ID=34 instead of ID=12
what can I do here ... thanks
Mark

Code:
<script language='javascript'>
function recommend()
{
window.open('<%db_cgi_url%>/recommend_it.cgi?ID=<%ID%>','Recommend','scrollbars=no, resizable=no, status=no, menubar=no, location=no, directories=no, width=500, height=500');
}
</script>and this code I put in link.html:<A HREF=javascript:recommend()>Send this Song</A>
Subject Author Views Date
Thread Recommend it - open small window Mark2 1718 Feb 27, 2006, 7:27 AM
Thread Re: [Mark2] Recommend it - open small window
afinlr 1640 Feb 27, 2006, 12:25 PM
Post Re: [afinlr] Recommend it - open small window
Mark2 1637 Feb 27, 2006, 1:12 PM