?
Solved

Descriptions on the same page

Posted on 2004-03-23
3
Medium Priority
?
146 Views
Last Modified: 2010-04-25
Hi all, I am making a page on our website that will provide a list of courses we teach.  What I would like to do is, when the visitor clicks a course title, the description will be displayed in a section below the list without reloading a different page.   Is this possible without using frames?

I am a total noob when it comes to web programing, without Dreamweaver I wouldn't be able to create a simple page.  I am just looking for someone to point me in the right direction.

Thanks in advance for any help!
0
Comment
Question by:Capt_Outrageous
3 Comments
 

Expert Comment

by:nriddock
ID: 10661648
you could user layers, but that gets a bit messy when using more than a few layers....you could do inline anchors (not very sexy but it works)...and lastly you could implement a pop up window (once again not sexy, may be nulled by popup blocking software) Dreamweaver does all these things.

there may also be some javascript/dhtml solutions out there offering collapsable menu items.

hope this helps
0
 
LVL 14

Accepted Solution

by:
Esopo earned 500 total points
ID: 10664214

Hey Cap,

An Iframe might be the best way to go, it's *like* a frame but not quite, it inserts a page in the middle of your page and can receive targeted links, try this out should be just what you are looking for:

**********************
<a href="second.htm" target="Info1">Show description for second </a><br>
<a href="third.htm" target="Info1">Show description for third</a>
<p>&nbsp; </p>
<iframe src="first.htm" name=Info1 width="400" height="250" frameborder="0">
</iframe>
**********************

This  requires you to have three pages in the same folder the main file is, in this case first.htm is the page that shows first (Something that says "select an option" or "here will be displayed the info" or whatever), when you click the links the box content will change to the pages second.htm or third.htm accordingly, so your product descriptions should be in those pages.

The idea is for you to have a page for each product and the links targeted to the Info1 frame. No scripting needed, very easy to use, minimal loading, works in IE, Opera, Mozilla (not sure about Netscape).

Hope this is helps,

Esopo.
0
 

Author Comment

by:Capt_Outrageous
ID: 10688084
Thanks for your responses, I am going to use the Iframe, thx Espo.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question