Suppose I have two divs:
<div id="control"></div>
<div id="view">(A scrollable list)</div>
And I'd like to make it so that when the cursor is parked inside #control
and the mousewheel is scrolled, #view
will be scrolled instead. Anyway to achieve this?
HTML (HyperText Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables.
Pakeeza Saba 2680 It's depend on you which Language you want to choose HTML(markup Language) is used for web development & C++(programming language) is best for game development.. You cannot use C++ in web dvelopment.
HTML is the standard markup language for Web pages. With HTML you can create your own Website. HTML is easy to learn - You will enjoy it!
not sure what the layout looks like
but if they're right next to each other you could use
#control{pointer-events : none}
and change a few things.
Here's a fiddle: http://jsfiddle.net/filever10/QVRNd/
If the elements are not able to be that close, this won't be much help.
It works by putting the control over the list, and disabling pointer events on the control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With