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
https://forums.phpfreaks.com/topic/274049-dreamweaver-spry-accordian/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.