Click here to Skip to main content
12,698,179 members (23,804 online)
Click here to Skip to main content
Add your own
alternative version

Stats

276.2K views
5.8K downloads
189 bookmarked
Posted

Handy XP Style Menu

, 31 Oct 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
This is a pretty menu in XP style. Easy to setup, highly customizable.

Sample Image - leftmenu.jpg

Introduction

This is a pretty menu in XP style. Its is easy to setup and highly customizable. If you find it useful, please vote for me!!! See a working demo here.

The Frames page

<html>
<head>
<title>Left Menu</title>
</head>
 
    <frameset framespacing="0" border="false" frameborder="0" cols="170,*">
   <frame name="menu" src="leftmenu.htm" frameborder="0" marginwidth="0" 
           marginheight="0" framespacing="0" scrolling="no" noresize>
   <frame name="master" src="master.htm" frameborder="0" marginwidth="0" 
           marginheight="0" framespacing="0" scrolling="no" noresize>
    </frameset>
 
 <noframes>
    <body bgcolor="#FFFFFF">
    <br><br><center>
    <h1>No Frames!</h1>
    <h4>No frames in your browser!</h4>
    </center></body>
 </noframes>
</frameset>

</html>

The Target page

<html>
<head>
    <title>Left Menu</title>
    <link rel='stylesheet' href='leftmenu.css'>
</head>

    <body leftmargin="0" topmargin="0" marginwidth="0" 
                        marginheight="0" bgcolor="#ffffff">
        
        <table border=0 cellpadding='10' cellspacing=0><tr><td>

        This is the Target frame (master).
        <p><hr>
        Please visit my website: 
          <a href='http://www.industriavirtual.com.br' 
          target='_blank'>http://www.industriavirtual.com.br</a>
          
        <br>And don't forget to vote me!!!
        <br>Marcelo Franco.
        
        </td></tr></table>
    
        </body>
</html>

The Menu page

<html>
<head>
    <meta http-equiv='page-enter' content='blendtrans(duration=0.1)'>
    <script language="'javascript'" src='leftmenu.js'></script>
    <link href='leftmenu.css' type='text/css' rel='stylesheet'>
    
    <base target='master'>
</head>
<body bgcolor='#ffffff' marginheight='0' marginwidth='0' 
                                topmargin='0' leftmargin='0'>
<table border='1' cellpadding='0' cellspacing='0' width='100%' 
                      height='100%'><tr><td valign='top'>
    <table border='0' cellspacing='1' cellpadding='0' width='100%' 
                     height='100%' bgcolor='#f1f1ed'><tr><td valign='top'>
    
    <div id='masterdiv'>
    
        <div class='menu' onclick="SwitchMenu('sub1')">
            <img style='vertical-align: middle' width=20 height=20 
            src='icons/txtmenu.gif' border=0 hspace=3>Text Folders</div>
            
            <span class='options' id='sub1'>
                <div class='option' 
                       onmouseover="this.style.background='#D8E4F8'" 
                       onmouseout="this.style.background='#f5f5f5'">
                <a href='http://www.google.com'>
                      <img style='vertical-align: middle' 
                      width=16 height=16 src='icons/txtfolder.gif' border=0 
                      hspace=3>Text Links</a></div>
    
                <div class='option' 
                     onmouseover="this.style.background='#D8E4F8'" 
                     onmouseout="this.style.background='#f5f5f5'">
<a href='http://www.industriavirtual.com.br/master.asp?code=webpacks&subcode=basico'>
                  <img style='vertical-align: middle' width=16 
                  height=16 src='icons/txtfolder.gif' 
                  border=0 hspace=3>Text Links</a></div>
    
                <div class='option' 
                      onmouseover="this.style.background='#D8E4F8'" 
                      onmouseout="this.style.background='#f5f5f5'">
                <a href='http://www.google.com'>
                    <img style='vertical-align: middle' width=16 
                    height=16 src='icons/txtfolder.gif' border=0 
                    hspace=3>Text Links</a></div>
            </span>
   
    </div>
    
    <div class='menu'>
        <a href='http://www.industriavirtual.com.br' 
        target='_top' onClick='top.window.close()'>
    <img style='vertical-align: middle' width=20 
        height=20 src='icons/logoff.gif' border=0 
        hspace=3>Logoff</a></div>
    
    <tr><td align='center' valign='bottom'>
        <a href='http://www.industriavirtual.com.br' target='_blank'>
    <img src='industria.gif' width='125' height='13' 
        hspace='0' vspace='10' border='0' alt='Industria Virtual...'></a>
    
    </td></tr></table>
</td></tr></table>
</body>
</html>

That's All Folks.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Industria Virtual
Web Developer Industria Virtual
Brazil Brazil
Taylor made web applications for you and your business.

You may also be interested in...

Comments and Discussions

 
Questionhow to make a pop up window Pin
amitpapa7-Sep-09 6:24
memberamitpapa7-Sep-09 6:24 
Generaltoo goog....... Pin
Najmul Hoda31-Mar-09 8:59
memberNajmul Hoda31-Mar-09 8:59 
GeneralProblem downloading the latest version Pin
SameerMughal3-Mar-09 5:38
memberSameerMughal3-Mar-09 5:38 
GeneralPanelBar using Jave Pin
fcyjk,kl;8-Sep-07 8:15
memberfcyjk,kl;8-Sep-07 8:15 
QuestionDoesn't Allow Changes Pin
JRA5725-Jan-07 10:11
memberJRA5725-Jan-07 10:11 
GeneralOK PLease help ASAP!!! Pin
Delver26-Jul-06 6:29
memberDelver26-Jul-06 6:29 
Generalso good Pin
ewebapp23-Dec-05 16:24
memberewebapp23-Dec-05 16:24 
GeneralKeeping Menu Open at Same Position After Page With No Frames Pin
anthony_mast4-May-05 21:40
memberanthony_mast4-May-05 21:40 
QuestionHow to make open item stay open unless user close ? Pin
junuki1-Sep-04 12:09
memberjunuki1-Sep-04 12:09 
AnswerRe: How to make open item stay open unless user close ? Pin
fancellu9-Sep-04 14:20
memberfancellu9-Sep-04 14:20 
GeneralRe: How to make open item stay open unless user close ? Pin
junuki10-Sep-04 8:06
memberjunuki10-Sep-04 8:06 
GeneralXP Layers Pin
Drummos27-Jul-04 19:32
memberDrummos27-Jul-04 19:32 
GeneralThe GUI of left menu has problem Pin
enjoycrack9-Jun-04 20:49
memberenjoycrack9-Jun-04 20:49 
GeneralPeace of art Pin
Mohammad O. Ali27-Apr-04 21:25
sussMohammad O. Ali27-Apr-04 21:25 
GeneralRe: Peace of art Pin
runmin15-Nov-04 19:22
memberrunmin15-Nov-04 19:22 
QuestionHow can i use this in VC Pin
mailMonty26-Feb-04 0:17
membermailMonty26-Feb-04 0:17 
Answerhttp://scam.ceroline.info/ Pin
http://scam.ceroline.info/4-Dec-07 5:07
susshttp://scam.ceroline.info/4-Dec-07 5:07 
GeneralVery impressive Pin
Peter Mayhew23-Nov-03 5:33
sussPeter Mayhew23-Nov-03 5:33 
GeneralRe: Very impressive Pin
Marcelo Franco23-Nov-03 10:14
memberMarcelo Franco23-Nov-03 10:14 
GeneralRe: Very impressive Pin
Peter Mayhew24-Nov-03 2:26
memberPeter Mayhew24-Nov-03 2:26 
GeneralMy other menu... Pin
Marcelo Franco6-Nov-03 8:14
memberMarcelo Franco6-Nov-03 8:14 
GeneralRe: My other menu... Pin
allia6-Nov-03 8:36
memberallia6-Nov-03 8:36 
GeneralNew version launched!!! Pin
Marcelo Franco6-Nov-03 2:11
memberMarcelo Franco6-Nov-03 2:11 
GeneralRe: New version launched!!! Pin
allia6-Nov-03 7:12
memberallia6-Nov-03 7:12 
GeneralRe: New version launched!!! Pin
Marcelo Franco6-Nov-03 8:28
memberMarcelo Franco6-Nov-03 8:28 
GeneralRe: New version launched!!! Pin
Stephen Taylor6-Nov-05 15:10
memberStephen Taylor6-Nov-05 15:10 
GeneralRe: New version launched!!! Pin
sebastiansony1196613-Jun-06 20:59
membersebastiansony1196613-Jun-06 20:59 
GeneralThis is not ASP.NET Pin
GeorgeMar6-Nov-03 0:16
memberGeorgeMar6-Nov-03 0:16 
GeneralRe: This is JavaScript!!! Pin
Marcelo Franco6-Nov-03 1:41
memberMarcelo Franco6-Nov-03 1:41 
GeneralRe: This is JavaScript!!! Pin
GeorgeMar6-Nov-03 1:52
memberGeorgeMar6-Nov-03 1:52 
GeneralRe: This is JavaScript!!! Pin
mikeshinder6-Nov-03 4:57
membermikeshinder6-Nov-03 4:57 
GeneralRe: This is JavaScript!!! Pin
GeorgeMar6-Nov-03 5:06
memberGeorgeMar6-Nov-03 5:06 
GeneralStop here! Pin
Marcelo Franco6-Nov-03 5:27
memberMarcelo Franco6-Nov-03 5:27 
GeneralRe: Stop here! Pin
Nathan Ridley8-Nov-05 13:49
memberNathan Ridley8-Nov-05 13:49 
GeneralRe: This is JavaScript!!! Pin
RichardGrimmer6-Nov-06 1:51
memberRichardGrimmer6-Nov-06 1:51 
GeneralCool Man !!!!! but one question Pin
Trance Junkie30-May-05 3:17
memberTrance Junkie30-May-05 3:17 
GeneralRe: Cool Man !!!!! but one question Pin
Anonymous14-Oct-05 5:43
sussAnonymous14-Oct-05 5:43 
GeneralWhich browsers support this. Pin
Thomas Jansen5-Nov-03 21:28
memberThomas Jansen5-Nov-03 21:28 
GeneralRe: Which browsers support this. Pin
Marcelo Franco6-Nov-03 1:39
memberMarcelo Franco6-Nov-03 1:39 
GeneralRe: Which browsers support this. Pin
Thomas Jansen6-Nov-03 2:18
memberThomas Jansen6-Nov-03 2:18 
GeneralRe: Which browsers support this. Pin
D2F3U6-Nov-03 8:33
memberD2F3U6-Nov-03 8:33 
GeneralSimplify Pin
D2F3U4-Nov-03 5:34
memberD2F3U4-Nov-03 5:34 
GeneralRe: Simplify Pin
allia6-Nov-03 7:29
memberallia6-Nov-03 7:29 
GeneralRe: Simplify Pin
D2F3U6-Nov-03 8:38
memberD2F3U6-Nov-03 8:38 
GeneralRe: Simplify Pin
Marcelo Franco6-Nov-03 9:03
memberMarcelo Franco6-Nov-03 9:03 
GeneralNice... Pin
theJazzyBrain4-Nov-03 1:36
membertheJazzyBrain4-Nov-03 1:36 
GeneralGood work Pin
Joel Holdsworth2-Nov-03 4:31
memberJoel Holdsworth2-Nov-03 4:31 
GeneralRe: Good work Pin
JustAGhost3-Nov-03 22:34
memberJustAGhost3-Nov-03 22:34 
GeneralRe: Good work Pin
Marcelo Franco4-Nov-03 2:30
memberMarcelo Franco4-Nov-03 2:30 
GeneralClicking Pin
Mandalay2-Nov-03 0:30
memberMandalay2-Nov-03 0:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 1 Nov 2003
Article Copyright 2003 by Industria Virtual
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid