FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


FAQ system





SnoopDizzile
Yo,

You know on FAQ pages when you click on the topic link it brings you down so it shows that part of the page...well how do you do that?
Is this html or PHP,

I just want some easy way of adding it to my site..not making a new page that is for FAQ..something just to add directly into the site.

Snoop
AftershockVibe
They are called internal links and are HTML. Exactly the same as normal links but instead you put "#identifier" as the HREF which is a name of an element somewhere on the page.

For example:
Code:
<a href=#First>Jump To First Paragraph<a/>

^^ The link

Code:
<p name="First">This is the first paragraph. Lots of text and stuff.</p>

^^ The place the link would jump to.

You can jump to internal links from other pages as well. So putting the following on another page would also work:
Code:
<a href=http://www.mydomain.com/page2.html#First>First Paragraph on Page 2<a/>
Nyizsa
You are talking about an internal link. It's accomplished like this:
Code:
<a href="#q1">Question 1: Why....</a>
//more questions here
<hr />
<p id="q1">Answer 1: blah blah.</p>

So give your target an id, then refer to it as a normal link, using # and the id.
Good luck!
SnoopDizzile
Thanks alot guys..that really helped.

I'll have to try that on my pages..very helpful

Snoop
SnoopDizzile
k..i got the "id" one to work...

But it doesn't seem to show at the top of the page like others

is that because you have stuff underneith it to do that?..i am thinking that.

But thanks anyway, that is cool

Snoop
Ironz
if you mean that if you click the link then the answer won't move to the top of the page?

If so, is there enough space between the question and the answer?
and is the page big enough that it actually can move the answer to the top of the page?

try adding a lot of new lines "<br />" between the question and the answer (or anywhere) or just fill it up with anything just to make the page big enough that it lets the answer move to the top of the page. and don't make the answer too close to the top, put it somewhere in the middle.
manumiglani
These free php faq scripts would allow you to create FAQ's easily........

http://sourceforge.net/projects/faqforge/

http://sourceforge.net/projects/knowledgebase/

http://www.boesch-it.de

http://www.extoll.net/cfindex.php
Related topics
The Unofficial Jokes Thread
Warning System?
Trading system
Karma/Reputation System
Winxp SP2 tcpip.sys Patcher Version 2.12 released!
Help on point system
html login system
What are Frih$? Can someone explain the system?
Changements to the Points/frih$ system (Discuss)
GRAW 2 FAQ
Need a php-based FAQ system
Flex answer system
MemHT Portal Free Content Management System - Freeeeeeeeee
Coins, domains, competitions and referrals in FAQ
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.