Question re Custom Interactive Buttons using XML in FP03

R

Russell

Hi all,

I'm in the process of revamping my web site, recreating it without shared
borders and theme, but using DWTs and CSS formatting instead. All seems to
be going well, but I have a question regarding interactive buttons. I've
made my own custom buttons in gif format (3 images, one each for normal,
hover and pressed states with identical dimensions, equal to twice the
dimensions of the normal targeted size of the actual buttons to be placed on
the site.) I have a custom XML file and the 3 images saved to my default
installation C:\Documents and Settings\"username"\Application
Data\Microsoft\FrontPage\Buttons folder. I've placed interactive buttons in
a left table cell nested within another table with several rows for site
navigation purposes. All is well, but I was under the impression that the
"pressed" state image was shown for the button relating to the active page,
giving the person a quick visual of which page they were currently viewing.
What I'm seeing, is that the normal and hover images work as advertised, but
the pressed image is only seen when clicking on one of the buttons, and not
seen once the mouse button has been unpressed. The button that correlates
to the active page always appears as the normal state. I hope I've
explained the situation clearly. The text of the XML file is below, just in
case someone sees that I need to add to or change something in it.

Thanks for any help,
Russell

XML text:

<?xml version="1.0"?>
<!--_lcid="1033" _version="5013"-->
<!--_LocalBinding -->
<!-- Interactive Button Configuration File -->
<ibuttons>
<ibutton>
<fp-btn>1Tasty IButtons</fp-btn>
<name><!--_locID_text="name2" _locComment="{StringCat=TXT}"-->1Tasty
IButtons</name>
<title><!--_locID_text="title2" _locComment="{StringCat=TXT}"-->Button
Text</title>
<fp-font><!--_locID_text="fp-font2"
_locComment="{StringCat=TXT}"-->Verdana</fp-font>
<fp-font-style><!--_locID_text="fp-font-style2"
_locComment="{StringCat=TXT}{ValidStrings=Regular,Italic,Bold,Bold
Italic}"-->Bold</fp-font-style>
<fp-font-size><!--_locID_text="fp-font-size2"
_locComment="{StringCat=TXT}"-->8</fp-font-size>
<fp-font-color-normal>#000000</fp-font-color-normal>
<fp-font-color-hover>#000000</fp-font-color-hover>
<fp-font-color-press>#000000</fp-font-color-press>
<fp-align-rect-normal>0,0,300,44</fp-align-rect-normal>
<fp-align-rect-hover>0,0,300,44</fp-align-rect-hover>
<fp-align-rect-press>0,0,300,44</fp-align-rect-press>
<fp-justify-horiz><!--_locID_text="fp-justify-horiz2"
_locComment="{StringCat=TXT}{ValidStrings=left,center,right}"-->center</fp-j
ustify-horiz>
<fp-justify-vert><!--_locID_text="fp-justify-vert2"
_locComment="{StringCat=TXT}{ValidStrings=top,center,bottom}"-->center</fp-j
ustify-vert>
<fp-direction><!--_locID_text="fp-direction2"
_locComment="{StringCat=TXT}{L=!1025,1037}{ValidStrings=none,rtl}"-->none</f
p-direction>
<width>150</width>
<height>22</height>
<fp-img-hover>1</fp-img-hover>
<fp-img-press>1</fp-img-press>
<fp-preload>1</fp-preload>
<fp-transparent>1</fp-transparent>
<fp-proportional>1</fp-proportional>
<fp-bgcolor>#ffffff</fp-bgcolor>
<fp-text-antialias>all</fp-text-antialias>
<fp-rgba-img-normal>button_normal.gif</fp-rgba-img-normal>
<fp-rgba-img-hover>button_hover.gif</fp-rgba-img-hover>
<fp-rgba-img-press>button_pressed.gif</fp-rgba-img-press>
<fp-rgb-img-normal>button_normal.gif</fp-rgb-img-normal>
<fp-rgb-img-hover>button_hover.gif</fp-rgb-img-hover>
<fp-rgb-img-press>button_pressed.gif</fp-rgb-img-press>
</ibutton>
</ibuttons>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top