Advertisement:

Author Topic: Insert Hyperlink vs html link  (Read 9369 times)

Offline pmakulski

  • Semi-Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Prudential Alumni Website
Insert Hyperlink vs html link
« on: January 29, 2006, 05:33:17 PM »
Using 1.06

The Insert hyperlink icon inserts a pair of square bracket tags.
Code: [Select]
[url][/url]This makes a link that shows only the link, and it opens in a new window.

If I code the html myself
Code: [Select]
<a href="mylink">Click me</a> I get a hyperlink that doesn't show the url.  Which is prettier, in most cases, and usually what I want to do.  But it doesn't open in a new window.

But sometimes I want the link to open in a new window. To do this, I would usually type:
Code: [Select]
<a href="mylink" target="New">Click me</a>But SMF doesn't want to honour this target tag. The link morphs into
Code: [Select]
mylink[/url]%22%20target=%22new
How can I get SMF to honour the complete html link.
Or, alternatively, is there a way to hide the URL under a display text?

Thanks

Offline Harro

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,122
  • Gender: Male
  • I'm watching you
Re: Insert Hyperlink vs html link
« Reply #1 on: January 29, 2006, 06:28:20 PM »
To display a text, use this:
Code: [Select]
[url=http://theurl.com]The text[/url]And it'll open in a new window :)

Offline pmakulski

  • Semi-Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Prudential Alumni Website
Ah ha!
« Reply #2 on: January 29, 2006, 06:42:47 PM »
Yup, that worked.  Thanks.
(How to use the square url tag wasn't obvious, at least, not to me.)
You saved the day.  :)

Offline Harro

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,122
  • Gender: Male
  • I'm watching you
Re: Insert Hyperlink vs html link
« Reply #3 on: January 29, 2006, 06:51:13 PM »
You're welcome :)