Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internal page links (#) in html don't work


purplemartinart

Recommended Posts

I am totally guessing that my problems with using internal page links such as

<a href="#C1">question</a>
</p>

<p> <h3><a name="C1">Answer</h3><p>bla bla bla</p>

 

They send you back to the index page. I am assuming because it is written in html and it wont support that? Does it need to be written in php?

Just when I was seeing a glimmer of hope with html, now this!

Please if anyone can spare a moment and tell me the basic changes to make internal page links work in oscommerce I would appreciate.

PS I am using this with article manager.

Thanks,

Susan

 

 

Proudly uses Oscommerce!

Link to comment
Share on other sites

<a href="#C1">question</a>
</p>

<p> <h3><a name="C1">Answer</h3><p>bla bla bla</p>

 

Try this:

<a href="#C1">question</a>

<a name="C1">Answer</a>

 

You missed the closing attribute tag </a>

 

http://www.w3schools.com/HTML/html_links.asp

 

Your paragragh tags aren't really correct either. You need a closing tag before you use an opening tag.

It should look more like this:

<p><h3><a name="C1">Answer</a></h3></p>
<p>bla bla bla</p>

 

http://www.w3schools.com/HTML/html_paragraphs.asp

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Link to comment
Share on other sites

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

u must use tep_href_link for all links, also links to anchors can loose u the osCsid

 

http://www.oscommerce.com/forums/index.php?sho...c=330479&hl

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

are u seriously suggesting installing a voucher contrib in order to achieve somewhat unrelated anchor links!!!

 

Surely simply using the correct code snippit is by far the best way!! :blink:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

are u seriously suggesting installing a voucher contrib in order to achieve somewhat unrelated anchor links!!!

 

Surely simply using the correct code snippit is by far the best way!! :blink:

 

 

I would never suggest installing CCGV. Just pointing out that the function has been done in osC before, it is in the faq pages in the CCGV contribution.

Link to comment
Share on other sites

the place for tips is the tips forum, not hidden within some contrib

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...