Guest Posted April 9, 2008 Share Posted April 9, 2008 (edited) 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 April 9, 2008 by TravisKnight Quote Link to comment Share on other sites More sharing options...
Guest Posted April 9, 2008 Share Posted April 9, 2008 Is anyone able to help me please? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 index.php is the page to do this on. or try the column_left or right. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 any ideas about where exactly in the code to put it? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 i still am unsure of where exactly in the files i should place the code given to me. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2008 Share Posted April 10, 2008 (edited) 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 April 10, 2008 by TravisKnight Quote Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2008 Share Posted April 11, 2008 Does anyone else have any help in where in the files to add the given code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.