Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
[TIP] Leave Comments
Sephiroth32
Join Date: Sep 2002
Posts: 200

by Sephiroth32 Sephiroth32 is offline 15 Oct 2002

This isnt a very in depth thing but some people never seem to think about thr wonderul <!-- --> tag.

You should always leave comments in your code when creating complex tables and templets. lets take the welcome pannel for instance.
This mod has one big table then one row, then a 3 cells with tables rows and cells inside them and some with tables rows and cells inside the tables inside the cell with tables rows and cells.
confusing eh?

well if you leave comments you can look for them and instantly know exactly where you are.
so we can turn something like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(left out most of the pannle caouse i was pressed for time)

into this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

see wasnt that less confusing?

anyway thats my tip. enjoy
Views: 2125
Reply With Quote
Comments
  #2  
Old 15 Oct 2002, 06:28
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Real name: ITS A SECRET
Nice tip, it can be useful for finding code for a specific part of your design.
Reply With Quote
  #3  
Old 02 Nov 2002, 00:46
Phate
Guest
 
yup yup
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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

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


New To Site? Need Help?

All times are GMT. The time now is 01:09.

Layout Options | Width: Wide Color: