Thomas
Tue Oct 18 10:42:42 CDT 2005
Lauren,
Sorry, I do not use or work with JavaScript DHTML menu scripts, however see if following changes
will work after you have replaced www.yourdomainname.com with your actually domain:
<!-- Copyright © 2001 Garrett S. Smith (DHTML Kitchen)
http://dhtmlkitchen.com/ - Email:
admin@dhtmlkitchen.com -->
<!-- Courtesy of SimplytheBest.net -
http://simplythebest.net/scripts/ -->
<style type="text/css" title="
http://www.yourdomainname.com/stylesheet.css">
@import "
http://www.yourdomainname.com/menu_script/menu.css";
</style>
<script src="
http://www.yourdomainname.com/menu_script/menubarAPI4.js"
type="text/javascript"></script>
<script src="
http://www.yourdomainname.com/menu_script/init.js" type="text/javascript"></script>
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
"Lauren" <Lauren@discussions.microsoft.com> wrote in message
news:BAB2E1FC-DB5B-4232-ABEB-D3254EBC1B8F@microsoft.com...
>I think I understand what you are saying... you need to copy what is in the
> head tag to the page that displays your include also?
>
> That aside I can't even get the page I want to include to work on its own.
> Could you mind creating the navigation shown on this page
>
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_105.html and see
> if you can get it to work?
>
> Thanks,
>
> Lauren
>
>
> "Thomas A. Rowe" wrote:
>
>> When you use the FP Include Page or Shared Border to include content in other pages, only the
>> content that is between the body tags is included in other pages. Content in the head section of
>> the
>> page to be included is not included in other pages.
>>
>> Example
>> <head>
>> .... content not included in other pages
>> </head>
>> <body>
>> ....content to be included in other pages..
>> </body>
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>>
http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "Lauren" <Lauren@discussions.microsoft.com> wrote in message
>> news:248A8DBF-2BFC-46F0-9BE5-CB1D462F4DA0@microsoft.com...
>> >I have verified that all URLs are absolute. The error is coming from the
>> > onload.htm file, because I believe I have the onload tag pasted incorrectly
>> > or it is missing something. (See 2nd to last line of code for the onload tag)
>> > --------------------------------------------------------------------
>> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0">
>> > <html>
>> >
>> > <head>
>> > <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
>> > <title>onload=</title>
>> >
>> > <!-- Copyright © 2001 Garrett S. Smith (DHTML Kitchen)
>> >
http://dhtmlkitchen.com/ - Email: admin@dhtmlkitchen.com -->
>> > <!-- Courtesy of SimplytheBest.net -
http://simplythebest.net/scripts/ -->
>> > <style type="text/css" title="stylesheet.css">
>> > @import "menu_script/menu.css";
>> > </style>
>> > <script src="
>> >
http://199.217.163.45/intranet/Drp_dwn/menu_script/menubarAPI4.js"
>> > type="text/javascript"></script>
>> > <script src="
http://199.217.163.45/intranet/Drp_dwn/menu_script/init.js"
>> > type="text/javascript"></script>
>> > </head>
>> >
>> > <body>
>> > <body onload="init();monitor=document.getElementById('mon')">
>> > </body>
>> >
>> > </html>
>> > ---------------------------------------------------------------------------
>> > "Thomas A. Rowe" wrote:
>> >
>> >> Yes, that is a absolute URL.
>> >>
>> >> You must make sure that any URL within your JavaScript code is also using absolute URLs
>> >>
>> >> --
>> >> ==============================================
>> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> >> ==============================================
>> >> If you feel your current issue is a results of installing
>> >> a Service Pack or security update, please contact
>> >> Microsoft Product Support Services:
>> >>
http://support.microsoft.com
>> >> If the problem can be shown to have been caused by a
>> >> security update, then there is usually no charge for the call.
>> >> ==============================================
>> >>
>> >> "Lauren" <Lauren@discussions.microsoft.com> wrote in message
>> >> news:69333A14-29D5-441B-B860-07A30E5F02CA@microsoft.com...
>> >> > The location on our server where we are storing the underconstruction site
>> >> > can only be located by the following url
>> >> >
http://199.217.163.45/intranet/index.html with our proxy turned off on our
>> >> > web browser. Once the site is complete we were going to point the domain to
>> >> > the new site folder. Is the above not considered an absolute url?
>> >> >
>> >> > Thanks,
>> >> >
>> >> > Lauren
>> >> >
>> >> > "Thomas A. Rowe" wrote:
>> >> >
>> >> >> When using JavaScript in a include page, all links/URLs within the script must be absolute
>> >> >> URLs.
>> >> >>
>> >> >> --
>> >> >> ==============================================
>> >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> >> >> ==============================================
>> >> >> If you feel your current issue is a results of installing
>> >> >> a Service Pack or security update, please contact
>> >> >> Microsoft Product Support Services:
>> >> >>
http://support.microsoft.com
>> >> >> If the problem can be shown to have been caused by a
>> >> >> security update, then there is usually no charge for the call.
>> >> >> ==============================================
>> >> >>
>> >> >> "Lauren" <Lauren@discussions.microsoft.com> wrote in message
>> >> >> news:0F5326C2-605B-47EA-AF50-133ECE6FE327@microsoft.com...
>> >> >> > Your right, what I meant by the server side include is that I'm trying to
>> >> >> > include that page "onload.htm", but since there is an error on that page it
>> >> >> > is not showing up. Do you know what I can do to correct the javascript error?
>> >> >> >
>> >> >> > Thanks,
>> >> >> >
>> >> >> > Lauren
>> >> >> >
>> >> >> >
>> >> >> > "Thomas A. Rowe" wrote:
>> >> >> >
>> >> >> >> You are not working with server-side include based on the code snip you provided, you
>> >> >> >> are
>> >> >> >> having
>> >> >> >> JavaScript issues where objects are being requested that don't exist.
>> >> >> >>
>> >> >> >> --
>> >> >> >> ==============================================
>> >> >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> >> >> >> ==============================================
>> >> >> >> If you feel your current issue is a results of installing
>> >> >> >> a Service Pack or security update, please contact
>> >> >> >> Microsoft Product Support Services:
>> >> >> >>
http://support.microsoft.com
>> >> >> >> If the problem can be shown to have been caused by a
>> >> >> >> security update, then there is usually no charge for the call.
>> >> >> >> ==============================================
>> >> >> >>
>> >> >> >> "Lauren" <Lauren@discussions.microsoft.com> wrote in message
>> >> >> >> news:0DF8976E-1B20-47CE-A5A6-63B4A844ADB3@microsoft.com...
>> >> >> >> >I am having difficulty including my top navigation to my website. I get an
>> >> >> >> > error saying there is a problem with my onload.htm page on line 17 (object
>> >> >> >> > expected). I am not sure how to fix it and I have tried to by adding a ">"
>> >> >> >> > at the end of the body tag but this did not fix it.
>> >> >> >> >
>> >> >> >> > The code came from the following website and was reformatted to suite my
>> >> >> >> > menu option needs.
>> >> >> >> >
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_105.html
>> >> >> >> >
>> >> >> >> > Here is the link to the top navigation page:
>> >> >> >> >
http://www.westar.com/drp_dwn/onload.htm
>> >> >> >> >
>> >> >> >> > ----------------------------------- onload.htm CODE:
>> >> >> >> > ------------------------------
>> >> >> >> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0">
>> >> >> >> > <html>
>> >> >> >> >
>> >> >> >> > <head>
>> >> >> >> > <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
>> >> >> >> > <title>onload=</title>
>> >> >> >> >
>> >> >> >> > <!-- Copyright © 2001 Garrett S. Smith (DHTML Kitchen)
>> >> >> >> >
http://dhtmlkitchen.com/ - Email: admin@dhtmlkitchen.com -->
>> >> >> >> > <!-- Courtesy of Sim