Previous Thread
Next Thread
Print Thread
Rate Thread
#219074 06/16/2002 12:24 PM
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Ubb_instant_uvvcode.tmpl gives two instructions that are different, regarding colors:

code:

<td bgcolor="#666666">
<a href="javascript: x()" onclick="DoColor('#666666');">    </a>


creates a color with "#"

code:

<a href="javascript: x()" onclick="DoPrompt('color');">?</a>



creates a colornumber-instruction without #.

Both works, but the user should only see (and learn!) one of the possibilities so that he isn't confused. I would assume: add a # to the latter one.

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
The problem would be is if we added the # automatically then if they entered something like #454545 like the javascript instructions say then it would end up as ##454545.


UBB.threads Developer
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
In't it easy to filter the double # away and to add it if they forgot? - so that the proper markup code would be always the same and just one way... (they immediately see the result in the message input field, anyway)
Just thoughts...


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)