you must write it in a onlick event,because the "a href" will open it link in the current windows, replace the current window.location.href ,so the window show "[Object]",if you want to do that , you must write it in onClick event, example<script language = 'javascript'> function pop() { window.open('index.htm','','width=450,height=500'); } </script>at the link, you can write that<a href=# onClick="pop()">....</a>that, you will be okey!!!!!
you must write it in onClick event, example<script language = 'javascript'>
function pop()
{
window.open('index.htm','','width=450,height=500');
}
</script>at the link, you can write that<a href=# onClick="pop()">....</a>that, you will be okey!!!!!
楼上又是一个刚过英语4-6级的吧。