Witam,

Jak dodać do poniższego kodu funkcję OnClick?
Dokładniej taką:

<script language="javascript">
function openWindow() {
window.open('player.html', 'Music', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=no,fullscreen=no,channelmode=no,width=175,height=100,top=500,left=1')
}
</script>


Do ...

<script type="text/javascript">
freshsettings = new Object();
freshsettings.introbox1_link = "www.przykład.xxx"; // W to miejsce dokładnie - by po kliknięciu na link otwarła się strona www.przykład.xxx + popup //
freshsettings.introbox2_link = "#";
freshsettings.introbox3_link = "#";
freshsettings.landing_check = "";
freshsettings.landing_link = "#";
freshsettings.get_post = "http://domena.pl";

freshsettings.prf_blognav = "";
freshsettings.prf_blogmedium = "";
freshsettings.prf_galleryshine = "";
freshsettings.prf_gallerybump = "";
freshsettings.template_url = "http://domena.pl";
freshsettings.blog_url = "http://domena.pl";
var actual_location = window.location+"";

</script>


Ktoś dopomoże ?