Adding A "Window" For Your Widget!

Post new topic   Reply to topic

View previous topic View next topic Go down

Re: Adding A "Window" For Your Widget!

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

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

Cman
Forumotion Member

Male
Posts: 574
Age: 14
Language: English
Location: Indianatlantic, Florida
Country:
Join date: 2009-05-29

http://www.justcorbin.com/

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum