Below is the Xpounded EZ GUI Builder that uses the table diagram to HTML script.
With it you can quickly design a HTML GUI in any Text Editor.
Once you have a design you like, click 'Make GUI' to
automatically create the HTML for the GUI.
Diagraming instructions:
(See NPTables for full diaramming instructions, or read the rules in the GUIBuilder source).
Content Building Instructions:
Content is included through the use of placeholders. A placeholder is just a name in bracketts.
An example is [MyContent]. You use placeholder when you diaram a new GUI. You tell the system
what content you want the placeholder to represent by making a content file.
Rules for the
content file are:
A Content File must start with a Content Placeholder (a name in bracketts)
Any text that is beneath a placeholder but above all other placeholders in the content file
is the actual content of that placeholder.
The system will replace all placeholders with their actual content when you click the
'Make GUI' button.
Blank lines are allowed in a content file.
The GUI Builder Interface
Diagram Buttons:
Browse: Lets you browse to a saved diagram file and load it - this option requires MSComDlg
Make HTML: Creates HTML for the diagram being viewed. Leaves placeholders untouched.
Last Image: Loads the last Diagram that was parsed using the 'Make HTML' button.
Make GUI: Creates HTML from a diagram, replacing placeholders with the actual content.
View HTML: Opens a new window for you to view the currently viewed contents
Reset: Re-Loads the origional Diagram File
Content: Switches the view, allowing you to view a Content File
Content Buttons:
Browse: Lets you browse to a saved content file and load it - this option requires MSComDlg
Reset: Re-Loads the origional Content File
Diagram: Switches the view, allowing you to view a Diagram File
To Use: Design a table diagram in any Text Editor (like Notepad, or RHSCoder), browse to it and open it into the textarea
(This option requires the MSComDlg CommonDialog Control).
Click 'Make GUI' and the HTML will be avilable for copy.
Click 'View HTML' and you can see the results of your design.
Things you can do...
Un-comment the browse section to browse to your table defs.
Save the script into a script file and include file drag and drop functionality.
Make your own automation to replace the content placeholders with actual content from a seperate file.
(Target System: XP/2003/2000, IE6, WSH 5.6, with Common Dialog Control)
Save this file as npGUIBuilder.html     --Mention Us!--
- Copyright 2003-2006 Xpounded -
All JS code developed by Xpounded is developed in RHSCoder.
All VBS code developed by Xpounded is developed in VBS QuickDev IDE, or RHSCoder. Feedback