hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Enumerating Collapsible Tables....

Forum Jump

Enumerating Collapsible Tables....

Reply Post New Thread In Web Design and Content Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 10-07-2003, 04:15 PM
komugi komugi is offline
Join Date: Apr 2003
Posts: 12

Enumerating Collapsible Tables....

Argh.. my brain is stuck and I don't remember how to enumerate the functions..

<script type="text/javascript" language="javascript">

var tableToggle = false;
function toggletable() {
var temp = document.getElementById('table');
if (tableToggle) {
tableToggle = false; = 'absolute'; = 'hidden';
} else {
tableToggle = true; = 'relative'; = 'visible';


I'm trying to get it so that the element table will go up by 1 since there is much more then 1 table I need to collapse.

Sponsored Links
Old 10-07-2003, 04:31 PM
FrzzMan FrzzMan is offline
Web Hosting Guru
Join Date: Dec 2001
Location: Hanoi - Vietnam
Posts: 306
can you explain it more detail what you are trying to do... i can help you about this problem, but i don't understand you...

Old 10-07-2003, 04:42 PM
komugi komugi is offline
Join Date: Apr 2003
Posts: 12
Well, I'm trying to make the tables expand/collapse. But the javascript here currently only allows for 1 table to expand and collapse.

I currently have around 15 or so tables that needs to do this. For example, this script only does one table which named the id of 'table'

I want to be able to id many tables of table1, table2, table3... so on without having to copy the script over and over again for each variable.

Sponsored Links
Old 10-07-2003, 04:55 PM
komugi komugi is offline
Join Date: Apr 2003
Posts: 12
well, here is an example :

Click on the first one of Anatolia Story

I want to do that, except with ALL of them. The script doesn't allow for that to work correctly.. So I'm trying to think of a way to enumerate the variables


Related posts from
Title Type Date Posted
Announcing the VIP Pass Winner! Blog 2014-03-27 16:00:39
Google Releases Hosted Database Service Cloud SQL to General Availability Web Hosting News 2014-02-12 13:46:02
Jelastic Launches Version 1.9.1 of Java and PHP Hosting Platform Web Hosting News 2013-05-21 09:39:09
Amazon Web Services Reduces Price of DynamoDB NoSQL, Adds Reserved Capacity Web Hosting News 2013-03-08 15:19:40
Web Host Go Daddy Says Internal Network Events, Not Hacker, Caused Service Outage Web Hosting News 2012-09-12 11:56:11

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?