dynamic web template , jimco and all

J

JacquieCC

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
 
T

Tom [Pepper] Willett

You need to fill out the support form at www.jimcosoftware.com

--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
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
 
J

JacquieCC

Hi, have sent a mail to Jimco - but it is not just the Jimco that has goen
-also the buttom images that preload on a lne just befroe the maineditable
regio -such as:
<body
onload="FP_preloadImgs(/*url*/'Buttons/button3aptsmap.jpg',/*url*/'Buttons/button2aptsmap.jpg',/*url*/'Buttons/button3clickheregreen.jpg',/*url*/'Buttons/button2clickheregreen.jpg',/*url*/'Buttons/button3BookNowHotelsapts.jpg',/*url*/'Buttons/button2BookNowHotelsapts.jpg',/*url*/'Buttons/button3aptcomments.jpg',/*url*/'Buttons/button2aptcommenets.jpg')" topmargin="0" leftmargin="0">

<table cellpadding="0" cellspacing="0" width="756" style="word-spacing: 0;
text-indent: 0; text-align: left; margin: 0; padding: 0">
<!-- MSTableType="layout" -->
has also disappeared when the menu DWT is installed on eache page - the
buttons don't work any more - any ideas? Thebutons are different on every
page,
rgeards,
Jacquie
 
J

JacquieCC

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
 
R

Ronx

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.
 
J

JacquieCC

Hi Ronx, sorry - I have not understood fully what you have said below -
basically I have madeall my pages then inserte them into or insertedf the DWT
onto them - therfore the whole page should be in the editable region - but it
isn't - what should I put at the top of each page to make it all come within
the editable region?
regards,
JacquieCC


Ronx said:
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

 
J

JacquieCC

Hi Ronx,
sorry to keep on however - do you mean that as I did the links with Jimco
before the header was on the page - they are now routed a different way and
therfore the javascript which does not update is pooped and I have to do them
all again with the dwt on the page?
regards,
Jacquie

Ronx said:
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

 
R

Ronx

As far as your pages are concerned, anything between <body> and
</body> usually goes into the content editable region. Anything in
the <head> section will be overwritten by the content in the DWT,
unless there are editable regions in the <head> (normally there is an
editable region containing the <title> tag, so the title tag in the
page would not be overwritten.
The <body> tag itself is always non-editable, and will always be
overwritten by the <body> tag in the DWT.
Anything in the page that you want to keep in the page must have an
equivalent in an editable region in the DWT such as the
<title>...</title> tag, or must be between the <body>...</body> tags.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

JacquieCC said:
Hi Ronx, sorry - I have not understood fully what you have said
below -
basically I have madeall my pages then inserte them into or
insertedf the DWT
onto them - therfore the whole page should be in the editable
region - but it
isn't - what should I put at the top of each page to make it all
come within
the editable region?
regards,
JacquieCC


Ronx said:
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

:

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/

message
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

 
R

Ronx

Going by the code snippets you posted, I would say that you should not
have any problems with the Spawn links and windows. Attaching a DWT
to a page will only affect links and JavaScript in the non-editable
regions of the DWT itself, any links and JavaScript in the page
content will not be affected.
If the links are in the page header, and if this is applied through an
include or the DWT, then the links may be "pooped" - I would have to
see the page to be certain.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

JacquieCC said:
Hi Ronx,
sorry to keep on however - do you mean that as I did the links with
Jimco
before the header was on the page - they are now routed a different
way and
therfore the javascript which does not update is pooped and I have
to do them
all again with the dwt on the page?
regards,
Jacquie

Ronx said:
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

:

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/

message
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

 
J

Jim Cheshire

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

Jacquie,

I suspect that you have added Spawn to a page instead of to the DWT
itself. If you want to use Spawn with a DWT, you'd be best off by
adding the script to the DWT. Otherwise, it will be removed when the
DWT is applied.

Note that you can also add the script into its own editable region.
Doing so requires that you manually add it in Code view.
Jim Cheshire
Jimco Software
FrontPage Add-ins and Software Reviews
http://www.jimcosoftware.com

Author:
Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Expression Web Designer
 

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