Quick Links
SlideMenu Documentation for .NET
<%@ Register TagPrefix="osm" Namespace="OboutInc.SlideMenu" Assembly="obout_SlideMenu3_Pro_Net" %>
Methods
Methods
SETTINGS
AddParent
Adds a new Parent.
AddParent(id, [innerHtml], [url], [onClientClick], [urlTitle], [urlTarget])
id - Item ID.
innerHtml - Text or HTML to display inside the item.
Optional
url - Url to open when item is clicked.
Optional
onClientClick - javascript code to execute when item is clicked.
Optional
urlTitle - title for the URL.
Optional
urlTarget - target frame or window name for URL.
Optional
osm.AddParent("prod", "Our Products");
AddChild
Adds a new Child.
AddChild(id, [innerHtml], [url], [onClientClick], [urlTitle], [urlTarget])
id - Item ID.
innerHtml - Text or HTML to display inside the item.
Optional
url - Url to open when item is clicked.
Optional
onClientClick - javascript code to execute when item is clicked.
Optional
urlTitle - title for the URL.
Optional
urlTarget - target frame or window name for URL.
Optional
osm.AddChild("comp", "Computers", "http://www.company.com/products.aspx");
Properties - styles
Properties
SETTINGS
StyleFolder
Path to the folder with style to use.
Optional
osm.StyleFolder = "/slidemenu/styles/xp_blue";
Properties - behavior
Properties
SETTINGS
SelectedId
ID of Slide Menu Parent or Child which will be selected on load.
Optional
osm.SelectedId = "prod";
Speed
Speed with which Slide Menu expands and collapses. Default value: 10.
Optional
osm.Speed = 20;
KeepExpanded
When
true
, Slide Menu will not collapse an open Parent when another Parent is clicked. Default value: false.
Optional
osm.KeepExpanded = true;
UrlTarget
Name of the target frame for each URL in the menu.
Optional
osm.UrlTarget = "mainframe";
Height
Height for each children box. Default value is 100.
Optional
osm.Height = 150;
Note:
For dynamic height, set height = -1
Parent and Child properties
Properties
SETTINGS
Url
URL for Slide Menu Parent or Child.
Optional
<osm:Parent Id="p1" Url="http://www.obout.com">Obout inc</osm:Parent>
UrlTarget
URL target for this item's URL.
Optional
<osm:Parent Id="p1" Url="http://www.obout.com" UrlTarget="_blank">
Obout inc
</osm:Parent>
UrlTitle
Title for the URL.
Optional
<osm:Parent Id="p1" Url="http://www.obout.com" UrlTitle="our homepage">
Obout inc
</osm:Parent>
InnerHtml
Text or HTML to display inside Slide Menu Parent or Child.
Optional
<osm:Parent Id="p1" InnerHtml="Hello world" />
OnClientClick
JavaScript code to execute when user clicks on this Parent or Child.
Optional
<osm:Parent Id="p1" OnClientClick="alert('Hello world');">Obout inc</osm:Parent>
"
Thank you very very much, I have to say your support is the best.
"
Guido Helmers
obout.com
obout.com Home
News
Slide Menu 3
Example menus -
13
Pro version
Style 7
Style 5
Style 8
Style 9
Style 11
Style 6
Style 2
Gray
XP Blue
XP Blue - expand all
XP Silver
XP Media Center
Outlook style
More examples -
8
Cubes
Style 1
Style 3
Style 4
Style 12
Show style
Navy
Plain
Download
Site Map
About Slide Menu
Documentation
Pro
Common properties
Advanced properties
Tutorials (Show me)
Styles
Styles - Advanced
InnerHtml
Height / Width
Sliding Speed
SelectedId
KeepExpanded
From database
Using the correct path
Knowledge Base
FAQ
Knowledge Base
Products
AjaxPage
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
Editor
ImageZoom
Scheduler
Show
Spell Checker
Splitter
TabStrip
Treeview
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Autosuggest
Multilevel
State Selector
Interface Controls
Button
Checkbox
Combobox
Multilevel textbox
Radio Button
Textbox
Download
Download page
Install FAQ
Tech Support
Our clients
Testimonials
Support
Support
Purchase
Purchase page
Contact Sales
License info
Sales FAQ
Customer login
Print Invoice
Installation
Company
Legal
Clients
Testimonials
Contact