logo

home   download   forum







The easiest way to use the plugin is to specify a tag and then let the plugin get the data and create all the html for the forum.

$('#container').forum({"tag" : "jquery.tagmalion.forum"});

The plugin will use the default inbuilt template to create the forum on the page. It is possible to change the template by specifying a template parameter:

$('#container').forum({ "tag" : "jquery.tagmalion.forum", "template" : "http://jsrepeater.devprog.com/forumtemplates/basic/basic.js"});

This will use the template found at the url in the templates parameter. Unfortunately there is only one template at the moment and that url is in fact the url of the default template

Another useful parameter is that of host. When a posting is made from your site this value is recorded. If that posting is displayed on another site then the url of your site will be displayed on that site (provided the template that site uses allows for it).

$('#container').forum({ "tag" : "jquery.tagmalion.forum", "host" : "http://mysite.com"});
This site is © Copyright devprog.com 2008, All Rights Reserved.
Web templates