Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Hyperlinks, BB code and Hyperlink icon

LookinAround
03-30-2009, 09:29 PM
I believe most UI's display hyperlinks with underscores. (And, in fact, the "automated" hyperlinks on this site are, in fact, underscored.) Could both the url BB code and the hyperlink icon insert the underscore as well? I think readers (and posters!) would find that helpful.

kimsland
03-30-2009, 11:20 PM
You are talking about making the default class_bbcode.php from this line:

return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";

And then modifying it to have this instead:

return "<a href=\"$rightlink\" target=\"_blank\"><span style=\"text-decoration:underline\">$text</span></a>";


Well the BBCode on this forum is totally standard. (ie default) Which makes it easier when update versions are released

Certainly sites using BBCode do not automatically have underlined links as standard
Obviously you can still underline your link ie: http://www.google.com this by adding [U] to the beginning and the same at the end, except with a preceding forward /

you can see all BBCodes available at TechSpot here: http://www.techspot.com/vb/misc.php?do=bbcode

Personally I don't like the underlines on links, but I would prefer an underline shown once my mouse moves over the link (of which it doesn't)

Here you can find a basic BBCode guide (http://www.phpbb.com/community/faq.php?mode=bbcode)

Note:
Not all BBCodes are implemented (or "Modded") into the currently used BBCode at TechSpot ie I've been asking for [spoiler] Mod for some time now

Ad
03-30-2009, 11:20 PM
  

Julio
03-31-2009, 04:21 AM
The BBcode talk goes beyond LookinAround suggestion, he just wants links to have an underline although we have gone without them on the main site and here on the forum for quite some time now and only use a blue color highlight.

Like many things, it's a matter of taste, but if you really want all links to have underlines that bad I'm sure there's at least one Firefox add-on that can permanently modify TechSpot's CSS (Cascading Style Sheet) to do that for you.

The only thing standing between you and that setting is to remove the "text-decoration: none;" property in the a:link, body_alink class right on top of our CSS.

kimsland
03-31-2009, 04:42 AM
Well I don't want it :D

LookinAround
03-31-2009, 02:22 PM
<snip>

Here you can find a basic BBCode guide (http://www.phpbb.com/community/faq.php?mode=bbcode)
<snip>

I had to remark on the irony of that one statement. It made me chuckle... :D

Aren't I the one who first pointed out BB code to you about a year ago? ;)

kimsland
03-31-2009, 09:29 PM
I'm not aware of any kimsland TS Special Forces, a year ago :p

Hmm. No comment :D
Lets just say I've learned a lot since then ;)

Oh and um, oh, ... Thanks :blush:

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.