Splash Screen font color

1388
9
Jump to solution
07-16-2013 07:05 AM
StewartGalloway
New Contributor III
What is the syntax to set the font color for the Initial Splash Screen?  I want the "text-test" to be a different color.

            <p align='center' width='139' height='131'>
                <img src='assets/images/globe.png'/>
                <br/>
                <br/>
                <font size="+2"><b><a href="http://links.esri.com/flexviewer" target='_blank'>text-test
<br/>
ArcGIS Viewer for Flex</a></b></font>
            </p>

Thank you.
Stew
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Stew,

   I need to correct my first reply as it seesm you can add html tags for changing the link text color.
Here is an example:

<a href="http://help.arcgis.com/en/webapi/flex/" target='_blank'><font color="#FFFFFF"><b>ArcGIS API for Flex</b></font></a>


For your image issue try adding a width attribute

<img src='assets/images/about.png' width='360'/>

View solution in original post

0 Kudos
9 Replies
RobertScheitlin__GISP
MVP Emeritus
Stew,

   The color of hyperlink text is controlled much deeper in the code and can not be set in the html tags that you specify in the widgets xml configuration.
0 Kudos
StewartGalloway
New Contributor III
Thanks Robert.
0 Kudos
StewartGalloway
New Contributor III
Also having trouble with sizing a logo.  Would you suggest using the enhance splash widget in order to make these changes?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Stew,

   Depending on the html code you are using for the image and the actual image dimensions my enhance Splash widget will have the same issues. What does your xml look like that you are using?
0 Kudos
StewartGalloway
New Contributor III
Just the out-of-the-box splash screen:
<?xml version="1.0" ?>
<configuration>
    <width>0</width>
    <height>0</height>
    <content><![CDATA[
            <p align='center' width='139' height='131'>
                <img src='assets/images/dmna-logo2.gif'/>
                <br/>
                <br/>
                <font size="+2"><b><a href="http://links.esri.com/flexviewer" target='_blank'>text-test
<br/>
ArcGIS Viewer for Flex</a></b></font>
            </p>
       ]]></content>
    <labels>
        <btnlabel>OK</btnlabel>
    </labels>
</configuration>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Stew,

   I need to correct my first reply as it seesm you can add html tags for changing the link text color.
Here is an example:

<a href="http://help.arcgis.com/en/webapi/flex/" target='_blank'><font color="#FFFFFF"><b>ArcGIS API for Flex</b></font></a>


For your image issue try adding a width attribute

<img src='assets/images/about.png' width='360'/>
0 Kudos
AmyRoust
Occasional Contributor III

Can you elaborate on which file you placed the HTML code into to make the hyperlinks a different color? The HTML source toggle button in the widget's configure dialogue box is worthless - none of the changes that I make in there will save.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Amy,

   I did not have the problem of the html source changes not being saved. I have not dealt with this in 4 years tough so I can't be much help now.

0 Kudos
StewartGalloway
New Contributor III
Excellent!  Both work great.  thanks so much.
0 Kudos