stonner
10-12-2007, 06:37 AM
Hi,
I have a simple question, i think.
The following code opens the link in a new window:
<a class="boxl" href="#" onClick="window.open('http://293039.spreadshirt.net','shopfenster','scrollbars= yes,width=650,height=750')"><img src="themes/german/privimages/em08.gif" width="190" height="190" border="0" alt="Hol dir dein EM-Trikot!" title="4665145-5259014" /></a>
But I want it to open it in the same window. How would I have to change the code?
I know I could use <a href=...> but, is it possible with this code?
thank you
I have a simple question, i think.
The following code opens the link in a new window:
<a class="boxl" href="#" onClick="window.open('http://293039.spreadshirt.net','shopfenster','scrollbars= yes,width=650,height=750')"><img src="themes/german/privimages/em08.gif" width="190" height="190" border="0" alt="Hol dir dein EM-Trikot!" title="4665145-5259014" /></a>
But I want it to open it in the same window. How would I have to change the code?
I know I could use <a href=...> but, is it possible with this code?
thank you