HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Open link into new window

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#75627 (In Topic #15651)
Avatar

Well-settled

Silly question perhaps…but,
If I provide a link to a page on my site what would I need to do to the code below so that it opens in a new window or tab?

Code

[page=":quiz:type=do:id=6"]HERE[/page]

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#75630
Avatar

Only the [url] tag can open up links in a new window, so you'll have to direct-link it. For example:

Code

[url="Link title" target="_blank"]http://google.co.uk[/url]


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#75632
Avatar

Well-settled

Thanx for the reply Robbie.
I tried that but whenever I referenced a link to my own site it would not open the link.
I know why now though, it's because I never included…… target="_blank"
My Bad
Thanx for the help  :$

Making games is fun…having people play them is the reward!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: