Adding A "Window" For Your Widget!
Page 1 of 1 • Share •
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 basically 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

Cman- Forumotion Member
-

Posts: 584
Age: 15
Language: English
Points: 2265
Join date: 2009-05-29
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum




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





