Jump to content

Dynamically Creating A Scroll Bar


1internet

Recommended Posts

So I want to create a list of suggested/related products, this list size might vary from 3, to perhaps 20. I don't want it to take up too much room, so after e.g. 5 listings, I would like the listings to be contained within a certain height limit, and any more listings would require scrolling.

 

1. What sort of if statement is required when e.g. listings > 5, to then create a scroll bar?

 

2. How do I create a scroll bar? And should it be in an iframe?

Link to comment
https://forums.phpfreaks.com/topic/271003-dynamically-creating-a-scroll-bar/
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.