Allow user to flip conditions in output?

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
Mark Propellerhead
Propeller Head
Posts: 15
Joined: Fri Feb 21, 2014 10:06 am

Allow user to flip conditions in output?

Post by Mark Propellerhead »

Hello, I am creating a WebHelp project that must include two interfaces: a web browser interface, and an old AS/400 green screen interface. (The next version of the product will include a web front end that does *most* of the product's functions, but not enough to deploy a separate help system for each). Right now my topics include drop-downs with both the web browser and green screen steps, but this is getting cumbersome. To clean it up, I would like to allow the user to flip back and forth between the web browser and green screen versions of the help at will (by clicking a button or something). The user will likely be using one interface heavily, but need easy access to the other intermittently. If I found a way to do this I figure I would also set a different background color for each interface so the user would know which one they are looking at. Any guidance would be very much appreciated. -Mark
BedfordWriter
Sr. Propeller Head
Posts: 231
Joined: Wed Jun 23, 2010 10:13 am
Location: Nova Scotia

Re: Allow user to flip conditions in output?

Post by BedfordWriter »

Interesting challenge. How's your JavaScript? You can probably wrap each of the two versions in its own set of div tags and provide a button to toggle the visibility. It would probably be easiest to use different styles for the contents of each section, but you could write some JavaScript code to let the reader swap .CSS files. I just did a search and found an example over on sitepoint.com in the url, sheets-greater-accessibility/

Another option might be to build the two separate versions and just provide cross-links between each topic. I think I'd do that. With either solution, I don't think you'll find a magic "make-it-so" button.
Mark Propellerhead
Propeller Head
Posts: 15
Joined: Fri Feb 21, 2014 10:06 am

Re: Allow user to flip conditions in output?

Post by Mark Propellerhead »

I think I agree that two separate versions with cross-links is the way to go. I was hoping for a "make it so" button. I'd like to keep the authoring environment as simple/accessible as possible for this, so geeking out with JavaScript/div tags probably isn't ideal (although thanks for the interesting proposal!). Cheers.
Post Reply