Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help


Guest

Recommended Posts

Hi,

 

I have been given 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.

 

<script>

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

</script>

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

Edited by TravisKnight
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

index.php is the page to do this on. or try the column_left or right.

 

Do you mean catalog/includes/column_right.php, catalog/includes/column_left.php & catalog/includes/languages/english/index.php ?

 

Can you please explain where in the code to put it by telling me what to put it between or under or even above?

 

I am confused due to the two lots of coding I need to add and my poor understanding of php coding.

 

Many Thanks

 

Travis Knight

Link to comment
Share on other sites

I appreciate the input given so far but I still am unsure exactly where to input the code given to me.

 

Can anyone tell me exactly what to do??

Edited by TravisKnight
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...