No scroll bar for page + page error(s)

B

Brightbelt

Hi-
I'm on FP 2003, Win XP Pro. My site seemingly publishes
Ok, but when I browse it, the bottom left hand url on the
task bar says there is an error on every page. Also, the
Compositions page has no scroll bar on it !! It even
previews the browser in FP with no scroll bar. My site
is,.. Http://www.frankbright.com . I hope I can fix this
as I am not a coder. Help is appreciated,...Many
Thanks,...Brightbelt
 
T

Thomas A. Rowe

1. preLoadImages is not defined is the JavaScript error on your pages.
2. You will only see a scrollbar when you have content the exceeds the browser's window.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

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

Brightbelt

Ok-
So what do I do about it ? Do I need to copy the
table/navigation graphic to every page even though it's a
shared border ?

Brightbelt

-----Original Message-----
1. preLoadImages is not defined is the JavaScript error on your pages.
2. You will only see a scrollbar when you have content
the exceeds the browser's window.
 
T

Thomas A. Rowe

When using Shared Border or FP Include pages, only the content that is between the
<body>..content..</body> is inserted into other pages. You either need to move the script from the
head section of the shared border page and place after the <body> tag in the shared border page or
insert the script into the head section of all pages using the shared border page.

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

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

Brightbelt

Hi Thomas-
I fixed the scroll - found out there was content that
somehow got erased from the page (Can't explain that
one....). As for the preload images error, I'm exporting
the piano graphic from MM Fireworks into FP using the FP
Html code option, copying and pasting the graphic from
the Html page onto my desired page in FP. And I'm cutting
and pasting the javascript into the <head> if it's not
there already.
I'm not sure of what to change for this problem or what
I need to do so that preload has the desired object in
the code to avoid error. Thanks for your
help,...Brightbelt
 
B

Brightbelt

Hi Thomas, me again-
I posted my last message just before yours appeared.
I've double checked and the javascript code is in the
head of all pages and has been all along. And I've looked
into my folders but do not see a "shared border page" per
se. Maybe that's my problem. I do remember now that in
originally setting up shared borders, I found that in
doing it for 'all pages', the piano graphic html page got
a shared border on it also. And I thought 'this doesn't
need a shared border' and deleted the shared border on
that page only. Well, just in case that was my problem, I
just now went back and put a shared border on that page
and it still didn't fix it. Should the html page of the
graphic have a shared border or no ? Many
Thanks,...Brightbelt
 
B

Brightbelt

Hey-
I know in past (and maybe this) versions of FP, I would
see a 'Borders' folder when shared borders was used. I
see no 'Borders' folder in my web and I'm using shared
borders. So I need to know where to get to the shared
border page somehow. I just don't see it anywhere.
Thanks,...Brightbelt
 
T

Thomas A. Rowe

The JavaScript portion that needs to be in the head of the page, must be inserted into all page
using the Shared Border or you must insert it after the opening <body> tag in the shared border page
itself.

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

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

Thomas A. Rowe

Under Tools | Web or Site Setting, Advanced tab, enable viewing of hidden folders.

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

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

Jon Spivey

Hi,
You've got some javascript to preload the images in your page - so you can
just delete the reference to onload="preloadImages();" from your body tag
and the error will go away
 
B

Brightbelt

OK-
Thanks I found the shared border page. Now, just to be
certain, is the following the code you're saying should
be either in the head of all the pages or in the body of
the share border page?

<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers

/* Functions that finds images. */
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))
0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!
x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>

And more questions....as I already have this in the head
of all my pages, can I also put it in the body of the
shared border page ? You were saying either/or and I'm
asking if I can do both, since the the above javascript
being in the head of all pages isn't working it seems.
Are you talking about the javascript code table/list of
images ? That would be the following...

<table border="0" cellpadding="0" cellspacing="0"
width="145">
<!-- fwtable fwsrc="D:\My Documents\My
Picturesb\SilverPiano5.png" fwbase="Silverpiano5.jpg"
fwstyle="FrontPage" fwdocid = "742308039" fwnested=""0" --<script language="JavaScript">
<!-- hide
if (document.images) {
fwcolorpiano5_r2_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f2.src = "fwcolorpiano5_r2_c2_f2.jpg";
fwcolorpiano5_r2_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f1.src = "fwcolorpiano5_r2_c2.jpg";
fwcolorpiano5_r4_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f2.src = "fwcolorpiano5_r4_c2_f2.jpg";
fwcolorpiano5_r4_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f1.src = "fwcolorpiano5_r4_c2.jpg";
fwcolorpiano5_r6_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f2.src = "fwcolorpiano5_r6_c2_f2.jpg";
fwcolorpiano5_r6_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f1.src = "fwcolorpiano5_r6_c2.jpg";
fwcolorpiano5_r8_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f2.src = "fwcolorpiano5_r8_c2_f2.jpg";
fwcolorpiano5_r8_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f1.src = "fwcolorpiano5_r8_c2.jpg";
fwcolorpiano5_r9_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f2.src = "fwcolorpiano5_r9_c2_f2.jpg";
fwcolorpiano5_r9_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f1.src = "fwcolorpiano5_r9_c2.jpg";
fwcolorpiano5_r11_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f2.src
= "fwcolorpiano5_r11_c2_f2.jpg";
fwcolorpiano5_r11_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f1.src = "fwcolorpiano5_r11_c2.jpg";
Silverpiano5_r13_c2_f2 = new Image(109 ,21);
Silverpiano5_r13_c2_f2.src = "Silverpiano5_r13_c2_f2.jpg";
Silverpiano5_r13_c2_f1 = new Image(109 ,21);
Silverpiano5_r13_c2_f1.src = "Silverpiano5_r13_c2.jpg";
Silverpiano5_r15_c2_f2 = new Image(109 ,21);
Silverpiano5_r15_c2_f2.src = "Silverpiano5_r15_c2_f2.jpg";
Silverpiano5_r15_c2_f1 = new Image(109 ,21);
Silverpiano5_r15_c2_f1.src = "Silverpiano5_r15_c2.jpg";
}
// stop hiding -->
</script>
<tr>

As I've said I'm not a coder, but I do recognize some
stuff about this. Thanks,...Brightbelt
 
T

Thomas A. Rowe

#1 Yes

#2 However if you already have it in the head section of your pages you can either delete it from
those pages and leave it on the top.htm page but moved to appear after the <body> tag.

You only need to be concerned with the JavaScript that is in the head section, and you should not
have the same exact script on a page more than once as the this will cause a conflict between the
two scripts.

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

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


Brightbelt said:
OK-
Thanks I found the shared border page. Now, just to be
certain, is the following the code you're saying should
be either in the head of all the pages or in the body of
the share border page?

<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers

/* Functions that finds images. */
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))
0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!
x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>

And more questions....as I already have this in the head
of all my pages, can I also put it in the body of the
shared border page ? You were saying either/or and I'm
asking if I can do both, since the the above javascript
being in the head of all pages isn't working it seems.
Are you talking about the javascript code table/list of
images ? That would be the following...

<table border="0" cellpadding="0" cellspacing="0"
width="145">
<!-- fwtable fwsrc="D:\My Documents\My
Picturesb\SilverPiano5.png" fwbase="Silverpiano5.jpg"
fwstyle="FrontPage" fwdocid = "742308039" fwnested=""0" --<script language="JavaScript">
<!-- hide
if (document.images) {
fwcolorpiano5_r2_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f2.src = "fwcolorpiano5_r2_c2_f2.jpg";
fwcolorpiano5_r2_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f1.src = "fwcolorpiano5_r2_c2.jpg";
fwcolorpiano5_r4_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f2.src = "fwcolorpiano5_r4_c2_f2.jpg";
fwcolorpiano5_r4_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f1.src = "fwcolorpiano5_r4_c2.jpg";
fwcolorpiano5_r6_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f2.src = "fwcolorpiano5_r6_c2_f2.jpg";
fwcolorpiano5_r6_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f1.src = "fwcolorpiano5_r6_c2.jpg";
fwcolorpiano5_r8_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f2.src = "fwcolorpiano5_r8_c2_f2.jpg";
fwcolorpiano5_r8_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f1.src = "fwcolorpiano5_r8_c2.jpg";
fwcolorpiano5_r9_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f2.src = "fwcolorpiano5_r9_c2_f2.jpg";
fwcolorpiano5_r9_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f1.src = "fwcolorpiano5_r9_c2.jpg";
fwcolorpiano5_r11_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f2.src
= "fwcolorpiano5_r11_c2_f2.jpg";
fwcolorpiano5_r11_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f1.src = "fwcolorpiano5_r11_c2.jpg";
Silverpiano5_r13_c2_f2 = new Image(109 ,21);
Silverpiano5_r13_c2_f2.src = "Silverpiano5_r13_c2_f2.jpg";
Silverpiano5_r13_c2_f1 = new Image(109 ,21);
Silverpiano5_r13_c2_f1.src = "Silverpiano5_r13_c2.jpg";
Silverpiano5_r15_c2_f2 = new Image(109 ,21);
Silverpiano5_r15_c2_f2.src = "Silverpiano5_r15_c2_f2.jpg";
Silverpiano5_r15_c2_f1 = new Image(109 ,21);
Silverpiano5_r15_c2_f1.src = "Silverpiano5_r15_c2.jpg";
}
// stop hiding -->
</script>
<tr>

As I've said I'm not a coder, but I do recognize some
stuff about this. Thanks,...Brightbelt
-----Original Message-----
Under Tools | Web or Site Setting, Advanced tab, enable viewing of hidden folders.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp




.
 
B

Brightbelt

Well -- I've tried but it still gives me an error window.
What I did was delete the javascript code in the heads of
all the pages and put it after the <body> tag on the
Left.htm page. And it still doesn't fix the error. Just
in case we're maybe mixing messages, here's the type of
error window I get:

Internet Explorer Script Error
! An error has occurred in the script on this page
Line: 21
CHar: 1
Error: Object Expected
Code: 0
Url: file://C:\Documents and Settings\Default\Local
Settings\TemporaryInternetFiles\FrontpageTempDir\pvw5.htm

I hope that helps somewhat. I'm at a loss. Like I said, I
deleted the javascript code from the heads of all the
pages and put it after the <body> tag on
Left.htm . ...Brightbelt

-----Original Message-----
#1 Yes

#2 However if you already have it in the head section of
your pages you can either delete it from
those pages and leave it on the top.htm page but moved
to appear after the said:
You only need to be concerned with the JavaScript that
is in the head section, and you should not
have the same exact script on a page more than once as
the this will cause a conflict between the
two scripts.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

OK-
Thanks I found the shared border page. Now, just to be
certain, is the following the code you're saying should
be either in the head of all the pages or in the body of
the share border page?

<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers

/* Functions that finds images. */
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))
0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!
x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++] =x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>

And more questions....as I already have this in the head
of all my pages, can I also put it in the body of the
shared border page ? You were saying either/or and I'm
asking if I can do both, since the the above javascript
being in the head of all pages isn't working it seems.
Are you talking about the javascript code table/list of
images ? That would be the following...

<table border="0" cellpadding="0" cellspacing="0"
width="145">
<!-- fwtable fwsrc="D:\My Documents\My
Picturesb\SilverPiano5.png" fwbase="Silverpiano5.jpg"
fwstyle="FrontPage" fwdocid = "742308039" fwnested=""0" --<script language="JavaScript">
<!-- hide
if (document.images) {
fwcolorpiano5_r2_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f2.src = "fwcolorpiano5_r2_c2_f2.jpg";
fwcolorpiano5_r2_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f1.src = "fwcolorpiano5_r2_c2.jpg";
fwcolorpiano5_r4_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f2.src = "fwcolorpiano5_r4_c2_f2.jpg";
fwcolorpiano5_r4_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f1.src = "fwcolorpiano5_r4_c2.jpg";
fwcolorpiano5_r6_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f2.src = "fwcolorpiano5_r6_c2_f2.jpg";
fwcolorpiano5_r6_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f1.src = "fwcolorpiano5_r6_c2.jpg";
fwcolorpiano5_r8_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f2.src = "fwcolorpiano5_r8_c2_f2.jpg";
fwcolorpiano5_r8_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f1.src = "fwcolorpiano5_r8_c2.jpg";
fwcolorpiano5_r9_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f2.src = "fwcolorpiano5_r9_c2_f2.jpg";
fwcolorpiano5_r9_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f1.src = "fwcolorpiano5_r9_c2.jpg";
fwcolorpiano5_r11_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f2.src
= "fwcolorpiano5_r11_c2_f2.jpg";
fwcolorpiano5_r11_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f1.src = "fwcolorpiano5_r11_c2.jpg";
Silverpiano5_r13_c2_f2 = new Image(109 ,21);
Silverpiano5_r13_c2_f2.src = "Silverpiano5_r13_c2_f2.jpg";
Silverpiano5_r13_c2_f1 = new Image(109 ,21);
Silverpiano5_r13_c2_f1.src = "Silverpiano5_r13_c2.jpg";
Silverpiano5_r15_c2_f2 = new Image(109 ,21);
Silverpiano5_r15_c2_f2.src = "Silverpiano5_r15_c2_f2.jpg";
Silverpiano5_r15_c2_f1 = new Image(109 ,21);
Silverpiano5_r15_c2_f1.src = "Silverpiano5_r15_c2.jpg";
}
// stop hiding -->
</script>
<tr>

As I've said I'm not a coder, but I do recognize some
stuff about this. Thanks,...Brightbelt
-----Original Message-----
Under Tools | Web or Site Setting, Advanced tab,
enable
viewing of hidden folders.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for
FrontPage
support see:
wrote
in message
Hey-
I know in past (and maybe this) versions of FP, I would
see a 'Borders' folder when shared borders was used. I
see no 'Borders' folder in my web and I'm using shared
borders. So I need to know where to get to the shared
border page somehow. I just don't see it anywhere.
Thanks,...Brightbelt


-----Original Message-----
Hi Thomas-
I fixed the scroll - found out there was content that
somehow got erased from the page (Can't explain that
one....). As for the preload images error, I'm exporting
the piano graphic from MM Fireworks into FP using
the
FP
Html code option, copying and pasting the graphic from
the Html page onto my desired page in FP. And I'm
cutting
and pasting the javascript into the <head> if it's not
there already.
I'm not sure of what to change for this problem or
what
I need to do so that preload has the desired object in
the code to avoid error. Thanks for your
help,...Brightbelt

-----Original Message-----
Ok-
So what do I do about it ? Do I need to copy the
table/navigation graphic to every page even though it's
a
shared border ?

Brightbelt


-----Original Message-----
1. preLoadImages is not defined is the JavaScript
error
on your pages.
2. You will only see a scrollbar when you have content
the exceeds the browser's window.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick
Links,
etc.
==============================================
To assist you in getting the best answers for
FrontPage
support see:
http://www.net- sites.com/sitebuilder/newsgroups.asp

"Brightbelt"
wrote
in message
Hi-
I'm on FP 2003, Win XP Pro. My site seemingly
publishes
Ok, but when I browse it, the bottom left hand url
on
the
task bar says there is an error on every page. Also,
the
Compositions page has no scroll bar on it !! It even
previews the browser in FP with no scroll bar. My
site
is,.. Http://www.frankbright.com . I hope I can fix
this
as I am not a coder. Help is appreciated,...Many
Thanks,...Brightbelt


.

.

.



.



.
 
B

Brightbelt

Hi Jon-
I didn't see your message until now. What you suggested
worked. Thank you. I do want to ask, though,...will that
stop my images from preloading ? Thanks,...Brightbelt
 
B

Brightbelt

Hi Jon & Thomas-
In case you didn't see my message above, I did what Jon
suggested...ie, that the javascript in the head preloads
my images, so I don't need the onload="preload Images();"
in the body tag. I took it out and that did fix the
problem. Many, Many Thanks! ....Brightbelt

-----Original Message-----
Well -- I've tried but it still gives me an error window.
What I did was delete the javascript code in the heads of
all the pages and put it after the <body> tag on the
Left.htm page. And it still doesn't fix the error. Just
in case we're maybe mixing messages, here's the type of
error window I get:

Internet Explorer Script Error
! An error has occurred in the script on this page
Line: 21
CHar: 1
Error: Object Expected
Code: 0
Url: file://C:\Documents and Settings\Default\Local
Settings\TemporaryInternetFiles\FrontpageTempDir\pvw5.htm

I hope that helps somewhat. I'm at a loss. Like I said, I
deleted the javascript code from the heads of all the
pages and put it after the <body> tag on
Left.htm . ...Brightbelt

-----Original Message-----
#1 Yes

#2 However if you already have it in the head section
of
your pages you can either delete it from
those pages and leave it on the top.htm page but moved
to appear after the said:
You only need to be concerned with the JavaScript that
is in the head section, and you should not
have the same exact script on a page more than once as
the this will cause a conflict between the
two scripts.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Brightbelt" <[email protected]>
wrote
in message
OK-
Thanks I found the shared border page. Now, just to be
certain, is the following the code you're saying should
be either in the head of all the pages or in the body of
the share border page?

<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers

/* Functions that finds images. */
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))
0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!
x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++] =x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&& (x=a
)&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>

And more questions....as I already have this in the head
of all my pages, can I also put it in the body of the
shared border page ? You were saying either/or and I'm
asking if I can do both, since the the above javascript
being in the head of all pages isn't working it seems.
Are you talking about the javascript code table/list of
images ? That would be the following...

<table border="0" cellpadding="0" cellspacing="0"
width="145">
<!-- fwtable fwsrc="D:\My Documents\My
Picturesb\SilverPiano5.png" fwbase="Silverpiano5.jpg"
fwstyle="FrontPage" fwdocid = "742308039" fwnested=""0" --

<script language="JavaScript">
<!-- hide
if (document.images) {
fwcolorpiano5_r2_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f2.src = "fwcolorpiano5_r2_c2_f2.jpg";
fwcolorpiano5_r2_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r2_c2_f1.src = "fwcolorpiano5_r2_c2.jpg";
fwcolorpiano5_r4_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f2.src = "fwcolorpiano5_r4_c2_f2.jpg";
fwcolorpiano5_r4_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r4_c2_f1.src = "fwcolorpiano5_r4_c2.jpg";
fwcolorpiano5_r6_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f2.src = "fwcolorpiano5_r6_c2_f2.jpg";
fwcolorpiano5_r6_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r6_c2_f1.src = "fwcolorpiano5_r6_c2.jpg";
fwcolorpiano5_r8_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f2.src = "fwcolorpiano5_r8_c2_f2.jpg";
fwcolorpiano5_r8_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r8_c2_f1.src = "fwcolorpiano5_r8_c2.jpg";
fwcolorpiano5_r9_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f2.src = "fwcolorpiano5_r9_c2_f2.jpg";
fwcolorpiano5_r9_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r9_c2_f1.src = "fwcolorpiano5_r9_c2.jpg";
fwcolorpiano5_r11_c2_f2 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f2.src
= "fwcolorpiano5_r11_c2_f2.jpg";
fwcolorpiano5_r11_c2_f1 = new Image(109 ,25);
fwcolorpiano5_r11_c2_f1.src = "fwcolorpiano5_r11_c2.jpg";
Silverpiano5_r13_c2_f2 = new Image(109 ,21);
Silverpiano5_r13_c2_f2.src = "Silverpiano5_r13_c2_f2.jpg";
Silverpiano5_r13_c2_f1 = new Image(109 ,21);
Silverpiano5_r13_c2_f1.src = "Silverpiano5_r13_c2.jpg";
Silverpiano5_r15_c2_f2 = new Image(109 ,21);
Silverpiano5_r15_c2_f2.src = "Silverpiano5_r15_c2_f2.jpg";
Silverpiano5_r15_c2_f1 = new Image(109 ,21);
Silverpiano5_r15_c2_f1.src = "Silverpiano5_r15_c2.jpg";
}
// stop hiding -->
</script>
<tr>

As I've said I'm not a coder, but I do recognize some
stuff about this. Thanks,...Brightbelt

-----Original Message-----
Under Tools | Web or Site Setting, Advanced tab, enable
viewing of hidden folders.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage
support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

in message
Hey-
I know in past (and maybe this) versions of FP, I
would
see a 'Borders' folder when shared borders was used. I
see no 'Borders' folder in my web and I'm using shared
borders. So I need to know where to get to the shared
border page somehow. I just don't see it anywhere.
Thanks,...Brightbelt


-----Original Message-----
Hi Thomas-
I fixed the scroll - found out there was content
that
somehow got erased from the page (Can't explain that
one....). As for the preload images error, I'm
exporting
the piano graphic from MM Fireworks into FP using the
FP
Html code option, copying and pasting the graphic from
the Html page onto my desired page in FP. And I'm
cutting
and pasting the javascript into the <head> if
it's
hand
bar.
.
 
A

Andrew Murray

shared borders are in the _borders folder (probably a hidden file if you can't
see it in the 'open file' list).
 

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