Skip to main content
kenl92739188
Inspiring
August 17, 2017
Answered

Day/Night Mode for WebHelp

  • August 17, 2017
  • 1 reply
  • 700 views

Good Morning,

I use RoboHelp to create WebHelp as my output. I was asked if there is a way to have the WebHelp toggle between day mode (white background with black text) and night mode (dark background with white lettering) by simply clicking a toggle button. I don't believe there is any such way to do this but thought I'd ask anyway.

Best Regards,

Ken

This topic has been closed for replies.
Correct answer Captiv8r

Hi Ken

Hmmm... You could likely achieve it if you had two different skins and two different CSS files. You would generate WebHelp twice. One would use the Day skin and CSS and perhaps end up in a WebHelpDay folder. Then generate a second time with a Night skin and CSS and perhaps end up in a WebHelpNight folder. Then you would publish both sets of WebHelp output files to your web server.

Once that was complete, you would then note the path of each WebHelp start page. Then you could add a button to the WebHelp toolbar of each skin that just opens the other version.

If the WebHelp is linked to an application, I would think perhaps a developer could have some code to determine time of day and open the appropriate WebHelp.

Just some thoughts off the top of my head... Rick

1 reply

Captiv8r
Captiv8rCorrect answer
Legend
August 17, 2017

Hi Ken

Hmmm... You could likely achieve it if you had two different skins and two different CSS files. You would generate WebHelp twice. One would use the Day skin and CSS and perhaps end up in a WebHelpDay folder. Then generate a second time with a Night skin and CSS and perhaps end up in a WebHelpNight folder. Then you would publish both sets of WebHelp output files to your web server.

Once that was complete, you would then note the path of each WebHelp start page. Then you could add a button to the WebHelp toolbar of each skin that just opens the other version.

If the WebHelp is linked to an application, I would think perhaps a developer could have some code to determine time of day and open the appropriate WebHelp.

Just some thoughts off the top of my head... Rick

kenl92739188
Inspiring
August 17, 2017

Thanks Rick. That's what I was thinking as well.