Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    How do I go about linking to a specific area on my html page? I want to have a Q&A but I want the questions at the top then the answers below. They click on the qustion then it takes them to the answer...you know what I mean? Thanks

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    where you have the Q&A: <a name="myanchorname" />
    link to Q&A: <a href="#myanchorname">click here</a>
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    the question [minicode]<a href="#answer">Question</a>[/minicode]

    the answer [minicode]<a name="answer" />[/minicode]
    JR

  5. #4
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    Thanks, you guys are always a great help

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Here's a linked list example I wrote for my book that I never finished :-P
    Code:
    <h3>Frequently Asked Questions</h3>
    <ul>
    	<li><a href="#1">Question 1</a></li>
    	<li><a href="#2">Question 2</a></li>
    	<li><a href="#3">Question 3</a></li>
    	<li><a href="#4">Question 4</a></li>
    	<li><a href="#5">Question 5</a></li>
    </ul>
    	
    <h3>Questions and Answers:</h3>
    <dl>
    		
    	<dt>
    		<a name="1"></a>
    		Question 1
    	</dt>
    	<dd>
    		This is the answer to question 1<br>
    		<a href="#">Back to top</a>
    	</dd>
    	<dt>
    		<a name="2"></a>
    		Question 2
    	</dt>
    	<dd>
    		This is the answer to question 2<br>
    		<a href="#">Back to top</a>
    	</dd>
    	<dt>
    		<a name="3"></a>
    		Question 3
    	</dt>
    	<dd>
    		This is the answer to question 3<br>
    		<a href="#">Back to top</a>
    	</dd>
    	<dt>
    		<a name="4"></a>
    		Question 4
    	</dt>
    	<dd>
    		This 4s the answer to question 4<br>
    		<a href="#">Back to top</a>
    	</dd>
    	<dt>
    		<a name="5"></a>
    		Question 5
    	</dt>
    	<dd>
    		This is the answer to question 5<br>
    		<a href="#">Back to top</a>
    	</dd>
    </dl>

  7. #6
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    You can also apply cool styles to the definition lists to make your Q&A look really neatly formatted... and it's very simple coding, too !


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com