Thanks Stefan
The file got the way it is because I copied/pasted source into an existing
include.
A basic html question: Can anything be placed in the body section? For
example, can the css links, the java scripts, etc. all be placed in the body?
If so, it would seem that for an include (which is only going to bring in
the body) the head section either should be empty or only contain some of the
meta data for documentation purposes. Is that true? Are there guidelines
for what the structure of html should look like for an include?
Thanks
Tom
:
That page is invalid html
- you can not have 2 head sections or 2 body tags in any html page
If that's your include page apply both style sheets and the styles plus the JavaScript, along
w/
the body onload to all the pages
using the include page
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
| Thanks Stefan
|
| Could someone look at this html and tell me how it needs to be resturctured
| to have the pull down menus work? I have only a beginner's understanding of
| html, however, it appears that something needs to be moved if it's to be part
| of an include.
|
| Thanks
|
| Tom
|
| <HTML>
| <HEAD>
| <link rel="stylesheet" type="text/css" href="style_bNavy.css">
| <link rel="stylesheet" type="text/css" href="menu_bNavy.css">
| </HEAD>
| <BODY>
| <STYLE>
| <!--
| TABLE.hdr { margin:0px ; padding:0px ; border-style:none ; border-width:0px ;}
| TR.hdrlogo { background-color:#000080 ;
| background-image:url('
http://navyrotc.berkeley.edu/includes/lines.gif') ;
| background-repeat:repeat ; color:white ; font-family:verdana,arial,sans-serif
| ;font-size:10px }
| TR.hdrnav { background-color: black ; color:white ;
| font-family:verdana,arial,sans-serif ;font-size:10px ;}
| A.hdr:link { color:white ; text-decoration:none ;
| font-family:verdana,arial,sans-serif ; font-weight:bold ; font-size:10px ;}
| A.hdr:visited { color:white ; text-decoration:none ;
| font-family:verdana,arial,sans-serif ; font-weight:bold ; font-size:10px ;}
| A.hdr:hover { color:white ; text-decoration:underline ;
| font-family:verdana,arial,sans-serif ; font-weight:bold ; font-size:10px ;}
| -->
| </STYLE>
| <TABLE cellpadding="0" border="0" cellspacing="0" width="100%">
| <TR class="hdrlogo"><TD><A href="../UGA_meth_approach.htm">
| <IMG src="../images/web_banner.gif" alt="Methods and Approach" border="0"
| width="282" height="113"></A></TR>
| <head>
| <link rel="stylesheet" type="text/css" href="menu_bNavy.css">
| <script type="text/javascript" src="Navy_menu.js"></script>
| <script type="text/javascript">
| menuArrow = new Image(10, 12);
| menuArrow.src = "../images/arrow.gif";
| </script>
| <script language="JavaScript" type="text/JavaScript">
| <!--
| function MM_reloadPage(init) { //reloads the window if Nav4 resized
| if (init==true) with (navigator) {if
| ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
| document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
| onresize=MM_reloadPage; }}
| else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
| location.reload();
| }
| MM_reloadPage(true);
| //-->
| </script>
| </head>
| <body onload="menuInit();">
|
| From here on it's a table row that has the individual menus and the
| sub-menus defined (divs)
|
| "Stefan B Rusynko" wrote:
|
| > Include file only include the content inside of the BODY tags
| > - move all your DHTML scripts inside of the body tags
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| >
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > |I have been experimenting with pull down menus. I stole some html code from
| > | a good site and was able to get the menus to successfully pull down. I have
| > | created an Include for the menu and included it in a DWT (simple one that has
| > | the include at the top in a table cell followed by a few more table rows.)
| > |
| > | I can get the pull down menus to work when I preview (f12) the include file.
| > | When I go to the actual pages (with the DWT and it's menu include) I can't
| > | get the pull downs to work. The main menu items are still hot (have their
| > | hyperlinks active), but the menus don't pull down.
| > |
| > | Is there something special I need to do to get pull down menus that work in
| > | the include page to work in the final pages via DWT?
| > |
| > | Thanks
| > |
| > | Tom
| >
| >
| >