GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Feb-2003, 16:34
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough

[Discussion] New HTML BBCode.


from: New HTML BBCode.

That is well swanky I'm impressed: Lets have a go....

HTML Code:
<p> <b>Removed as per jrobbio's request.</b> </p>

I think that example was too massive so I changed it.
Last edited by jrobbio : 17-Feb-2003 at 16:45.
  #2  
Old 18-Feb-2003, 00:44
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

HTML Syntax Highlighter BBCode changes


Thank you Rob, your attempt to test out the new [HTML] bbcode helped me polish it up a bit more: some subtle changes...

Now html / xhtml attribute values are highlighted even if they are not enclosed in quotes and contain a space. e.g.
HTML Code:
<body bgcolor='#ffffff' text="#000000" link = #0000cc vlink = "#551a8b" alink = '#ff0000' onLoad=sf()>

'Number' values in html / xhtml attributes are highlighted too. e.g.
HTML Code:
<p> <font size=-1>Smaller</font><br /> <font size=1>Normal</font><br /> <font size=+1>Larger</font> </p>
  #3  
Old 18-Feb-2003, 00:59
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
[removed] jrobbio forgetting copywrite issues!!!
JDS will you remove the other one too its been 60 minutes so now I cannot edit it.
Last edited by jrobbio : 18-Feb-2003 at 01:36.
  #4  
Old 19-Feb-2003, 09:47
conkermaniac conkermaniac is offline
Member
 
Join Date: Dec 2001
Location: China
Posts: 174
conkermaniac is on a distinguished road
Hi,

This is a great feature! I'm not sure I like the color choice very much (for some reason, I find the colors very distracting). Perhaps we should just adapt the colors used by standard HTML editors.

Oh, and I just want to test out something...

HTML Code:
<html> <head> <title>My Home Page</title> </head> <body> <table width="300" border="1" cellspacing="0" bordercolor="#000066"> <tr><td> <font size="5" color="#000000"><b>This is just a test!</b></font> </td></tr> </table>

PHP Code:

<html>
<head>
<title>My Home Page</title>
</head>

<body>
<table width="300" border="1" cellspacing="0" bordercolor="#000066">
<tr><td>
<font size="5" color="#000000"><b>This is just a test!</b></font>
</td></tr>
</table> 


__________________
You're not supposed to be looking at this.
  #5  
Old 20-Feb-2003, 02:35
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

[html] bbcode colour theme


What colours are the other editors using? I lifted the colour theme off Dreamweaver, so I didn't realise that there were other 'colour themes' to consider.

By the way, how useful is it if we were to do a few more? e.g. bbcode tags for JavaScript, CSS and / or VBScript?
  #6  
Old 20-Feb-2003, 07:30
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
I haven't got a clue about javascript in the first place so I suppose it would be helpful to learn that way. If you have got them all, then you can say you've got them all
  #7  
Old 13-Oct-2004, 20:20
Eric Bland Eric Bland is offline
Junior Member
 
Join Date: Aug 2004
Posts: 44
Eric Bland is an unknown quantity at this point

Code


What are some of the applications of the above new Mod?
  #8  
Old 13-Oct-2004, 21:17
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,234
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by conkermaniac
Hi,

This is a great feature! I'm not sure I like the color choice very much (for some reason, I find the colors very distracting). Perhaps we should just adapt the colors used by standard HTML editors.
As J alluded to -- "Perhaps we should just adapt the colors ..." (and what would they be?)
"... used by standard HTML editors." (and which one do you consider standard?)
__________________

Cow: You're a lawyer too?
Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase!
  #9  
Old 14-Oct-2004, 14:20
JasonMichael's Avatar
JasonMichael JasonMichael is offline
Awaiting Email Confirmation
 
Join Date: Jul 2004
Posts: 135
JasonMichael has a spectacular aura about
Cool

The editor that I use for PHP programming is HTML-Kit. The colors are pretty much the standard blue for all HTML code, green for comments and quoted strings, and dark blue for PHP commands, CSS, and Javascript. The CSS values actually show up as red, which is kind of nice. Oddly, some PHP commands show up as purple (count, is_numeric, trim, substr) - it seems to apply purple PHP string commands.

In reponse to 'code', asking what the application was for, the best way I can describe the application is that the different colors help a designer/programmer differentiate between various code and non-code elements when posting code on these forums.

Observe the following code example:

PHP Code:

$beer_count=100;
for ($t=0;$t<100;$t++) {
     $beer_count=100-$t;
     $string=$beer_count." bottles of beer on the wall.... ".$beer_count;
     $string.=" bottles of beer.... take one down, pass it around, ";
     $string.=($beer_count -1)." bottles of beer on the wall.<HR>";
     echo $string;
} 



Notice how the colors are different among various elements - the strings, the commands, the variables. This is a GREAT feature to have here.
 
 

Recent GIDBlogFirst week of IA training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 00:33.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.