Jump to content



Photo
- - - - -

A HREF command


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1   blagger

blagger
  • Members
  • 392 posts

Posted 08 September 2005 - 21:30

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.deviltron..."><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?

#2   Beer Monster

Beer Monster
  • Members
  • 274 posts

Posted 08 September 2005 - 21:48

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.deviltron..."><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?

<{POST_SNAPBACK}>


target="_blank"

see http://www.htmlcodet.../_A_TARGET.html
Light, in the absence of eyes, illuminates nothing.

#3   dave111

dave111
  • Members
  • 638 posts

Posted 08 September 2005 - 21:49

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 /biggrin.gif' class='bbc_emoticon' alt=':D' />

Edited by dave111, 08 September 2005 - 21:51.


#4   MoisesZaragoza

MoisesZaragoza
  • Members
  • 897 posts

Posted 08 September 2005 - 21:51

Your link will look like

<A HREF="page_That_you_want_To_open.php" target="_blank"> Link Name </a>

That's all you need

Edited by MoisesZaragoza, 08 September 2005 - 21:52.

at the end of the day the code will be good

#5   blagger

blagger
  • Members
  • 392 posts

Posted 08 September 2005 - 21:53

thanks all!!