|
|
#1 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
I'm trying to link within my FAQ page (anchor) and it wont work. It just links me to my home page. The code is:
Code:
<h2><strong>Frequently Asked Questions</strong></h2> <ol> <li><a href="#faq1"><strong>How much does it cost?</strong></a></li> <li><strong>What if I don't want my email address published?</strong></li> </ol> <p><strong></strong></p> <ol> <li><a name="faq1">Nothing! We offer our site to you for free.</a></li> <p> </p> <li><strong>Unless you put your email eddress in your own listing, no one will ever see it. Thanks in advance
__________________
v4.0.9 Designer |
|
|
|
|
|
#2 |
|
Member
Join Date: Mar 2007
Posts: 18
Rep Power: 9 ![]() |
Try this:
HTML Code:
<li><a href="pages.php?page=7/#faq1"><strong>How much does it cost?</strong></a></li>
__________________
Regards, Mango v4.0.9 |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,296
Rep Power: 37 ![]() ![]() |
Since you didn't give any additional information as to what it actually does do, I'm just poking at straws here.
Try adding a target. like this <a href="#faq1" target="_self"> or try using a full url like this <a href="{$smarty.const.URL}/pages.php?page=X#faq1"> (where X=the page ID you are creating in the admin) Hope that helps, -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
By "anchor" I mean a link to within the same page. So when you click on the link at the top, it scrolls down the same page to the anchor link location.
__________________
v4.0.9 Designer |
|
|
|
|
|
#5 |
|
Member
Join Date: Mar 2007
Posts: 18
Rep Power: 9 ![]() |
My posted advice does just that.
__________________
Regards, Mango v4.0.9 |
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,054
Rep Power: 99 ![]() ![]() |
Quote:
so instead of ... <a href="#faq1"> you will need.... <a href="http://mydomain.com/pages.php?page=6#faq1">
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a link to seller contact form using anchor | abkeller | v3.1 Questions & Support | 3 | 01-08-2008 01:02 PM |
| Where to put HTML <pre> tag? | AdrianApe | v3.1 Questions & Support | 5 | 05-08-2007 09:45 PM |
| Anchor text link in viewlisting.tpl | SkGold | v3.1 Modules & Modifications | 4 | 04-10-2007 11:05 PM |
| Problem of importation (upload) of image on HTML editor | jabs | v3.1 Questions & Support | 3 | 04-05-2007 07:43 AM |
| html help | early | HTML, CSS, and Design Help | 6 | 03-08-2007 02:43 PM |