[ic] PDF link
Barry Treahy, Jr.
Treahy at MMaz.com
Tue Sep 30 09:39:56 EDT 2003
Chris Gruber wrote:
>Hello,
>
>I would like to have a link in the flypage.html to a pdf file describing that
>product in detail. So I created the directory pages/pdf and copied all pdfs
>in. The names are stored in the products table (field pdf = 'sku.pdf'). But
>the link is I found in an old post from Raj Bhushan Thakuri is not working
>for me.
>
><a href="[area pdf/[item-field pdf]]">Details</a>
>
>I also tried
>
>[page pdf/[item-field pdf]]Details</a>
>
>
>
This is what we do, since we're rather have a pop-up for the actual spec
sheet and not have to rely on the user to click on the BACK button of
the browser:
<script language="javascript">
<!--
[if-item-field stdcatpage]
document.write('<a href=\"#\"
onClick=\"javascript:window.open(\'__CATALOG_URL_STANDARD__[item-field
stdcatpage]\', \'catalogWindow\',
\'width=600,height=450,toolbar,scrollbars,status,resizable\');\">Click
here for drawing specifications</a>');
[else]
[if-item-field wirecatpage]
document.write('<a href=\"#\"
onClick=\"javascript:window.open(\'__CATALOG_URL_WIRELESS__[item-field
wirecatpage]\', \'catalogWindow\',
\'width=600,height=450,toolbar,scrollbars,status,resizable\');\">Click
here for drawing specifications</a>');
[/if-item-field]
[/else]
[/if-item-field]
//-->
</script>
<noscript>
[if-item-field stdcatpage]
<a href="__CATALOG_URL_STANDARD__[item-field
stdcatpage]" target="_blank">Click here for drawing specifications</a>
[else]
[if-item-field wirecatpage]
<a href="__CATALOG_URL_WIRELESS__[item-field
wirecatpage]" target="_blank">Click here for drawing specifications</a>
[/if-item-field]
[/else]
[/if-item-field]
</noscript>
Barry
--
Barry Treahy, Jr E-mail: Treahy at MMaz.com
Midwest Microwave Phone: 480/314-1320
Vice President & CIO FAX: 480/661-7028
More information about the interchange-users
mailing list