Logged Out
Create an Account
Login:
Password:

Forgot your password?
<!--Menu:StartStandAlone-->

View Version History
The Standalone section of a menu is for the sections like Login Box, Raid Progression, Currently Recruiting, Ventrilo Status, and the like, including custom HTML. Instead of being a list of links, like the majority of the menus, the Stand alone section is simply a block set aside for a bunch of HTML to be inserted (in a way, it's like the <!--System:Content--> command).

To use the Stand alone section (and it is imperative that you do), you'll need to use three commands

<!--Menu:StartStandAlone-->
	<!--Menu:StandAloneContent-->
<!--Menu:EndStandAlone-->


Like the <!--Menu:StartItemList--> and <!--Menu:EndItemList--> commands, the <!--Menu:StartStandAlone--> and <!--Menu:EndStandAlone> functions will only display their contents if there actually is standalone content visible.

If needed, you can place formatting around the <!--Menu:StandAloneContent--> command, like the following.


<!--Menu:StartStandAlone-->
	<div class=standalone>
		<!--Menu:StandAloneContent-->
	</div>
<!--Menu:EndStandAlone-->


In that example, the <div></div> will only show if there is actually standalone content.

For example, lets say we're showing the Ventrilo Status menu, we get the following using the above example.

<div class=standalone>
	<div class=onlinenotification style="font-size:7pt;text-align:center">
		Members who've loaded a page within the past 10 minutes
	</div>
	<span class=onlinemember style='padding-left:10px'>
		<a href='viewprofile.php?loginid=206'>Chops</a>
		<span style="font-size:7pt">(8 mins)</span>
	</span><br />
	<span class=onlinemember style='padding-left:10px'>
		<a href='viewprofile.php?loginid=329'>Eliaz</a>
		<span style="font-size:7pt">(9 mins)</span>
	</span><br />
</div>


Incoming Guide Links
  • <!--Menu:StartItemList-->
  • Menu File
  • Outgoing Guide Links
  • <!--System:Content-->


  • Last Modified: 4/2/2008 7:55pm
    Contributors: Chops
    Easy Link
    BBCode Link: [guide=MenuStandAlone][/guide]
    URL: http://dkpsystem.com/guide/MenuStandAlone