Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2004, 07:16 AM
Authorized User
 
Join Date: Oct 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Comments in my javascripts

With the help of some good people from this community I've (or they) made 6 javascripts for me.
I'm in an emergency situation now I have to comment those codes.
I could have done it by myself but.....I can't.....
So if someone can help me please fell free!!!!
And here comes the 1st one!


<html>
<HEAD>
<link href="menu.css" rel="stylesheet">
<link href="css.css" rel="stylesheet">
<script language="javascript" src="menu.js">
</script>
</HEAD>
<BODY OnLoad="InitMenu()" Onclick="HideMenu(menuBar)" id="Bdy">

<div class="back"><a href="links.html">Tillbaka</a></div>

<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 id="Bar5" class="Bar" menu="menu4">Menu #5</div >
</div >

<div id="menu1" class="menu" >
   <div id="menuItem1_1" class="menuItem" menu="menu6">SubMenu #1</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 >
</body>
</html>


A big thanxs to all of you who helped me a lot!!!!
Thanxs!!!!!!
 
Old November 3rd, 2004, 09:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I'm curious, what is preventing you from commenting your own code?

 
Old November 4th, 2004, 10:30 AM
Authorized User
 
Join Date: Oct 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wrong codes sorry

A big thanxs to all of you who helped me a lot!!!!
Thanxs!!!!!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS ->Javascripts, any clue? justboomit General .NET 1 July 2nd, 2007 08:32 AM
Comments in my javascripts 6 xristina Javascript 5 November 4th, 2004 04:08 PM
Comments in my javascripts 4 xristina Javascript 1 November 4th, 2004 10:31 AM
Comments in my javascripts 5 xristina Javascript 1 November 4th, 2004 10:31 AM
Comments in my javascripts 2 xristina Javascript 1 November 3rd, 2004 09:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.