Adding A "Window" For Your Widget!
Page 1 of 1 • Share •
Re: Adding A "Window" For Your Widget!
Adding A "Window" For Your Widget!
You can add what I call a "Window" for something on a HTML page, or in your templates. This is bsically what the form is made of. If you are going to add things to your templates, you need to make it fit in, and this is how.
The First Step & Only Step
Put this code where you want the widget window to display.
- Code:
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
</tr>
</table>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th class="thHead" valign="middle" height="25">{MESSAGE_TITLE}</th>
</tr>
<tr>
<td class="row1" align="center">
<form action="" method="post"><span class="gen"><br />
{MESSAGE_TEXT}<br />
<br />
</td>
</tr>
</table>
<br clear="all" />
Replace the text {MESSAGE_TITLE} with the title of the window. Then replace {MESSAGE_TEXT} with the text or HTML code of the widget.
There you go. Finished! You now have your widget!
- Spoiler:
This code came right out of the templates. I would save this code or add this page to your bookmarks.
Written by Cman
Permissions of this forum:
You cannot reply to topics in this forum
Home




by Cman on July 25th 2009, 5:03 pm






» Most Active Forum
» Server Change/Move
» How do you limit the characters in posts?
» Convert video for your Archos player
» How do I put threads on my Portal?
» Gray (somewhat metallic) Ranks
» bots?
» It streaches the page