<div id="idMenuContainer" class="mnContainer"
style="width:<%=intContainerWidth%>;height:<%=intContainerDepth%>;">
<%
Dim NewWin
NewWin = "true" ' open in new window
Dim SameWin
SameWin = "false" ' open in same window
dim menctr,nummenu,strTitle, strURL
menctr = 1
nummenu = 1
' in dhtml_body.asp update counter max when add a new item here
' and update intMenuSubMax when add new menu headers...
'intMaxMenus = 8 ' start at 0 count
' what is the maximum count of items in the biggest menu?
'intMenuSubMax = 11 ' start at 1 count (web sites listing)
' 8/24/00 below is where I contantly add new articles
' I want the newest article to be on top, so I use the menctr
' variable to increment the value
' with this new style, if you don't like the order or placement of
' something, move it! and your code is still intact without a lot of editing!
' open in the same window with SameWin or a new window with NewWin
' ---------------------------------------------------
Response.write PrintMenuHeader(nummenu,"Newest Articles!")
strTitle = "Hacker Query Check"
strURL = "/articles/articles/vbscript/hackerquerycheck.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Tree Select Demo"
strURL = "/articles/articles/javascript/treeselectdemo.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Adobe Extension Manager"
strURL = "/articles/articles/flash/extension_manager.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Scandisk & Defrag Pointers"
strURL = "/articles/articles/misc/scandefrag.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = ".htr IIS Security Issue"
strURL = "/articles/articles/misc/htr.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' this function starts at the next item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write PrintMenuHeader(nummenu,"Articles: ASP, DHTML, HTML")
strTitle = "HTML Tutorial"
strURL = "/articles/articles/html/htmltutorial.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Auto-select an Element from a Menu or Scrolling List & Save Keystrokes!"
strURL = "/articles/articles/misc/select.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "ASP Driven DHMTL Slider Menus REVISITED One Year Later! Part II"
strURL = "/articles/articles/dhtmlmenu/asp_dhtmlmenuP2.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "ASP Driven DHMTL Slider Menus"
strURL = "/articles/articles/dhtmlmenu/asp_dhtmlmenu.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "ASP Driven HTML Outlines"
strURL = "/articles/articles/misc/outline.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Reusing Code with ASP Include Files and Subroutines"
strURL = "/articles/articles/standards/includefiles.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = ".htr IIS Security Issue"
strURL = "/articles/articles/misc/htr.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write PrintMenuHeader(nummenu,"Articles: Databases, Cookies")
strTitle = "Functions to Open a Database Connection and Record Set"
strURL = "/articles/articles/database/datafunctions.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Setting Up and Using OraSession to Manage Your Oracle Database Objects"
strURL = "/articles/articles/oracle1/oracledataobjects.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Storing Non-Durable Data for Cookie-less Sessions"
strURL = "/articles/articles/misc/cookieless_sessions.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write PrintMenuHeader(nummenu,"Articles: JavaScripting with ASP")
strTitle = "Smart Popups"
strURL = "/articles/articles/javascript/popups.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "JavaScript: Validate Numeric Fields"
strURL = "/articles/articles/javascript/checkNumeric.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Javascript Confirm Form Submission"
strURL = "/articles/articles/javascript/confirmsubmit.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "JavaScript: Dynamic Text Area Counter"
strURL = "/articles/articles/javascript/dynamictextareacounter.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "JavaScript: Check and Uncheck All Checkboxes"
strURL = "/articles/articles/javascript/checkboxes.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "JavaScript Field Validations -- Client Side Scripting"
strURL = "/articles/articles/javascript/javascriptvalidations.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write PrintMenuHeader(nummenu,"Articles: Miscellaneous Topics")
strTitle = "Scandisk & Defrag Pointers"
strURL = "/articles/articles/misc/scandefrag.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write _
PrintMenuHeader(nummenu,"Articles: Programming Standards, Style, & Processes")
strTitle = "Setting Up Your Own ASP Development Templates"
strURL = "/articles/articles/standards/usingtemplates.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Creating a Project Template for Estimations"
strURL = "/articles/articles/standards/ProjectTemplateEstimations.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "To Host or Not To Host -- Service Provider vs. Purchasing Your Own"
strURL = "/articles/articles/misc/serviceprovider.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "ASP Naming Conventions"
strURL = "/articles/articles/standards/namingconventions.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "HTML Naming Conventions & Visual Interdev HTML Generation"
strURL = "/articles/articles/standards/HTMLnamingconventions.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Working with and in spite of the Visual Interdev Design Mode"
strURL = "/articles/articles/standards/VIDesignMode.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Commenting Your ASP Source Code"
strURL = "/articles/articles/standards/commentsource.asp"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ------------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
' open all of these in a new window
Response.write PrintMenuHeader(nummenu,"Web Sites by Nannette")
strTitle = "Christian Singles Dating"
strURL = "http://www.christiansinglesdating.com"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "Gifted Church"
strURL = "http://www.giftedchurch.com"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "Techno Geek Wannabees - Computer How To and Source Code"
strURL = "http://www.shiningstar.net/geek"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "BBS Door Games & Utilities"
strURL = "http://www.shiningstar.net/bbsdoors"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "Shining Star Book Store"
strURL = "http://www.shiningstar.net/books"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "Wichita SDA Church"
strURL = "http://www.shiningstar.net/wichitasda"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
strTitle = "Kids Karnival - Stories, Games, and Fun for the Kids!"
strURL = "http://www.kidskarnival.com"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
' end of menu group
' this function starts at the next item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ---------------------------------------------------
nummenu = nummenu + 1 ' increment for next menu
menctr = 1 ' default to 1
Response.write PrintMenuHeader(nummenu,"Home")
' this is used only by this site, remove the siteID if/else statement
' and simply define your strTitle
if siteID = "ROLLA" then
strTitle = "Nannette From Rolla Home Page"
else
strTitle = "The ASP Warrior Home Page"
end if
strURL = "/articles/"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,SameWin)
menctr = menctr + 1
strTitle = "Shining Star Services"
strURL = "http://www.shiningstar.net"
Response.write PrintMenuSub(nummenu,menctr,strURL,strTitle,NewWin)
menctr = menctr + 1
' end of menu group
' start at the final item and print blanks to the max
PrintMenuLoop nummenu,menctr
Response.Write "</div>"
' ------------------------------------------------------
Response.Write "</div>"
%>
|