PDA

View Full Version : What is the code for. . .



Lysine
08-09-2005, 09:36 PM
a link so my forum will pop-up in a new window and not in an I-Frame?

Steven.
08-09-2005, 10:45 PM
<a target=blank href=http://www.thelinkhere.co.uk>Text here

Enjoy :)

splintercell!
09-09-2005, 06:36 AM
Yup well its really this
<a target="blank" href="http://www.thelinkhere.co.uk">Forum</a> ;)

:-Mystical.Dave-
09-09-2005, 12:51 PM
Yup well its really this
<a target="blank" href="http://www.thelinkhere.co.uk">Forum</a> ;)
yes splinter is right the main component to make it open in a new window is what i bolded above.

-JT-
09-09-2005, 03:11 PM
yes splinter is right the main component to make it open in a new window is what i bolded above.


...it's not a component, its a function

Mentor
09-09-2005, 06:37 PM
well actal, blank is targeting an ifriam wich it cannot find, so the broiwser defults to a new window, athogh this isnt the case in all browsers, the actal code to call a blank page, or connect to an eliment, requires one of 4 functions each prosed by a _, so the correct w3 standard tagrget for a new page would be
<a target="_blank" href="http://www.thelinkhere.co.uk">Forum</a>

splintercell!
09-09-2005, 06:42 PM
I tried just using something like target="new" a while ago because it was quicker to type :p and in firefox it wouldnt open a new window. so _blank seems to be the standard way.

Mentor
09-09-2005, 06:48 PM
thats odd "/ firefox usealy defults to a new window with an untarged fraim for me "/ must be set diffently in your config.. or your useing the enhaced tabs plugin, wich cause a number of problems simlar to that one, aka u cant open a href opertaed popupbox, annoying for simplys on ipb for exsample.

Want to hide these adverts? Register an account for free!