Scroll a larger PictureBox inside a smaller one
This class module, complete with demo project, will allow you to easily scroll a large picture box inside a much smaller one. This can be extremely useful when space is something you have little of.
AI
Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Code source
Upload
Using JavaScript, you can very easily make content expand and contact, like with
a folding tree. The key is the CSS property "display." I use it below to create
a header that expands/contacts when clicked on: </p>
<pre><script type="text/javascript">
function foldinout(theid){
var theid=document.getElementById(theid)
theid.style.display=(theid.style.display=="block")? "none" : "block"
}
</script>
<div onClick="foldinout('thelinks')"><b>Categories</b></div>
<div id="thelinks" style="display:block">
-Games
-Entertainment
-Movies
</div></pre>
<p>I love this "Switch Menu" script from Dynamic Drive, which makes excellent
use of this idea: http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm</p>
Commentaires originaux (3)
Récupéré via Wayback Machine