Software, your way.
How To Get Good Custom Software
(Download)
(PDF)
burger menu icon
WillMaster

WebSite's Secret > Spotlight Articles > WebSite Features > Tutorial/Information

Universal Display/Undisplay Function
(with optional Auto Scroll Return)

I don't know about you, but some people find the idea daunting when they think about coding a web page to display and undisplay content with a click.

A new tutorial in the WebSite's Secret members area makes the process much easier now- even if you want to present multiple "click to reveal" links on a page.

The new addition,"Universal Display/Undisplay Function", contains copy and paste JavaScript to handle the display and undisplay of content on a web page. No customization is necessary.

Will uses diagrams and examples to show you how to use the JavaScript.

And, the JavaScript has a bonus feature: When someone clicks a link to display the content of a div, the web page scroll position is remembered. When the div is undisplayed, the web page is scrolled back to the previous position.

The bonus feature is nice when the displayed content is so large the user has to scroll to see it all. The window is conveniently returned to the same position when the content is undisplayed.

The JavaScript can display/undisplay any number of divs with one mouse click. If more than one, the remembered scroll position is for the first div in the list.

Click here to visit the Universal Display/Undisplay Function page and to download the tutorial. (Log in, if you haven't lately.) We think you'll find many places where it will be of use.

Download the latest WSS Catalog here.

 Facebook    Twitter

WebSite's Secret

Purchase Your
Permanent WebSite's Secret Membership Here

Log In to Members Area

Spotlight Article Index

WSS License Agreement

FAQ

Download the WSS Catalog for fast access to individual items in the members area.

Three Major Benefits
for Site Developers

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2024 Will Bontrager Software LLC