Solved

Descriptions on the same page

Posted on 2004-03-23
3
139 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 125 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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 …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

786 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