MSFPhover is undefined

G

Guest

I have just design a new site using Frontpage 2003 and Server Extension 2002
on a windows 2003 server. I have a few users saying they are getting the
following error

Line: 36
Char: 1
Error: “MSFPhover†is undefined
Code: 0
URL: http://www.troop294.org

If they suppress the message the site works fine and so do the links. Below
is the code, can someone point out the error in the code? Thanks in advance.

DEFAULT.ASP
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="Microsoft Theme" content="troop294-org 1011, default">
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<table border="0" width="1024" id="table1" cellspacing="0" cellpadding="0">
<!--#include virtual="/_private/templates/header.asp" -->
<tr>
<td width="180"><img border="0" src="images/tb294-005.gif" width="180"
height="30"></td>
<td >
<p><b>HOME</b>
</td>
<td>
<%If session("username") &""<> "" then%>
<p><b>Welcome
<%=session("x_firstname")%>&nbsp;<%=session("x_lastname")%></b>
<%end if%>
</td>
<td><img border="0" src="images/tb294-006.gif" width="68"
height="30"></td>
</tr>
<tr>
<td width="180" background=images/tb294-007.gif valign=top>
<%If session("username") &""<> "" then%>
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="graphics" S-Theme="troop294-org 0010" B-Include-Home="TRUE"
B-Include-Up="FALSE" U-Page="sid:1004" -->
<%If session("admin") = True then%>
<!--webbot bot="Navigation" S-Type="sequence"
S-Orientation="vertical" S-Rendering="graphics" S-Theme="troop294-org 0010"
B-Include-Home="FALSE" B-Include-Up="FALSE" U-Page="sid:1024" -->
<%end if%>
<%else%>
<!--webbot bot="Navigation" S-Orientation="vertical"
S-Rendering="graphics" S-Theme="troop294-org 0010" S-Type="children"
B-Include-Home="TRUE" B-Include-Up="FALSE" --><p>
<%end if%>
</td>
<td valign="top">
<%If session("username") &""<> "" then%>
<!--#include virtual="/_sercure/_scalendar/upcoming_events.html" -->
<%else%>
<!--#include virtual="/calendar/upcoming_events.html" -->
<%end if%>
</td>
<td>
<!--#include virtual="/photoalbum/randompic_inc.asp" -->
</td>
<td width="68" background=images/tb294-008.gif>&nbsp;</td>
</tr>
<tr>
<td width="180"><img border="0" src="images/tb294-009.gif" width="180"
height="30"></td>
<td > </td>
<td> </td>
<td><img border="0" src="images/tb294-010.gif" width="68"
height="30"></td>
</tr>
<!--#include virtual="/_private/templates/footer.asp" -->
</table>
</body>
</html>

HEADER.ASP

<tr>
<td width="180"><img border="0" src="../../images/tb294-001.gif"></td>
<td background=../../images/tb294-003.gif>
<img border="0" src="../../images/tb294-002.gif" width="205"
height="105"></td>
<td background=../../images/tb294-003.gif> </td>
<td>
<img border="0" src="../../images/tb294-004.gif" width="68"
height="105"></td>
</td>

FOOTER.ASP
<tr>
<td width="180"><img border="0" src="../../images/tb294-011.gif"
width="180" height="32"></td>
<td background=../../images/tb294-013.gif><img border="0"
src="../../images/tb294-012.gif" width="205" height="32"></td>
<td background=../../images/tb294-013.gif> </td>
<td><img border="0" src="../../images/tb294-014.gif" width="68"
height="32"></td>
</tr>
 
T

Thomas A. Rowe

Many Windows XP and/or IE 6 users not longer have the ability to run Java applets, unless that have
downloaded and install the Sun Java Virtual Machine. Best to avoid using the FP Hover Button and
Banner Ad Manager applets, instead use JavaScript.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

Thanks for the reply, but I'm a little confused. Why if MS doesn't support
Java, do they have their navigation system use it? Also, if that is the
case, then the idea to use a theme to standerize your design for group
editing (frontpage extension) is worthless. I'm using XP sp2 without java
and if I suppress the error dialog box, it works, so where is the need for
Java?
 
T

Thomas A. Rowe

You are confusing Java with JavaScript, which are two entirely different technologies and only
related by the word, Java.

MS no longer supports Java (Java Virtual Machine) because of the Sun lawsuit, which resulted in MS
removing the Java Virtual Machine from later versions of Windows XP and all new versions of the
Windows OS

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

OK, I understand the difference, but you said in your reply, best to avoid
using "FP Hover button and Banner Ad Manager" because the client may not have
JAVA installed. So again, I ask the question why does MS Frontpage 2003
build theirThemes needing JAVA if MS does not support it? I don't mean to be
a problem about this, but I have not heard yet why the error is occuring with
or without Java installed. The line controlling the navigation is:

<!--webbot bot="Navigation" S-Orientation="vertical" S-Rendering="graphics"
S-Theme="troop294-org 0010" S-Type="children" B-Include-Home="TRUE"
B-Include-Up="FALSE" --><p

Is "webbot bot="Navigation"" Java code? If so, why does it still error when
I'm running Java?

Thanks
 
T

Thomas A. Rowe

FP Themes do not use Java, they use JavaScript. You are still confusing the two technologies. In
order truly determine your problem you will need to publish the site to server on the Internet that
has the FP extensions so that someone can actual see it there is a problem with your page or it the
problem is with your PC.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

OK, the url is http://www.troop294.org
Please let me know what you find.

Also, please clairify what you mean when you first reply with:
Many Windows XP and/or IE 6 users not longer have the ability to run Java applets, unless that have
downloaded and install the Sun Java Virtual Machine. Best to avoid using the FP Hover Button and
Banner Ad Manager applets, instead use JavaScript.

If Themes uses JS, then why did you bring in Java applets into the discussion?
 
T

Thomas A. Rowe

Sorry about that, I only saw the word "Hover". At least now you know not to use Java applets.

I looked at your site in IE6, and have display notification turned on for all errors and I am not
seeing any error messages, nor am I seeing any mouse over effect on any of your hyperlinks.

You do need to look at your site in other browsers, such as NS 6.21, especially your Calendar page.
It is fine in NS7.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

Thanks for looking Thomas,

Any idea where the problem might be.
I have IE 6.0.29000.2180.xpsp_sp2_rtm and have and have Display a
notification about every script error checked and I get the error:

Line: 36
Char: 1
Error: “MSFPhover†is undefined
Code: 0
URL: http://www.troop294.org

As soon as I connect.
 
T

Thomas A. Rowe

Ok, the error is with the last line shown below, indicated by <<<<<:

function display_event(evt_id, cell_id)
{

if (!page_loaded) return;
var info_window_x = window.screenLeft - 400;
var info_window_y = window.screenTop;

var URL_string="http://www.troop294.org/.....;

info_window = this.open(URL_string, "info_window",
"resizable=yes,status=yes,scrollbars=yes,top="+info_window_y+",left="+info_window_x+",width="+info_window_width+",height="+info_window_height);
info_window.focus(); <<<<<
}

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

found the error, its the ASP code that follows in my default.asp mention at
the start of the thread.:

<%If session("username") &""<> "" then%>
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="graphics" S-Theme="troop294-org 0010" B-Include-Home="TRUE"
B-Include-Up="FALSE" U-Page="sid:1004" -->
<%If session("admin") = True then%>
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="graphics" S-Theme="troop294-org 0010" B-Include-Home="FALSE"
B-Include-Up="FALSE" U-Page="sid:1024" -->
<%end if%>
<%else%>
<!--webbot bot="Navigation" S-Orientation="vertical" S-Rendering="graphics"
S-Theme="troop294-org 0010" S-Type="children" B-Include-Home="TRUE"
B-Include-Up="FALSE" --><p>
<%end if%>

If I remove the ASP conditions then all navigation menus display and no
errors, put back in the ASP conditions and the errors appear.
Any Ideas?
 
T

Thomas A. Rowe

Ok, the problem is that the FP navigation components are design-time controls and can not be changed
dynamically.

You can do what you are trying to do, but not (easily) when using themes and FP navigation
components.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

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