Jump to content
Sign in to follow this  
TravisKnight

Help

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×