Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Dont know where to add code given to me...


Recommended Posts



I have been give the following by one of my suppliers


Step 1


Add the following Javascript code to the “head” of the page the link will be featured on.



function openBTOWindow(url) {
x = window.open(url,'BTOWindow','width=700,height=600,top=10,left=10,scrollbars=yes,resizable=yes');




Step 2


Add the following HTML code to the “body” of the page where you wish to locate the link feature. (Suppliers actual website has been edited and a generic website has been added)


<a href="java script:openBTOWindow('http://www.somewebsite.com.au/default.asp')"><img name="BTO" src="http://www.somewebsite.com.au/image.gif" alt="Click here to..." border="0"></a>


But even though I have been told to put them in the "head" and the "body" of the page I am unsure which pages to add this to. In the end i wish to have this on my homepage of my website as an image to click on. But having the option of having it in the left or right hand column of the website would also been nice.


Can someone please help me with this?


Many Thanks


Travis Knight

Link to comment
Share on other sites

Does anyone have an idea where to enter information for the "head" or the "body" information please. I at least wish to have this on my homepage.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...