/    Sign up×
Community /Pin to ProfileBookmark

menu download problems

I’m new to Java… and I downloaded the script for the cascading menu… following the instructions i.e. some of the script into the head tag and some of the script into the body… all it yielded was text in the html doc. Can anyone out there help me?
Thank you
zendo

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 25.2003 — Not unless we see some code/know which menu you are talking about...
Copy linkTweet thisAlerts:
@zendoauthorJul 25.2003 — Thank you for your reply... here is the code.

<!-- THREE STEPS TO INSTALL CASCADE MENU:

  • 1. Copy the coding into the HEAD of your HTML document

  • 2. Add the onLoad event handler into the BODY tag

  • 3. Put the last coding into the BODY of your HTML document -->


  • <!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

    <HEAD>

    <!-- This script and many more are available free online at -->

    <!-- The JavaScript Source!! http://javascript.internet.com -->

    <!-- Original: Arun kumar ([email protected]) -->

    <link href="CascadeMenu.css" rel="stylesheet">

    <script language="javascript" src="CascadeMenu.js">

    </script>

    </HEAD>

    <!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

    <BODY OnLoad="InitMenu()" Onclick="HideMenu(menuBar)" ID="Bdy" bgColor=aliceblue>

    <!-- STEP THREE: Copy this code into the BODY of your HTML document -->

    <font color="#800080"><b>Sample Menu</b></font></p>

    <DIV Id="menuBar" class="menuBar" >

    <DIV Id="Bar1" class="Bar" menu="menu1">Menu #1</DIV>

    <DIV Id="Bar2" class="Bar" menu="menu2">Menu #2</DIV>

    <DIV Id="Bar3" class="Bar" menu="menu3">Menu #3</DIV>

    <DIV Id="Bar4" class="Bar" menu="menu4">Menu #4</DIV>

    </DIV>

    <!--MenuItem Definition -->

    <div Id="menu1" class="menu" >

    <div Id="menuItem1_1" class="menuItem" menu="menu6">SubMenu #1</div>

    <div Id="menuItem1_2" class="menuItem" title="JavaScripts"

    cmd="http://javascript.internet.com/">JavaScript Source</div>

    <div Id="menuItem1_3" class="menuItem" title="WDVL" cmd="http://www.wdvl.com">WDVL</div>

    </div>

    <div Id="menu2" class="menu">

    <div Id="menuItem2_1" class="menuItem">Page #1</div>

    <div Id="menuItem2_2" class="menuItem">Page #2</div>

    <div Id="menuItem2_3" class="menuItem">Page #3</div>

    </div>

    <div Id="menu3" class="menu">

    <div Id="menuItem3_1" class="menuItem">Page #1</div>

    <div Id="menuItem3_2" class="menuItem">Page #2</div>

    <div Id="menuItem3_3" class="menuItem">Page #3</div>

    <div Id="menuItem3_4" class="menuItem" menu="menu5">SubMenu #4</div>

    </div>

    <div Id="menu4" class="menu">

    <div Id="menuItem4_1" class="menuItem">Page #1</div>

    <div Id="menuItem4_2" class="menuItem">Page #2</div>

    <div Id="menuItem4_3" class="menuItem">Page #3</div>

    <div Id="menuItem4_4" class="menuItem">Page #4</div>

    </div>

    <div id="menu5" class="menu">

    <div Id="menuItem5_1" class="menuItem">Page #4-1</div>

    <div Id="menuItem5_2" class="menuItem">Page #4-2</div>

    <div Id="menuItem5_3" class="menuItem">Page #4-3</div>

    </div>

    <div id="menu6" class="menu">

    <div Id="menuItem6_1" class="menuItem">Page #1-1</div>

    <div Id="menuItem6_2" class="menuItem">Page #1-2</div>

    <div Id="menuItem6_3" class="menuItem" menu="menu7">SubMenu #1-1</div>

    </div>

    <div id="menu7" class="menu">

    <div Id="menuItem7_1" class="menuItem">Page #1-1-1</div>

    <div Id="menuItem7_2" class="menuItem">Page #1-1-2</div>

    <div Id="menuItem7_3" class="menuItem">Page #1-1-3</div>

    </div><!-- End of Menu -->


    <p><center>

    <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>

    by <a href="http://javascriptsource.com">The JavaScript Source</a></font>

    </center><p>

    <!-- Script Size: 3.47 KB -->
    Copy linkTweet thisAlerts:
    @pyroJul 25.2003 — Did you download CascadeMenu.css and CascadeMenu.js from the site? If not, you need those...
    Copy linkTweet thisAlerts:
    @zendoauthorJul 25.2003 — I did. My experiece with html is basic... I started writing code before the advent of css. Won't a cascading style sheet effect all of the pages in the web site...?
    Copy linkTweet thisAlerts:
    @pyroJul 25.2003 — [i]Originally posted by zendo [/i]

    [B]Won't a cascading style sheet effect all of the pages in the web site...? [/B][/QUOTE]
    Yes, all the pages it is called on...
    Copy linkTweet thisAlerts:
    @zendoauthorJul 26.2003 — Thanks for your time and help. Notwithstanding the CSS, I reloaded the code and I guess I got all of the parts right this time. Still the menu was supposed to be a horizonal menu... and it wanted to display in a verticle format. Not knowing what to do I wrote up <tr></tr><td></td> (td's 7 times) and pasted in the code in each <td>... that seemed to work...

    zendo
    ×

    Success!

    Help @zendo spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.5,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...