Jump to content

dreamweaver spry accordian


Recommended Posts

i used dreamweavers spry accordian to do a page. the panels are populated from a mysql database, each tab is a list of tanks a player owns.

the list is a diffrent size for each player.

im trying to make it so each panel is the height of the list ie if only 5 tanks then its 5 lines deep, 10 tanks then 10 lines deep.

at the moment i can only set the height manualy in px so the data fills the tab without a scroll bar but it looks a bit daft with a short list as theres a large white space.

 

 

 

the tabs and content are created from the database and there will be a lot more datasets added soon so it will grow pretty large.

i want it to be dynamic so it fits the datasets automaticly without empty lines in a short data set and without a scroll bar in a larger 1.

 

test page http://nbn-gaming.co...layertanks1.php

 

if u click on the diffrent tabs u will see what i mean.

 

thx

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.