Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A HREF command


Guest

Recommended Posts

i am using the A HREF command to produce links, which is working.

 

but, currently the new page opens in the same window. what i would like it to do is open it in a completly new window. so the current window will still be available.

 

this is what i have:

 

<A HREF="http://www.deviltronics.com/"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

whatt do i need to modify to achieve opening in a new window?

Link to comment
Share on other sites

i am using the A HREF command to produce links, which is working.

 

but, currently the new page opens in the same window. what i would like it to do is open it in a completly new window. so the current window will still be available.

 

this is what i have:

 

<A HREF="http://www.deviltronics.com/"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

whatt do i need to modify to achieve opening in a new window?

 

target="_blank"

 

see http://www.htmlcodetutorial.com/linking/_A_TARGET.html

Light, in the absence of eyes, illuminates nothing.

Link to comment
Share on other sites

Add target="_blank" into the a href tag

 

like this:

 

<A HREF="http://www.deviltronics.com/" target="_blank"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

Edit: Beer monster beat me to the punch :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...