plainblack.com
Username Password
search
Bookmark and Share

Style Switcher

This macro is used to switch between two or more stylesheets.
A live example is available on WebGUI.fr. Look at the upper right corner, you can see the links :'aA'. They are used here to enlarge the fonts used in the site.


This macro has been written for WebGUI 6.2 to use macro templates.
To get this macro for WebGUI 5.5 go to http://www.webgui.fr/telechargements.

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
4andreasG: "
nice work!!
"
4mdj2000: "I'm not knocking your macro, but I've been using a different method, so I thought I'd mention it. I just set a www scratch session to select the styles, then insert the appropriate style sheet using the ^If macro. It keeps from loading 2 seperate style sheets and doesn't require javascript, but it does reload the page.

Anyways, nice macro."
0susanb: "apparently the webgui.fr domain no longer exists (at least it's 404ing for me)"
DownloadStyleSwitcher.tar.gz StyleSwitcher.tar.gz
LinksNo Support Offered
Statistics Downloads: 411
Views: 9001
Rating: 4
Updated: 8/12/2005
Keywords macros style Templates
NavigationBack to the Bazaar
© 2017 Plain Black Corporation | All Rights Reserved