Solved

Descriptions on the same page

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
breathing space around footer 13 261
background image shifts depending on browser 17 363
need to delete multiple folders from webserver 8 208
change form target with jquery 2 391
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now