Jump to content


Photo

dreamweaver spry accordian


  • Please log in to reply
No replies to this topic

#1 hyster

hyster

    Advanced Member

  • Members
  • PipPipPip
  • 203 posts

Posted 05 February 2013 - 03:06 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com