Rayne Posted March 29, 2008 Share Posted March 29, 2008 What i'm trying to do is create a dynamic button header... Basically, depending on how many files are in a particular folder the site should display that many buttons... from 1 to 100+ if needed. I know how to read the files using php (readdir()) and to count the number of files fine, thats not a problem. But when i try to create too many buttons my site cant handle it. What i want is a scrollable area where the buttons will be placed. So if the number of buttons is too great to display on the page at once, the user needs only scroll to find the rest of the buttons. Kind of like a textarea but with pictures inside! How would i do this??? Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 29, 2008 Share Posted March 29, 2008 http://www.htmlite.com/faq015.php Quote Link to comment Share on other sites More sharing options...
Rayne Posted March 30, 2008 Author Share Posted March 30, 2008 Thanks Andy B... Had to tweak the overflow so that i could get horizontal scrolling using "white-space: nowrap;" but it seemed to work. A quick question though... it seems that that the scrollbar appears at a different place on firefox and IE?? Any reason why this is and if its possible for me to state where the scrollbar should be positioned? Strangely it appears perfectly on IE and annoyingly low on firefox!? Who knew IE would work better than firefox???? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.