Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Back to Top Page Link


owl17sb

Recommended Posts

Posted

I have searched under everything I can think of and I just know someone will have asked this before but I can't find it.....

 

I want to write my Terms & Conditions and Security stuff with Qestions and then the Answers underneath. I know where to put the information but how do I create a link from the question to the answer.

 

I would also like to put a "Back to Top" link at end of each question to take you back to the top of the page but I don't know where or how to put it.

 

Any help greatly appreciated as always

 

:)

Posted

Just create some page anchors.

 

e.g. If the first part of the text was:

 

My Terms and Conditions.

 

You would need to write it as:

 

<a name="top">My </a>Terms and Conditions.

 

Then wherever you want to link to it:

 

<a href="#top">Top</a>

Posted

Thank you so much for the fast reply.

 

I will have a go as what I have written as my Security and Privacy seems to go on a bit and I'm sure anyone reading it will loose the will to live!!

 

Thanks again

 

:):)

Posted

I did not get round to this last night but I have had a go this morning and I can't seem to get it to work.

 

The heading at the top of my text looks fine on the actual site and the "Back to top" hyperlink at the end of the text looks like a link but when I click on it - it take me back to the home page - not to the top of the page I am on.

 

I have copied the text below

 

define('TEXT_INFORMATION', 'Security & <a name="page top">Privacy</a> <br>

 

We respect your privacy. We only use the information we collect about you to process orders and to

provide a personalised shopping experience. All your personal information is kept safe and secure on our site.

You can tell when a page requesting payment details is secure as ?https? appears in the address window of your browser

and also a small padlock will be displayed at the bottom of your browser window. You can verify the validity of our

security license by double clicking on the padlock.<br><a href="#page top">Back to Top</a>

<br><br>

 

What information do we collect? <br>

When you register as a customer, you submit your name, email address and postal address. This information allows us to

fulfill your orders and to contact you if the need arises. All customer information stored on our servers about you can

be accessed or modified by you at any time by logging into My Account with your email address and password.

We are committed to protecting your privacy and will only use the information that we collect about you lawfully

(in accordance with The Data Protection Act 1998) .<br><a href="#page top">Back to Top</a>

<br><br>

 

 

Can anyone tell me what I am doing wrong.

 

Many Thanks

 

:)

Archived

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

×
×
  • Create New...