webbot include working in Firefox but not in IE 7 (include pagejavascript problem)

R

RC

I have a web page that has a FrontPage webbot include that works fin
in Firefox but does not work in IE 7. The "include" pulls in a
navigation banner and IE pulls in the banner but the javascript for
the drop-down menus does not work. Links to the pages are below.
What I am trying to do is to just have one navigation banner, with
drop-down menus, and pull the banner into every page instead of
putting the navigation banner code on every page. I don't want to use
the FP builty in navigation banners.

http://manoamano.org/programs/roads_NEW.html

http://manoamano.org/navigation-banner.htm
 
R

Ronx

Your included page needs to be re-written.
The correct sequence for HTML elements is:
<html>
<head>
<meta tags>
<title...</title>
<style>....</style>
</head>
<body>
Page contents
</body>
</html>

Not the order you have:

<body>
<head>
<meta tags>
<title...</title>
<style>....</style>
</head>
Page contents
<body>

This sequence is not only in the wrong order, it is missing <html>,
</body> and </html>, and has an extra <body> tag.

*Every page* that uses this include must have the style sheet,
JavaScript and onload event added into the appropriate places. If you
are using FP2003 this will be easier if you use a Dynamic Web Template
for your pages.


FYI - the Java adrotator will only work for those users with a Java
Virtual Machine installed and running. The many other users will see
empty grey rectangles where the images should appear. IE users may also
get an Active X warning message (depending on their security settings).
 
R

RC

hallelujah! THANK YOU !!! Once again, stupid simple coding error.

Also, do you have a recommendation for a better way to do a picture
rotation thing that would work better.
 
R

Ronx

Search for JavaScript ad rotator.
Google will give many hits - though the first may not be suitable
without some work to fill three spots on the page. I have not looked at
the others.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top