Coder1
04-13-2006, 04:35 PM
If you use a plugin which creates a template/module etc. that's located in a certain position on the page, you should edit that template to make sure it contains a unique "id" in one of the main elements.
For example, say the template looks like this:
<table class="myTable">
<tr>
<td>This is a whiz-bang template plugin.</td>
</tr>
</table>
And it's designed to be on a footer, or at the bottom of your vbAdbanced CMPS page, etc. then you should add a unique ID:
<table id="myUniqueID" class="myTable">
<tr>
<td>This is a whiz-bang template plugin.</td>
</tr>
</table>
Why? So you can link right to it!
For example: http://www.tgreer.com/cmps_index.php#TipJar will jump right to the Donations module, because I added the id "TipJar" to that module's template's table. Here's another example: http://www.tgreer.com/printforum/forumdisplay.php?f=18#invite - that will jump to the bottom of the page because of the "invite" table.
Note: this won't work on showthread, because the system already adds an anchor to jump to the last post in the thread.
Make sense? Simply code your link to the page, adding a pound-sign and the id: #myUniqueID. People who follow the link will be taken directly to that element on the page.
For example, say the template looks like this:
<table class="myTable">
<tr>
<td>This is a whiz-bang template plugin.</td>
</tr>
</table>
And it's designed to be on a footer, or at the bottom of your vbAdbanced CMPS page, etc. then you should add a unique ID:
<table id="myUniqueID" class="myTable">
<tr>
<td>This is a whiz-bang template plugin.</td>
</tr>
</table>
Why? So you can link right to it!
For example: http://www.tgreer.com/cmps_index.php#TipJar will jump right to the Donations module, because I added the id "TipJar" to that module's template's table. Here's another example: http://www.tgreer.com/printforum/forumdisplay.php?f=18#invite - that will jump to the bottom of the page because of the "invite" table.
Note: this won't work on showthread, because the system already adds an anchor to jump to the last post in the thread.
Make sense? Simply code your link to the page, adding a pound-sign and the id: #myUniqueID. People who follow the link will be taken directly to that element on the page.

