If you want to add a "
Add To Favourates" block to your vBindex site. Just replace the code in one of your custom blocks with this. I just converted this over from CMS to vBindex.
I've also converted the
Random Images Block also over to vBindex and added a text description with each image which is displayed. If anybody is interested in that also which can be viewed on my site. Give us a shout here!
PHP Code:
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
<td class="tcat" style="text-align: center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_customblock$box')"><img id="collapseimg_vbindex_customblock$box" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_vbindex_customblock.gif" alt="" border="0" /></a>
<strong>Bookmark Site</strong>
</td>
</tr>
</thead>
<tbody id="collapseobj_vbindex_customblock$box" style="$collapseobj_vbindex_customblock">
<tr>
<td class="alt1">
<div class="smallfont"><center>
<a href="#" onclick="if (window.sidebar) { window.sidebar.addPanel('$vboptions[hometitle]', '$vboptions[homeurl]',''); } else if( document.all ) { window.external.AddFavorite( '$vboptions[homeurl]', '$vboptions[hometitle]'); } else if( window.opera && window.print ) { return true; }">Add To Favourites</a>
</center></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<br />