You are here: Re: links within table « HTML « IT news, forums, messages
Re: links within table

Posted by Mark Parnell on 11/09/98 11:29

In our last episode, Tony Vella <tony.vella@nogo.rogers.com> pronounced
to alt.html:

> Let's say we have a table with three columns: a, b and c.
> In column 'a' there is a list of countries in alpha order. Each
> country-name in column 'a' is a link.
> When I click a country-link in column 'a', I want to see in column 'b' a
> list of years in which that particular country issued stamps. Each year in
> column 'b' is a link.
> When I click a year-link in column 'b' I want to see in column 'c' pictures
> of the stamps issued by that particular country in that particular year.

Why? Why not just display it all in the first place? Split the table up
onto multiple pages if necessary (e.g. by first letter of country name).

If you wanted to, you could then hide the second and third columns with
Javascript and then use Javascript to display them when you click on the
country etc., as described above.

It would also be possible to do much the same using a server-side
script, though that means reloading the entire page each time.

Either way would be preferable to frames. :-)

--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация