excel

A

afsocgoddess

I have a intranet web site.
I Insert Web Component, included content, page, then selected my excel
document that has been saved as a htm. It shows but not like the html sheet..


<!--webbot bot="Include" U-Include="C-130 scheduled maintenance.htm"
TAG="BODY" -->
 
R

Ronx

Does C-130 scheduled maintenance.htm have any CSS in the <head> section
of the page? If so, the CSS will have to be copied to every page that
uses the included file. Includes only get that part of the page between
the <body> and </body> tags (that is what TAG="BODY" means, and you
can't change that).

You should remove all spaces from folder and file names - spaces can
break links in some browsers, use a hyphen or underscore instead.

A link to a faulty page will help diagnose problems without guesswork.
 
A

afsocgoddess

I can't send it all but I can paste the html here. the main page should show
the excel in it but when the users update their excel.htm it should update
this page when I open it. We are using it as a "live" slide show


<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
<meta name="VI60_defaultClientScript" content="Inherit from Web site">
<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none, default">
</head>

<body>



<!--webbot bot="Include" U-Include="C-130 Weekly Mx.htm" TAG="BODY" -->

</body>

</html>

<html xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:x="urn:schemas-microsoft-com:eek:ffice:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
<link rel=File-List href="C-130%20scheduled%20maintenance_files/filelist.xml">
<style id="C-130 Weekly Mx_24386_Styles">
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
..</head>

<body>
<!--[if !excel]> <![endif]-->
<!--The following information was generated by Microsoft Office Excel's
Publish
as Web Page wizard.-->
<!--If the same item is republished from Excel, all information between the
DIV
tags will be replaced.-->
<!----------------------------->
<!--START OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD -->
<!----------------------------->

<div id="C-130 Weekly Mx_24386" align=center x:publishsource="Excel">

<table x:str border=0 cellpadding=0 cellspacing=0 width=1080 class=xl7624386
style='border-collapse:collapse;table-layout:fixed;width:811pt'>
<col class=xl7624386 width=82 style='mso-width-source:userset;mso-width-alt:
2998;width:62pt'>

</tr>
<![endif]>
</table>

</div>


<!----------------------------->
<!--END OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD-->
<!----------------------------->
</body>

</html>
 
T

Thomas A. Rowe

The FP Include Page component is a design-time component, which means it will only be updated when
you open and save the Included page in FP.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================


afsocgoddess said:
I can't send it all but I can paste the html here. the main page should show
the excel in it but when the users update their excel.htm it should update
this page when I open it. We are using it as a "live" slide show


<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
<meta name="VI60_defaultClientScript" content="Inherit from Web site">
<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none, default">
</head>

<body>



<!--webbot bot="Include" U-Include="C-130 Weekly Mx.htm" TAG="BODY" -->

</body>

</html>

<html xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:x="urn:schemas-microsoft-com:eek:ffice:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
<link rel=File-List href="C-130%20scheduled%20maintenance_files/filelist.xml">
<style id="C-130 Weekly Mx_24386_Styles">
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
.</head>

<body>
<!--[if !excel]> <![endif]-->
<!--The following information was generated by Microsoft Office Excel's
Publish
as Web Page wizard.-->
<!--If the same item is republished from Excel, all information between the
DIV
tags will be replaced.-->
<!----------------------------->
<!--START OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD -->
<!----------------------------->

<div id="C-130 Weekly Mx_24386" align=center x:publishsource="Excel">

<table x:str border=0 cellpadding=0 cellspacing=0 width=1080 class=xl7624386
style='border-collapse:collapse;table-layout:fixed;width:811pt'>
<col class=xl7624386 width=82 style='mso-width-source:userset;mso-width-alt:
2998;width:62pt'>

</tr>
<![endif]>
</table>

</div>


<!----------------------------->
<!--END OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD-->
<!----------------------------->
</body>

</html>



Ronx said:
Does C-130 scheduled maintenance.htm have any CSS in the <head> section
of the page? If so, the CSS will have to be copied to every page that
uses the included file. Includes only get that part of the page between
the <body> and </body> tags (that is what TAG="BODY" means, and you
can't change that).

You should remove all spaces from folder and file names - spaces can
break links in some browsers, use a hyphen or underscore instead.

A link to a faulty page will help diagnose problems without guesswork.

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

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

afsocgoddess

at my base back home it works...here is the code from there...so what am I
doing wrong?


<html>

<head>
<title>Enlisted Performance Reports</title> <script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } } }

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array(); for(var
i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs.src=a; } }

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id); else if(o.layers) c=o.layers; else if(o.all)
el=o.all[id]; if(el) return el; if(o.id==id || o.name==id) return o;
if(o.childNodes) c=o.childNodes; if(c) for(n=0; n<c.length; n++) {
el=FP_getObjectByID(id,c[n]); if(el) return el; } f=o.forms; if(f) for(n=0;
n<f.length; n++) { els=f[n].elements; for(m=0; m<els.length; m++){
el=FP_getObjectByID(id,els[n]); if(el) return el; } } return null; } // -->
</script> <meta name="Microsoft Theme" content="indust 0011"> <meta
name="Microsoft Border" content="t"> </head>

<body onload="FP_preloadImgs(/*url*/'button7E1.jpg',
/*url*/'button7D1.jpg')"> <div align="center"> <!--webbot bot="Navigation"
S-Type="sequencenp" S-Orientation="horizontal" S-Rendering="graphics"
S-Theme="ice" B-Include-Home="TRUE" B-Include-Up="FALSE" U-Page="sid:3937"
--> </div><p align="center"> <!--#include file="../../33FW
Staff/dp/epr.htm"--> <p align="center"> <a href="WingMenu.shtm"
style="text-decoration: none"> <img border="0" id="img5" src="button7C1.jpg"
height="29" width="145" alt="MENU"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'button7D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'button7C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'button7E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'button7D1.jpg')"
fp-style="fp-btn: Embossed Capsule 1; fp-orig: 0" fp-title="MENU"></a></body>
</html>
 
R

Ronx

Would this be the included file?
<!--#include file="../../33FW Staff/dp/epr.htm"-->

Server Side includes are not the same as FrontPage Design time includes.
The only way to update a FrontPage include file is to Publish it to the
server, either on its own or with other pages. The Publish must be to a
server running the FrontPage extensions, and it must be published in
HTTP mode with a program that uses the extensions - FrontPage or
Expression Web.

Server Side Includes, on the other hand, load the file on the server
every time the page is used. The included file can be uploaded to the
server using FTP, FrontPage or Windows Explorer.


As far as your problem pages go, I am surprised you can see anything
from them at all.

The style statement is incomplete:
<style id="C-130 Weekly Mx_24386_Styles"> <!--
table {mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
..
</head>
It is missing </style>
The id for the style tag is illegal - spaces are not allowed in an id
attribute. However, this will not affect the page the file is included
in.

Don't you just love the HTML Excel produces? :)


There should be an embedded style sheet or link to a style sheet for the
styles used by the table:
<table x:str border=0 cellpadding=0 cellspacing=0 width=1080
class=xl7624386
style='border-collapse:collapse;table-layout:fixed;width:811pt'>
<col class=xl7624386 width=82
style='mso-width-source:userset;mso-width-alt:
2998;width:62pt'>

Eg class=xl7624386 refers to a CSS definition that styles the table
column. This is not present in either page, nor is there any link to an
external style sheet (possibly located in the folder
C-130%20scheduled%20maintenance_files This lack of a style sheet is
probably why the page does not display correctly.
(Notice how the spaces in the folder are replaced by %20 (you may not
see this if using a browser to view this post) - some browsers actually
translate this to
C-130%2520scheduled%2520maintenance_files, resulting in broken links.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

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




at my base back home it works...here is the code from there...so what am I
doing wrong?


<html>

<head>
<title>Enlisted Performance Reports</title> <script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } } }

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array(); for(var
i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs.src=a; } }

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id); else if(o.layers) c=o.layers; else if(o.all)
el=o.all[id]; if(el) return el; if(o.id==id || o.name==id) return o;
if(o.childNodes) c=o.childNodes; if(c) for(n=0; n<c.length; n++) {
el=FP_getObjectByID(id,c[n]); if(el) return el; } f=o.forms; if(f) for(n=0;
n<f.length; n++) { els=f[n].elements; for(m=0; m<els.length; m++){
el=FP_getObjectByID(id,els[n]); if(el) return el; } } return null; } // -->
</script> <meta name="Microsoft Theme" content="indust 0011"> <meta
name="Microsoft Border" content="t"> </head>

<body onload="FP_preloadImgs(/*url*/'button7E1.jpg',
/*url*/'button7D1.jpg')"> <div align="center"> <!--webbot bot="Navigation"
S-Type="sequencenp" S-Orientation="horizontal" S-Rendering="graphics"
S-Theme="ice" B-Include-Home="TRUE" B-Include-Up="FALSE" U-Page="sid:3937"
--> </div><p align="center"> <!--#include file="../../33FW
Staff/dp/epr.htm"--> <p align="center"> <a href="WingMenu.shtm"
style="text-decoration: none"> <img border="0" id="img5" src="button7C1.jpg"
height="29" width="145" alt="MENU"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'button7D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'button7C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'button7E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'button7D1.jpg')"
fp-style="fp-btn: Embossed Capsule 1; fp-orig: 0" fp-title="MENU"></a></body>
</html>
 

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