Changing the backgroundcolor of text popups

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Tom
Propeller Head
Posts: 46
Joined: Fri Aug 11, 2006 6:39 am

Changing the backgroundcolor of text popups

Post by Tom »

How can I change the background color of a text popup?
I tried the default stylesheet: Popup | PopupBody (bachgroundcolor). But that doesn't work.
forfear
Propellus Maximus
Posts: 766
Joined: Sat Feb 16, 2008 3:37 am
Location: Jungle Jingles

Re: Changing the backgroundcolor of text popups

Post by forfear »

Search for this in the knowledgebase....I am pretty sure I saw a topic on this recently. Am pretty sure of it. :)

http://kb.madcapsoftware.com/

Just searched the kb..no luck..but the Flare help did turn up some interesting notes.

Did you try checking the style for

popupBody?
If you submit your bug feedback request here, the more likely it'll get fixed or included in a future release
Open Utilities PageLayout Resizer for Flare/Blaze | Batch builder
JasonSTI
Sr. Propeller Head
Posts: 110
Joined: Mon Jan 07, 2008 11:34 am

Re: Changing the backgroundcolor of text popups

Post by JasonSTI »

We are actually doing something similar with javascript popups, and want to change the background color only if they are actually in a popup. If not, we are displaying a "print" icon. We are using this script in each file, but it could probably be in a masterpage instead:

Code: Select all

	<script language="javascript">
	<!--
	if (window.location == top.location)
	    {
	    document.write("<iframe id='printme' src='Resources/print.htm' align='right' height='20' width='50' frameborder='0' scrolling='no'></iframe>");
	    }
        else
	    {
	    document.body.style.backgroundColor='#FFFFCC';
	    }
	-->
	</script>
Not sure if that would work for you, but it seems to do fine for us.
Post Reply