The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Clickable Text, Clickable Text that changes on page content.
mattak91
post Aug 18 2014, 10:12 AM
Post #1





Group: Members
Posts: 2
Joined: 18-August 14
Member No.: 21,419



Hello Everyone,

I am somewhat new to web design. I have been through a couple of courses. However, I was curious to know is there a way to have a list. Where I can click the words and have the descriptions of each change on the right. For example;

CODE

<ul>
<li>oak tree</li>
<li>maple tree</li>
<li>redwood tree</li>
</ul>


Where those would be clickable and to the right of my list I can have description display when clicking on each.

If some can point me in the right direct I would very much appreciate it.

Thank You,

This post has been edited by mattak91: Aug 18 2014, 10:13 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 18 2014, 10:49 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



The most reliable would be to load a new page that's identical to the first, except for the added description. This also lets the user bookmark the current description.

Or you could use a javascript, if you want the same page content to change right away when the user clicks. You can probably find lots of readymade such scripts on the web, pick one that still works for users that disable javascript.

It can also be done with links to an (inline) frame, but these cause lots of trouble, see http://htmlhelp.com/faq/html/frames.html#frame-problems
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mattak91
post Aug 18 2014, 11:27 AM
Post #3





Group: Members
Posts: 2
Joined: 18-August 14
Member No.: 21,419



QUOTE(Christian J @ Aug 18 2014, 11:49 AM) *

The most reliable would be to load a new page that's identical to the first, except for the added description. This also lets the user bookmark the current description.

Or you could use a javascript, if you want the same page content to change right away when the user clicks. You can probably find lots of readymade such scripts on the web, pick one that still works for users that disable javascript.

It can also be done with links to an (inline) frame, but these cause lots of trouble, see http://htmlhelp.com/faq/html/frames.html#frame-problems


Thank You!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tomhartman
post Aug 20 2014, 09:08 AM
Post #4





Group: Members
Posts: 1
Joined: 20-August 14
Member No.: 21,428



Have you considered adding description beneath the list and linking to it via anchor keywords? Or this is not the option in your case?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 05:04 AM