Page Transition Background Color

page-and-widget-styles

#1

Hi. I was wondering if it was possible to change the color of background when transitioning from one page to another. I’m trying to mock something up that will be used in a dark environment and even though the backgrounds for the pages themselves are dark, there is a flash of white that fills the window background when transitioning from one page to the next. Is this something that can be adjusting in Axure, or is this an artifact of the browser itself?


#2

You should be able to set the default page color in your browser, and/or set it to dark mode if it is supported.

For best control of page transitions in Axure, you can create each page content as a state in a dynamic panel, all on one real page. For example, if you have 3 pages, Page 1, Page 2, and Page 3, you can select everything on Page 1 and create a dynamic panel. maybe named “Pages”. Add two states, copy everything on Page 2 and paste into the second state of “Pages” dp, then same for Page 3. Then, instead of using Open Link use Set Panel State. Setting up things this way can make for a longer initial page load but very quick and controllable transitions between the page views.

Another approach is to use an Inline Frame widget to load the pages. When loading a page in an iframe, you’ll still get a white flash, but you can place a rectangle in front of it with whatever color you need–as a “blockout” or “mask” widget–and hide that with a fade or whatever after waiting for the page to load in the iframe. Basically, just keep your page structure as is, but add a page at the top with an inline frame the same size as your viewport (browser window) and a “mask” or “blockout” rectangle the same size and location. (It’s been awhile since I’ve done this, but my memory is that just hiding/showing the inline frame will show a white flash also.)