View Full Version : link to an excel doc
stuarts
15-Jan-2004, 02:10 PM
Hi,
I have a downloadable excel file that needs to open in a separate window when clicked but can only get it to open in the
same window as the site. How can i do this? I'm sure its fairly easy but im having one of those days !!!!!!!
ta v much
Stuart:confused:
Hi Stuart
There are a few ways to do this: <a href="yourfile.xls" target="_blank">LINK TEXT</a> or <a href="yourfile.xls" target="newwindow" onClick="window.open ('','newwindow',config='height=500,width=480,scrollbars=yes,screenX=50,screenY=50,top=50,left=50'); return true">LINK TEXT</a> where you can alter the configuration of the window, or <a href="javascript:ShowPopUp('yourfile.xls',640,500);">LINK TEXT</a> which uses the javascript function from Actinic's actiniccore.js file.
Ben
stuarts
16-Jan-2004, 12:27 PM
thanks for the reply,
without sounding totally stupid, how and where do i put the code? I only want it for the one product
thanks
stuart
You can copy either one of the three bits of code above and paste it into the Full Description field of your chosen product. You will need to enclose the code within !!< and >!! in order for Actinic to embed it properly.
So, for example:
!!<<a href="yourfile.xls" target="_blank">LINK TEXT</a>>!!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.