I am wondering why it seems to be technically impossible to link out of a
store page (generated by shopsite and a custom page template) to a non-store
page. Is that assumption true- and if so are there any work-arounds?
I am wondering why it seems to be technically impossible to link out of a
store page (generated by shopsite and a custom page template) to a non-store
page. Is that assumption true- and if so are there any work-arounds?
I'm not sure what you mean. You can include a link to any url on a page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out of a
store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
I have some non-store front pages (just HTML) and then I have store pages
(which use a custom template with Shopsite tags). My host requires store
pages to be in a separate folder called store. The store pages are designed
to look alot like the regular site pages with a banner that has an image map
with links back to the non-store pages. In the store pages I have gone into
the code and changed the HREFs to point to the non-store pages with no
effect. I have tried both relative and absolute urls. So it seemed like
something was preventing a link out from the Shopsite generated pages. Any
ideas?
Paul S
"Jim" <jstavast@xmission.com> wrote in message
news:e9rfbs$rg8$1@eval.shopsite.com...
I'm not sure what you mean. You can include a link to any url on a page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out of a
store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
Should work. What is the url to a page that has the problem and to the
page you are trying to go to? A copy of the section of the template that
generates the links might also be helpful.
Jim
Paul Schuster wrote:
I have some non-store front pages (just HTML) and then I have store
pages (which use a custom template with Shopsite tags). My host requires
store pages to be in a separate folder called store. The store pages are
designed to look alot like the regular site pages with a banner that has
an image map with links back to the non-store pages. In the store pages
I have gone into the code and changed the HREFs to point to the non-store
pages with no effect. I have tried both relative and absolute urls. So it
seemed like something was preventing a link out from the Shopsite
generated pages. Any ideas?
Paul S
"Jim" <jstavast@xmission.com> wrote in message
news:e9rfbs$rg8$1@eval.shopsite.com...
I'm not sure what you mean. You can include a link to any url on a page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out of
a store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
Jim,
The "storefront" pages are here
http://www.apartswarehouse.com/store/index.html and the regular web pages
here: http://www.apartswarehouse.com/index.html
Its the banner links in the white bar across the top that I wanted to link
back to the non-store pages from the store template.
Whats significant is that on my local machine the template links do link
back properly to the non-store pages but not once they are uploaded to the
host server. The directory structure is similar and really should work in
both. Plus I tried using relative and absolute urls. But I must be missing
something.
Heres a copy of a section of the template. Its long because I've got image
maps with rollover scripts in it. Sorry about the length...
Thanks for your help.
Paul
[-- DEFINE PAGE --]
html
head
title>[-- PAGE.Name Remove_HTML --]</title
link href="2col-fixed.css" rel="stylesheet" type="text/css"
SCRIPT LANGUAGE="JavaScript"
!-- Boilerplate1 Preload Script Begins --
!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src =
changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_ImageMap_home_over =
newImage("media/images/home-ImageMap_home_over.gif");
home_ImageMap_account_over =
newImage("media/images/home-ImageMap_account_over.gif");
home_ImageMap_about_down =
newImage("media/images/home-ImageMap_about_down.gif");
home_ImageMap_home_down =
newImage("media/images/home-ImageMap_home_down.gif");
youraccount_ImageMap_account_over =
newImage("media/images/youraccount-ImageMap_accoun.gif");
youraccount_ImageMap_account_down =
newImage("media/images/youraccount-ImageMap_acc-11.gif");
youraccount_ImageMap_account_click =
newImage("media/images/youraccount-ImageMap_acc-12.gif");
youraccount_ImageMap_contact_down =
newImage("media/images/youraccount-ImageMap_contac.gif");
youraccount_ImageMap_about_down =
newImage("media/images/youraccount-ImageMap_about_.gif");
youraccount_ImageMap_links_down =
newImage("media/images/youraccount-ImageMap_links_.gif");
shoppingcart_ImageMap_cart_over =
newImage("media/images/shoppingcart-ImageMap_cart_.gif");
shoppingcart_ImageMap_cart_down =
newImage("media/images/shoppingcart-ImageMap_ca-18.gif");
shoppingcart_ImageMap_cart_click =
newImage("media/images/shoppingcart-ImageMap_ca-19.gif");
shoppingcart_ImageMap_links_down =
newImage("media/images/shoppingcart-ImageMap_links.gif");
logo_ImageMap_logo_over =
newImage("media/images/logo-ImageMap_logo_over.gif");
logo_ImageMap_logo_down =
newImage("media/images/logo-ImageMap_logo_down.gif");
aboutus_ImageMap_about_over =
newImage("media/images/aboutus-ImageMap_about_over.gif");
aboutus_ImageMap_about_down =
newImage("media/images/aboutus-ImageMap_about_down.gif");
contact_ImageMap_contact_over =
newImage("media/images/contact-ImageMap_contact_ov.gif");
contact_ImageMap_contact_down =
newImage("media/images/contact-ImageMap_contact_do.gif");
links_ImageMap_cart_down =
newImage("media/images/links-ImageMap_cart_down.gif");
links_ImageMap_links_over =
newImage("media/images/links-ImageMap_links_over.gif");
links_ImageMap_links_down =
newImage("media/images/links-ImageMap_links_down.gif");
boilerplate1_12_ImageMap_cart_down =
newImage("media/images/boilerplate1_12-ImageMap_ca.gif");
boilerplate1_13_ImageMap_contact_down =
newImage("media/images/boilerplate1_13-ImageMap_co.gif");
boilerplate1_13_ImageMap_about_down =
newImage("media/images/boilerplate1_13-ImageMap_ab.gif");
boilerplate1_13_ImageMap_links_down =
newImage("media/images/boilerplate1_13-ImageMap_li.gif");
preloadFlag = true;
}
}
// --
/SCRIPT
!-- Boilerplate1 Preload Script Ends --
/HEAD
BODY BGCOLOR=#FFFFFF ONLOAD="preloadImages();"
div align="center"
table border="1" bgcolor="#FFFFFF"
tr><td colspan=3
!-- ImageReady Slices (boilerplate1.psd) --
TABLE WIDTH=737 BORDER=0 CELLPADDING=0 CELLSPACING=0
TR
TD
IMG SRC="media/images/spacer.gif" WIDTH=57 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=17 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=55 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=9 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=35 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=52 HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=333
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=44 HEIGHT=1></TD
/TR
TR
TD COLSPAN=7
IMG SRC="media/images/boilerplate1_01.gif" WIDTH=360
HEIGHT=36 BORDER=0 USEMAP="#boilerplate1_01_Map"></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_02.gif" WIDTH=377
HEIGHT=36></TD
/TR
TR
TD
!-- NOTE: The A HREF pointing to the non-store pages has an
identical banner but different path. Non-site pages are not under "store/"
they are under "...images" --
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="home" SRC="media/images/home.gif"
WIDTH=57 HEIGHT=17 BORDER=0 USEMAP="#home_Map"></A></TD
!-- "..account.html below is a temporary file and must changed
probably to "account.html" when this feature is activated--
TD COLSPAN=3
A HREF="http://www.apartswarehouse.com/account.html"
ONMOUSEOVER="window.status='Your Account';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="youraccount"
SRC="media/images/youraccount.gif" WIDTH=81 HEIGHT=17 BORDER=0
USEMAP="#youraccount_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='Your Shopping Cart';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="shoppingcart"
SRC="media/images/shoppingcart.gif" WIDTH=87 HEIGHT=17 BORDER=0
USEMAP="#shoppingcart_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=29></TD
TD ROWSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="logo" SRC="media/images/logo.gif"
WIDTH=333 HEIGHT=29 BORDER=0 USEMAP="#logo_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=44
HEIGHT=29></TD
/TR
TR
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/aboutus.html"
ONMOUSEOVER="window.status='About Us Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="aboutus" SRC="media/images/aboutus.gif"
WIDTH=74 HEIGHT=12 BORDER=0 USEMAP="#aboutus_Map"></A></TD
TD
A HREF="http://www.apartswarehouse.com/contact.html"
ONMOUSEOVER="window.status='Contacts Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="contact" SRC="media/images/contact.gif"
WIDTH=55 HEIGHT=12 BORDER=0 USEMAP="#contact_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/links.html"
ONMOUSEOVER="window.status='Links Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="links" SRC="media/images/links.gif"
WIDTH=44 HEIGHT=12 BORDER=0 USEMAP="#links_Map"></A></TD
TD
IMG NAME="boilerplate1_12"
SRC="media/images/boilerplate1_12.gif" WIDTH=52 HEIGHT=12></TD
/TR
TR
TD COLSPAN=7
IMG NAME="boilerplate1_13"
SRC="media/images/boilerplate1_13.gif" WIDTH=360 HEIGHT=41></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_14.gif" WIDTH=377
HEIGHT=41></TD
/TR
/TABLE
MAP NAME="boilerplate1_01_Map"
AREA SHAPE="rect" ALT="Home Page" COORDS="316,6,318,7"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
AREA SHAPE="rect" ALT="Home Page" COORDS="304,9,309,10"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
/MAP
MAP NAME="home_Map"
AREA SHAPE="rect" ALT="Home" COORDS="17,2,50,15"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_home_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_home_down.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_home_over.gif', 'logo',
'media/images/logo.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,57,17"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="youraccount_Map"
AREA SHAPE="rect" ALT="Your Account" COORDS="6,5,75,12"
HREF="http://www.apartswarehouse.com/account.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-11.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONCLICK="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-12.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,81,17"
HREF="http://www.apartswarehouse.com/account.html"
/MAP
MAP NAME="shoppingcart_Map"
AREA SHAPE="rect" ALT="Shopping Cart" COORDS="7,5,81,15"
HREF="http://www.apartswarehouse.com/store/index.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif'); return true;"
ONMOUSEOUT="changeImages('shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_12', 'media/images/boilerplate1_12.gif'); return true;"
ONMOUSEDOWN="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-18.gif', 'links',
'media/images/links-ImageMap_cart_down.gif', 'boilerplate1_12',
'media/images/boilerplate1_12-ImageMap_ca.gif'); return true;"
ONMOUSEUP="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif', 'links',
'media/images/links.gif', 'boilerplate1_12',
'media/images/boilerplate1_12.gif'); return true;"
ONCLICK="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-19.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,87,17" HREF="index.html"
/MAP
MAP NAME="logo_Map"
AREA SHAPE="rect" ALT="A Parts Home" COORDS="0,0,333,29" HREF="index.html"
TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEOUT="changeImages('logo', 'media/images/logo.gif'); return
true;"
ONMOUSEDOWN="changeImages('logo',
'media/images/logo-ImageMap_logo_down.gif'); return true;"
ONMOUSEUP="changeImages('logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29" HREF="#"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="aboutus_Map"
AREA SHAPE="rect" ALT="About A Parts" COORDS="19,2,66,9"
HREF="http://www.apartswarehouse.com/aboutus.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus', 'media/images/aboutus.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_about_down.gif', 'youraccount',
'media/images/youraccount-ImageMap_about_.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_ab.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,74,12"
HREF="http://www.apartswarehouse.com/aboutus.html"
/MAP
MAP NAME="contact_Map"
AREA SHAPE="rect" ALT="Contact A Parts" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'contact',
'media/images/contact-ImageMap_contact_ov.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'contact', 'media/images/contact.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_contac.gif', 'contact',
'media/images/contact-ImageMap_contact_do.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_co.gif'); return true;"
ONMOUSEUP="changeImages('youraccount', 'media/images/youraccount.gif',
'contact', 'media/images/contact-ImageMap_contact_ov.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html"
/MAP
MAP NAME="links_Map"
AREA SHAPE="rect" ALT="Links" COORDS="10,2,36,9"
HREF="http://www.apartswarehouse.com/links.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'links',
'media/images/links-ImageMap_links_over.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_links_.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_links.gif', 'links',
'media/images/links-ImageMap_links_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_li.gif'); return true;"
ONMOUSEUP="changeImages('youraccount', 'media/images/youraccount.gif',
'shoppingcart', 'media/images/shoppingcart.gif', 'links',
'media/images/links-ImageMap_links_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,44,12"
HREF="http://www.apartswarehouse.com/links.html"
/MAP
!-- End ImageReady Slices --
/td></tr
Thanks again Jim.
Paul S.
"Jim" <jstavast@xmission.com> wrote in message
news:ea5cni$fd1$1@eval.shopsite.com...
Should work. What is the url to a page that has the problem and to the
page you are trying to go to? A copy of the section of the template that
generates the links might also be helpful.
Jim
Paul Schuster wrote:
I have some non-store front pages (just HTML) and then I have store
pages (which use a custom template with Shopsite tags). My host requires
store pages to be in a separate folder called store. The store pages are
designed to look alot like the regular site pages with a banner that has
an image map with links back to the non-store pages. In the store pages
I have gone into the code and changed the HREFs to point to the non-store
pages with no effect. I have tried both relative and absolute urls. So it
seemed like something was preventing a link out from the Shopsite
generated pages. Any ideas?
Paul S
"Jim" <jstavast@xmission.com> wrote in message
news:e9rfbs$rg8$1@eval.shopsite.com...
I'm not sure what you mean. You can include a link to any url on a page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out of
a store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
Utilities -> Publish instead of just the publish tab for template changes.
That worked for most of the pages. Now I just have to figure out why a few
of the store pages are not using the latest template even though its
showing in the template field on the Edit Page Layout page. You were a big
help though. Thanks so much!
Paul
In your template you provided you have links like:
A HREF="http://www.apartswarehouse.com/aboutus.html"
However, when I view the source of the page at
http://www.apartswarehouse.com/store/index.html, the links look like:
A HREF="aboutus.html"
There is no reason ShopSite would 'change' the HTML code like this from
your template when creating the final page. So either the template code
you pasted below is not from the custom page template
'storepage_template2.html' that created this page, or you have not
published your store since making these changes to the template.
Note that after changes to a template you should Regenerate from
Utilities -> Publish instead of just hitting the Publish tab, because
editing of the templates does not automatically trigger the pages or
products assigned those templates to be published by the next partial
regen when you click the Publish tab.
-Loren
Paul Schuster wrote:
Jim,
The "storefront" pages are here
http://www.apartswarehouse.com/store/index.html and the regular web pages
here: http://www.apartswarehouse.com/index.html
Its the banner links in the white bar across the top that I wanted to
link
back to the non-store pages from the store template.
Whats significant is that on my local machine the template links do link
back properly to the non-store pages but not once they are uploaded to
the
host server. The directory structure is similar and really should work in
both. Plus I tried using relative and absolute urls. But I must be
missing
something.
Heres a copy of a section of the template. Its long because I've got
image
maps with rollover scripts in it. Sorry about the length...
Thanks for your help.
Paul
[-- DEFINE PAGE --]
html
head
title>[-- PAGE.Name Remove_HTML --]</title
link href="2col-fixed.css" rel="stylesheet" type="text/css"
SCRIPT LANGUAGE="JavaScript"
!-- Boilerplate1 Preload Script Begins --
!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src =
changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_ImageMap_home_over =
newImage("media/images/home-ImageMap_home_over.gif");
home_ImageMap_account_over =
newImage("media/images/home-ImageMap_account_over.gif");
home_ImageMap_about_down =
newImage("media/images/home-ImageMap_about_down.gif");
home_ImageMap_home_down =
newImage("media/images/home-ImageMap_home_down.gif");
youraccount_ImageMap_account_over =
newImage("media/images/youraccount-ImageMap_accoun.gif");
youraccount_ImageMap_account_down =
newImage("media/images/youraccount-ImageMap_acc-11.gif");
youraccount_ImageMap_account_click =
newImage("media/images/youraccount-ImageMap_acc-12.gif");
youraccount_ImageMap_contact_down =
newImage("media/images/youraccount-ImageMap_contac.gif");
youraccount_ImageMap_about_down =
newImage("media/images/youraccount-ImageMap_about_.gif");
youraccount_ImageMap_links_down =
newImage("media/images/youraccount-ImageMap_links_.gif");
shoppingcart_ImageMap_cart_over =
newImage("media/images/shoppingcart-ImageMap_cart_.gif");
shoppingcart_ImageMap_cart_down =
newImage("media/images/shoppingcart-ImageMap_ca-18.gif");
shoppingcart_ImageMap_cart_click =
newImage("media/images/shoppingcart-ImageMap_ca-19.gif");
shoppingcart_ImageMap_links_down =
newImage("media/images/shoppingcart-ImageMap_links.gif");
logo_ImageMap_logo_over =
newImage("media/images/logo-ImageMap_logo_over.gif");
logo_ImageMap_logo_down =
newImage("media/images/logo-ImageMap_logo_down.gif");
aboutus_ImageMap_about_over =
newImage("media/images/aboutus-ImageMap_about_over.gif");
aboutus_ImageMap_about_down =
newImage("media/images/aboutus-ImageMap_about_down.gif");
contact_ImageMap_contact_over =
newImage("media/images/contact-ImageMap_contact_ov.gif");
contact_ImageMap_contact_down =
newImage("media/images/contact-ImageMap_contact_do.gif");
links_ImageMap_cart_down =
newImage("media/images/links-ImageMap_cart_down.gif");
links_ImageMap_links_over =
newImage("media/images/links-ImageMap_links_over.gif");
links_ImageMap_links_down =
newImage("media/images/links-ImageMap_links_down.gif");
boilerplate1_12_ImageMap_cart_down =
newImage("media/images/boilerplate1_12-ImageMap_ca.gif");
boilerplate1_13_ImageMap_contact_down =
newImage("media/images/boilerplate1_13-ImageMap_co.gif");
boilerplate1_13_ImageMap_about_down =
newImage("media/images/boilerplate1_13-ImageMap_ab.gif");
boilerplate1_13_ImageMap_links_down =
newImage("media/images/boilerplate1_13-ImageMap_li.gif");
preloadFlag = true;
}
}
// --
/SCRIPT
!-- Boilerplate1 Preload Script Ends --
/HEAD
BODY BGCOLOR=#FFFFFF ONLOAD="preloadImages();"
div align="center"
table border="1" bgcolor="#FFFFFF"
tr><td colspan=3
!-- ImageReady Slices (boilerplate1.psd) --
TABLE WIDTH=737 BORDER=0 CELLPADDING=0 CELLSPACING=0
TR
TD
IMG SRC="media/images/spacer.gif" WIDTH=57
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=17
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=55
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=9
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=35
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=52
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=333
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=44
HEIGHT=1></TD
/TR
TR
TD COLSPAN=7
IMG SRC="media/images/boilerplate1_01.gif" WIDTH=360
HEIGHT=36 BORDER=0 USEMAP="#boilerplate1_01_Map"></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_02.gif" WIDTH=377
HEIGHT=36></TD
/TR
TR
TD
!-- NOTE: The A HREF pointing to the non-store pages has an
identical banner but different path. Non-site pages are not under
"store/"
they are under "...images" --
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="home" SRC="media/images/home.gif"
WIDTH=57 HEIGHT=17 BORDER=0 USEMAP="#home_Map"></A></TD
!-- "..account.html below is a temporary file and must
changed
probably to "account.html" when this feature is activated--
TD COLSPAN=3
A HREF="http://www.apartswarehouse.com/account.html"
ONMOUSEOVER="window.status='Your Account';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="youraccount"
SRC="media/images/youraccount.gif" WIDTH=81 HEIGHT=17 BORDER=0
USEMAP="#youraccount_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='Your Shopping Cart';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="shoppingcart"
SRC="media/images/shoppingcart.gif" WIDTH=87 HEIGHT=17 BORDER=0
USEMAP="#shoppingcart_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=29></TD
TD ROWSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="logo" SRC="media/images/logo.gif"
WIDTH=333 HEIGHT=29 BORDER=0 USEMAP="#logo_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=44
HEIGHT=29></TD
/TR
TR
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/aboutus.html"
ONMOUSEOVER="window.status='About Us Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="aboutus"
SRC="media/images/aboutus.gif"
WIDTH=74 HEIGHT=12 BORDER=0 USEMAP="#aboutus_Map"></A></TD
TD
A HREF="http://www.apartswarehouse.com/contact.html"
ONMOUSEOVER="window.status='Contacts Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="contact"
SRC="media/images/contact.gif"
WIDTH=55 HEIGHT=12 BORDER=0 USEMAP="#contact_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/links.html"
ONMOUSEOVER="window.status='Links Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="links" SRC="media/images/links.gif"
WIDTH=44 HEIGHT=12 BORDER=0 USEMAP="#links_Map"></A></TD
TD
IMG NAME="boilerplate1_12"
SRC="media/images/boilerplate1_12.gif" WIDTH=52 HEIGHT=12></TD
/TR
TR
TD COLSPAN=7
IMG NAME="boilerplate1_13"
SRC="media/images/boilerplate1_13.gif" WIDTH=360 HEIGHT=41></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_14.gif" WIDTH=377
HEIGHT=41></TD
/TR
/TABLE
MAP NAME="boilerplate1_01_Map"
AREA SHAPE="rect" ALT="Home Page" COORDS="316,6,318,7"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
AREA SHAPE="rect" ALT="Home Page" COORDS="304,9,309,10"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
/MAP
MAP NAME="home_Map"
AREA SHAPE="rect" ALT="Home" COORDS="17,2,50,15"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_home_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_home_down.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_home_over.gif', 'logo',
'media/images/logo.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,57,17"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="youraccount_Map"
AREA SHAPE="rect" ALT="Your Account" COORDS="6,5,75,12"
HREF="http://www.apartswarehouse.com/account.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-11.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONCLICK="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-12.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,81,17"
HREF="http://www.apartswarehouse.com/account.html"
/MAP
MAP NAME="shoppingcart_Map"
AREA SHAPE="rect" ALT="Shopping Cart" COORDS="7,5,81,15"
HREF="http://www.apartswarehouse.com/store/index.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif'); return true;"
ONMOUSEOUT="changeImages('shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_12', 'media/images/boilerplate1_12.gif'); return true;"
ONMOUSEDOWN="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-18.gif', 'links',
'media/images/links-ImageMap_cart_down.gif', 'boilerplate1_12',
'media/images/boilerplate1_12-ImageMap_ca.gif'); return true;"
ONMOUSEUP="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif', 'links',
'media/images/links.gif', 'boilerplate1_12',
'media/images/boilerplate1_12.gif'); return true;"
ONCLICK="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-19.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,87,17" HREF="index.html"
/MAP
MAP NAME="logo_Map"
AREA SHAPE="rect" ALT="A Parts Home" COORDS="0,0,333,29"
HREF="index.html"
TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEOUT="changeImages('logo', 'media/images/logo.gif'); return
true;"
ONMOUSEDOWN="changeImages('logo',
'media/images/logo-ImageMap_logo_down.gif'); return true;"
ONMOUSEUP="changeImages('logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29" HREF="#"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="aboutus_Map"
AREA SHAPE="rect" ALT="About A Parts" COORDS="19,2,66,9"
HREF="http://www.apartswarehouse.com/aboutus.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus', 'media/images/aboutus.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_about_down.gif', 'youraccount',
'media/images/youraccount-ImageMap_about_.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_ab.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,74,12"
HREF="http://www.apartswarehouse.com/aboutus.html"
/MAP
MAP NAME="contact_Map"
AREA SHAPE="rect" ALT="Contact A Parts" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'contact',
'media/images/contact-ImageMap_contact_ov.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'contact', 'media/images/contact.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_contac.gif', 'contact',
'media/images/contact-ImageMap_contact_do.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_co.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount.gif',
'contact', 'media/images/contact-ImageMap_contact_ov.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html"
/MAP
MAP NAME="links_Map"
AREA SHAPE="rect" ALT="Links" COORDS="10,2,36,9"
HREF="http://www.apartswarehouse.com/links.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'links',
'media/images/links-ImageMap_links_over.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_links_.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_links.gif', 'links',
'media/images/links-ImageMap_links_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_li.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount.gif',
'shoppingcart', 'media/images/shoppingcart.gif', 'links',
'media/images/links-ImageMap_links_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,44,12"
HREF="http://www.apartswarehouse.com/links.html"
/MAP
!-- End ImageReady Slices --
/td></tr
Thanks again Jim.
Paul S.
"Jim" <jstavast@xmission.com> wrote in message
news:ea5cni$fd1$1@eval.shopsite.com...
Should work. What is the url to a page that has the problem and to the
page you are trying to go to? A copy of the section of the template
that
generates the links might also be helpful.
Jim
Paul Schuster wrote:
I have some non-store front pages (just HTML) and then I have store
pages (which use a custom template with Shopsite tags). My host
requires
store pages to be in a separate folder called store. The store pages
are
designed to look alot like the regular site pages with a banner that
has
an image map with links back to the non-store pages. In the store pages
I have gone into the code and changed the HREFs to point to the
non-store
pages with no effect. I have tried both relative and absolute urls. So
it
seemed like something was preventing a link out from the Shopsite
generated pages. Any ideas?
Paul S
"Jim" <jstavast@xmission.com> wrote in message
news:e9rfbs$rg8$1@eval.shopsite.com...
I'm not sure what you mean. You can include a link to any url on a
page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out
of
a store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
Loren,
Thats it! You are right about Regenerate from
Utilities -> Publish instead of just the publish tab for template
changes. That worked for most of the pages. Now I just have to figure out
why a few of the store pages are not using the latest template even
though its showing in the template field on the Edit Page Layout page.
You were a big help though. Thanks so much!
Paul
"Loren" <loren_d_c@yahoo.com> wrote in message
news:ea85a1$sev$1@eval.shopsite.com...
In your template you provided you have links like:
A HREF="http://www.apartswarehouse.com/aboutus.html"
However, when I view the source of the page at
http://www.apartswarehouse.com/store/index.html, the links look like:
A HREF="aboutus.html"
There is no reason ShopSite would 'change' the HTML code like this from
your template when creating the final page. So either the template code
you pasted below is not from the custom page template
'storepage_template2.html' that created this page, or you have not
published your store since making these changes to the template.
Note that after changes to a template you should Regenerate from
Utilities -> Publish instead of just hitting the Publish tab, because
editing of the templates does not automatically trigger the pages or
products assigned those templates to be published by the next partial
regen when you click the Publish tab.
-Loren
Paul Schuster wrote:
Jim,
The "storefront" pages are here
http://www.apartswarehouse.com/store/index.html and the regular web
pages
here: http://www.apartswarehouse.com/index.html
Its the banner links in the white bar across the top that I wanted to
link
back to the non-store pages from the store template.
Whats significant is that on my local machine the template links do link
back properly to the non-store pages but not once they are uploaded to
the
host server. The directory structure is similar and really should work
in
both. Plus I tried using relative and absolute urls. But I must be
missing
something.
Heres a copy of a section of the template. Its long because I've got
image
maps with rollover scripts in it. Sorry about the length...
Thanks for your help.
Paul
[-- DEFINE PAGE --]
html
head
title>[-- PAGE.Name Remove_HTML --]</title
link href="2col-fixed.css" rel="stylesheet" type="text/css"
SCRIPT LANGUAGE="JavaScript"
!-- Boilerplate1 Preload Script Begins --
!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src =
changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_ImageMap_home_over =
newImage("media/images/home-ImageMap_home_over.gif");
home_ImageMap_account_over =
newImage("media/images/home-ImageMap_account_over.gif");
home_ImageMap_about_down =
newImage("media/images/home-ImageMap_about_down.gif");
home_ImageMap_home_down =
newImage("media/images/home-ImageMap_home_down.gif");
youraccount_ImageMap_account_over =
newImage("media/images/youraccount-ImageMap_accoun.gif");
youraccount_ImageMap_account_down =
newImage("media/images/youraccount-ImageMap_acc-11.gif");
youraccount_ImageMap_account_click =
newImage("media/images/youraccount-ImageMap_acc-12.gif");
youraccount_ImageMap_contact_down =
newImage("media/images/youraccount-ImageMap_contac.gif");
youraccount_ImageMap_about_down =
newImage("media/images/youraccount-ImageMap_about_.gif");
youraccount_ImageMap_links_down =
newImage("media/images/youraccount-ImageMap_links_.gif");
shoppingcart_ImageMap_cart_over =
newImage("media/images/shoppingcart-ImageMap_cart_.gif");
shoppingcart_ImageMap_cart_down =
newImage("media/images/shoppingcart-ImageMap_ca-18.gif");
shoppingcart_ImageMap_cart_click =
newImage("media/images/shoppingcart-ImageMap_ca-19.gif");
shoppingcart_ImageMap_links_down =
newImage("media/images/shoppingcart-ImageMap_links.gif");
logo_ImageMap_logo_over =
newImage("media/images/logo-ImageMap_logo_over.gif");
logo_ImageMap_logo_down =
newImage("media/images/logo-ImageMap_logo_down.gif");
aboutus_ImageMap_about_over =
newImage("media/images/aboutus-ImageMap_about_over.gif");
aboutus_ImageMap_about_down =
newImage("media/images/aboutus-ImageMap_about_down.gif");
contact_ImageMap_contact_over =
newImage("media/images/contact-ImageMap_contact_ov.gif");
contact_ImageMap_contact_down =
newImage("media/images/contact-ImageMap_contact_do.gif");
links_ImageMap_cart_down =
newImage("media/images/links-ImageMap_cart_down.gif");
links_ImageMap_links_over =
newImage("media/images/links-ImageMap_links_over.gif");
links_ImageMap_links_down =
newImage("media/images/links-ImageMap_links_down.gif");
boilerplate1_12_ImageMap_cart_down =
newImage("media/images/boilerplate1_12-ImageMap_ca.gif");
boilerplate1_13_ImageMap_contact_down =
newImage("media/images/boilerplate1_13-ImageMap_co.gif");
boilerplate1_13_ImageMap_about_down =
newImage("media/images/boilerplate1_13-ImageMap_ab.gif");
boilerplate1_13_ImageMap_links_down =
newImage("media/images/boilerplate1_13-ImageMap_li.gif");
preloadFlag = true;
}
}
// --
/SCRIPT
!-- Boilerplate1 Preload Script Ends --
/HEAD
BODY BGCOLOR=#FFFFFF ONLOAD="preloadImages();"
div align="center"
table border="1" bgcolor="#FFFFFF"
tr><td colspan=3
!-- ImageReady Slices (boilerplate1.psd) --
TABLE WIDTH=737 BORDER=0 CELLPADDING=0 CELLSPACING=0
TR
TD
IMG SRC="media/images/spacer.gif" WIDTH=57
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=17
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=55
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=9
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=35
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=52
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=333
HEIGHT=1></TD
TD
IMG SRC="media/images/spacer.gif" WIDTH=44
HEIGHT=1></TD
/TR
TR
TD COLSPAN=7
IMG SRC="media/images/boilerplate1_01.gif" WIDTH=360
HEIGHT=36 BORDER=0 USEMAP="#boilerplate1_01_Map"></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_02.gif" WIDTH=377
HEIGHT=36></TD
/TR
TR
TD
!-- NOTE: The A HREF pointing to the non-store pages has
an
identical banner but different path. Non-site pages are not under
"store/"
they are under "...images" --
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="home" SRC="media/images/home.gif"
WIDTH=57 HEIGHT=17 BORDER=0 USEMAP="#home_Map"></A></TD
!-- "..account.html below is a temporary file and must
changed
probably to "account.html" when this feature is activated--
TD COLSPAN=3
A HREF="http://www.apartswarehouse.com/account.html"
ONMOUSEOVER="window.status='Your Account';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="youraccount"
SRC="media/images/youraccount.gif" WIDTH=81 HEIGHT=17 BORDER=0
USEMAP="#youraccount_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='Your Shopping Cart';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="shoppingcart"
SRC="media/images/shoppingcart.gif" WIDTH=87 HEIGHT=17 BORDER=0
USEMAP="#shoppingcart_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=135
HEIGHT=29></TD
TD ROWSPAN=2
A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="logo" SRC="media/images/logo.gif"
WIDTH=333 HEIGHT=29 BORDER=0 USEMAP="#logo_Map"></A></TD
TD ROWSPAN=2
IMG SRC="media/images/spacer.gif" WIDTH=44
HEIGHT=29></TD
/TR
TR
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/aboutus.html"
ONMOUSEOVER="window.status='About Us Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="aboutus"
SRC="media/images/aboutus.gif"
WIDTH=74 HEIGHT=12 BORDER=0 USEMAP="#aboutus_Map"></A></TD
TD
A HREF="http://www.apartswarehouse.com/contact.html"
ONMOUSEOVER="window.status='Contacts Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="contact"
SRC="media/images/contact.gif"
WIDTH=55 HEIGHT=12 BORDER=0 USEMAP="#contact_Map"></A></TD
TD COLSPAN=2
A HREF="http://www.apartswarehouse.com/links.html"
ONMOUSEOVER="window.status='Links Page';
changeImages('home', 'media/images/home.gif', 'youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif',
'aboutus',
'media/images/aboutus.gif', 'contact', 'media/images/contact.gif',
'links',
'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;"
IMG NAME="links" SRC="media/images/links.gif"
WIDTH=44 HEIGHT=12 BORDER=0 USEMAP="#links_Map"></A></TD
TD
IMG NAME="boilerplate1_12"
SRC="media/images/boilerplate1_12.gif" WIDTH=52 HEIGHT=12></TD
/TR
TR
TD COLSPAN=7
IMG NAME="boilerplate1_13"
SRC="media/images/boilerplate1_13.gif" WIDTH=360 HEIGHT=41></TD
TD COLSPAN=2
IMG SRC="media/images/boilerplate1_14.gif" WIDTH=377
HEIGHT=41></TD
/TR
/TABLE
MAP NAME="boilerplate1_01_Map"
AREA SHAPE="rect" ALT="Home Page" COORDS="316,6,318,7"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
AREA SHAPE="rect" ALT="Home Page" COORDS="304,9,309,10"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
/MAP
MAP NAME="home_Map"
AREA SHAPE="rect" ALT="Home" COORDS="17,2,50,15"
HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_home_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_home_down.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_home_over.gif', 'logo',
'media/images/logo.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,57,17"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="youraccount_Map"
AREA SHAPE="rect" ALT="Your Account" COORDS="6,5,75,12"
HREF="http://www.apartswarehouse.com/account.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-11.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONCLICK="changeImages('youraccount',
'media/images/youraccount-ImageMap_acc-12.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,81,17"
HREF="http://www.apartswarehouse.com/account.html"
/MAP
MAP NAME="shoppingcart_Map"
AREA SHAPE="rect" ALT="Shopping Cart" COORDS="7,5,81,15"
HREF="http://www.apartswarehouse.com/store/index.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif'); return true;"
ONMOUSEOUT="changeImages('shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_12', 'media/images/boilerplate1_12.gif'); return true;"
ONMOUSEDOWN="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-18.gif', 'links',
'media/images/links-ImageMap_cart_down.gif', 'boilerplate1_12',
'media/images/boilerplate1_12-ImageMap_ca.gif'); return true;"
ONMOUSEUP="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_cart_.gif', 'links',
'media/images/links.gif', 'boilerplate1_12',
'media/images/boilerplate1_12.gif'); return true;"
ONCLICK="changeImages('shoppingcart',
'media/images/shoppingcart-ImageMap_ca-19.gif');"
AREA SHAPE="rect" ALT="" COORDS="0,0,87,17" HREF="index.html"
/MAP
MAP NAME="logo_Map"
AREA SHAPE="rect" ALT="A Parts Home" COORDS="0,0,333,29"
HREF="index.html"
TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEOUT="changeImages('logo', 'media/images/logo.gif'); return
true;"
ONMOUSEDOWN="changeImages('logo',
'media/images/logo-ImageMap_logo_down.gif'); return true;"
ONMOUSEUP="changeImages('logo',
'media/images/logo-ImageMap_logo_over.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29" HREF="#"
AREA SHAPE="rect" ALT="" COORDS="0,0,333,29"
HREF="http://www.apartswarehouse.com/index.html"
/MAP
MAP NAME="aboutus_Map"
AREA SHAPE="rect" ALT="About A Parts" COORDS="19,2,66,9"
HREF="http://www.apartswarehouse.com/aboutus.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif'); return true;"
ONMOUSEOUT="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus', 'media/images/aboutus.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('home',
'media/images/home-ImageMap_about_down.gif', 'youraccount',
'media/images/youraccount-ImageMap_about_.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_ab.gif'); return true;"
ONMOUSEUP="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'youraccount',
'media/images/youraccount.gif', 'aboutus',
'media/images/aboutus-ImageMap_about_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,74,12"
HREF="http://www.apartswarehouse.com/aboutus.html"
/MAP
MAP NAME="contact_Map"
AREA SHAPE="rect" ALT="Contact A Parts" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html" TARGET="_self"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'contact',
'media/images/contact-ImageMap_contact_ov.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'contact', 'media/images/contact.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_contac.gif', 'contact',
'media/images/contact-ImageMap_contact_do.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_co.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount.gif',
'contact', 'media/images/contact-ImageMap_contact_ov.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,55,12"
HREF="http://www.apartswarehouse.com/contact.html"
/MAP
MAP NAME="links_Map"
AREA SHAPE="rect" ALT="Links" COORDS="10,2,36,9"
HREF="http://www.apartswarehouse.com/links.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home',
'media/images/home-ImageMap_account_over.gif', 'links',
'media/images/links-ImageMap_links_over.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount',
'media/images/youraccount.gif', 'shoppingcart',
'media/images/shoppingcart.gif', 'links', 'media/images/links.gif',
'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount',
'media/images/youraccount-ImageMap_links_.gif', 'shoppingcart',
'media/images/shoppingcart-ImageMap_links.gif', 'links',
'media/images/links-ImageMap_links_down.gif', 'boilerplate1_13',
'media/images/boilerplate1_13-ImageMap_li.gif'); return true;"
ONMOUSEUP="changeImages('youraccount',
'media/images/youraccount.gif',
'shoppingcart', 'media/images/shoppingcart.gif', 'links',
'media/images/links-ImageMap_links_over.gif', 'boilerplate1_13',
'media/images/boilerplate1_13.gif'); return true;"
AREA SHAPE="rect" ALT="" COORDS="0,0,44,12"
HREF="http://www.apartswarehouse.com/links.html"
/MAP
!-- End ImageReady Slices --
/td></tr
Thanks again Jim.
Paul S.
"Jim" <jstavast@xmission.com> wrote in message
news:ea5cni$fd1$1@eval.shopsite.com...
Should work. What is the url to a page that has the problem and to the
page you are trying to go to? A copy of the section of the template
that
generates the links might also be helpful.
Jim
Paul Schuster wrote:
I have some non-store front pages (just HTML) and then I have store
pages (which use a custom template with Shopsite tags). My host
requires
store pages to be in a separate folder called store. The store pages
are
designed to look alot like the regular site pages with a banner that
has
an image map with links back to the non-store pages. In the store
pages
I have gone into the code and changed the HREFs to point to the
non-store
pages with no effect. I have tried both relative and absolute urls. So
it
seemed like something was preventing a link out from the Shopsite
generated pages. Any ideas?
Paul S
"Jim" <jstavast@xmission.com> wrote in message
news:e9rfbs$rg8$1@eval.shopsite.com...
I'm not sure what you mean. You can include a link to any url on a
page
in ShopSite?
Jim
Paul Schuster wrote:
I am wondering why it seems to be technically impossible to link out
of
a store page (generated by shopsite and a custom page template) to a
non-store page. Is that assumption true- and if so are there any
work-arounds?
Users browsing this forum: Bing [Bot] and 134 guests