Anything in the DWT that is in an editable region will not, in
general, be placed on an attached page, unless that page is brand new
and blank, or that editable region is totally blank in the page.
Anything in the DWT not in an editable region should be copied onto
every attached page - some links will be changed to suit different
folder levels, but any links in JavaScript may not be updated. The
preload button links in the <body> tag should be updated to suit
different folder levels.
The only other changes that may happen is the FrontPage behaviours
code may be removed if the behaviour is not used anywhere in the page.
However, Spawn should not be affected in any way, since the code in
the non-editable <head> section has no links and works with parameters
sent from the links in the editable region.
If you are using different IBs in the page, the preload script in the
<body> tag will be amended to include the additional buttons. Try
switching between Code and Design view - this often causes the scripts
to update.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support:
http://www.frontpagemvps.com/
JacquieCC said:
Hi,
I have now sorted the problem with the font changing and the problem
with
the bold -to boger font etc.
My problem remain with the jimco links. It is not a probnlem with
the jimco
though but a problem with the editable content not being imported
in full.
On all the pages anything above
<!-- #BeginEditable "Content" -->
<table cellpadding="0" cellspacing="0" width="756" height="1250">
<!-- MSTableType="layout" -->
does not get put on the editable content - I therfore lose all the
preloaded
images and directories for jimco - I presume this is why they don't
work even
though all the buttons and jimco links are on the page. Basically
above the
code aboe on that specific page was :
<html>
<head>
<meta http-equiv="Content-Language" content="it">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Hotel Amerikan</title>
<script language="JavaScript">
<!--
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_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_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>
<script language="javascript" id="jcSpawn">
// Jimco Add-ins Spawn JavaScript
// This script is freely redistributable. //-->
function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
var windowOptions;
if (scaleType == 'percent')
{
w = (w * screen.availWidth) / 100;
h = (h * screen.availHeight) / 100;
}
if (x == 'center')
{
x = (screen.availWidth - w) / 2;
y = (screen.availHeight - h) / 2;
}
windowOptions = options + ',width=' + w + ',height=' + h +
',left=' + x +
',top=' + y;
newWindow = window.open(url, name, windowOptions);
newWindow.focus();
}
</script>
</head>
<body
onload="FP_preloadImgs(/*url*/'../buttons/button3maphotels.jpg',/*url*/'../buttons/button2maphotels.jpg',/*url*/'../buttons/buttonphtogallery3.jpg',/*url*/'../buttons/buttonphotgallery2.jpg',/*url*/'../buttons/button3booknowhotelsandapartments.jpg',/*url*/'../buttons/button2booknowhotelsandapartments.jpg',/*url*/'../buttons/button3comments4star.jpg',/*url*/'../buttons/button2comments4star.jpg')"
topmargin="0" leftmargin="0">
<table cellpadding="0" cellspacing="0" width="756" height="1250">
<!-- MSTableType="layout" -->
Sorry for the long mail but is ther any way I can include this in
the
editable regions so that all the pages are loaded properly - however
all
pages are different of course.
thanks for all your help,
JacquieCC
Ronx said:
Please supply a link to an affected page.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support:
http://www.frontpagemvps.com/
Hi there,
I am totally desperate now - the dynamic template has done the
following to
over 100 pages in two different languages - that is over 200
pages
with about
900 jimco spawn links .
the jimco links have gone totally heywire and either don't come
upas
a
separate window or don't come up at all. The font has changed
frostraight
ariel to ariel snas serif (yuk) and the hyperlinks on all my
pages
now do
what is in the headeron the dynamic web template - that is they
got
to bold
and increse in size - my whole site map which is in a table is
pooped it is
like a jelly now!! I am despeerately desperate so if someone
could
whizz
over here to the alps and put it right I will be forever
indebited
as half
the village is waiting with hand on mouse to look at this website
tonight - I
am totally pooped!! Please help on despeerate woman!|!
regards,
Jacquie