|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
dsmithner Smarty n00b
Joined: 03 Mar 2009 Posts: 1
|
Posted: Tue Mar 03, 2009 12:18 am Post subject: button _blank help |
|
|
Hi all,
I need help getting a button which links to another site, to open in a new window.
<td class="norm" align="left"><input type="button" class="btn" value="Continue" onclick="location.href='URL'" /></td>
Any help would be greatly appreciated!! |
|
Back to top |
|
jothirajan Smarty Pro
Joined: 06 Feb 2009 Posts: 114 Location: India
|
Posted: Tue Mar 03, 2009 3:36 am Post subject: Re: button _blank help |
|
|
dsmithner wrote: | Hi all,
I need help getting a button which links to another site, to open in a new window.
<td class="norm" align="left"><input type="button" class="btn" value="Continue" onclick="location.href='URL'" /></td>
Any help would be greatly appreciated!! |
<td class="norm" align="left">
<input type="button" class="btn" value="Continue" onclick="location.href='URL'" />
</td>
Happy coding
Code: |
<td class="norm" align="left">
<a href="http://www.google.com" target="_blank">
<input type="button" class="btn" value="Continue"/>
</a>
</td>
|
Thanks
JO |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|