FP2003 interactive button

J

Johnny

I've just discovered FP2003's Interactive Button feature and have been
playing with it.

It seems to solve a problem I have, but I don't know at what expense.

Aside from code bloat, what are the disadvantages of using this feature?

Thanks.

--Johnny
barelybad.com

P.S. Is there any handy way to change the colors?

--jg
 
J

Johnny

I don't plan to use include pages or shared borders or frames.

What are the ways to minimize code bloat?

As I see it, I've let FP2003 create the images, and now I can use them
as I see fit.

Let's say I have four interactive buttons, ABE, BOB, CAL, and DON, with
the standard 3 images each. Can I use CSS or Javascript or something to
implement these 12 images into four buttons that behave the same as the
way FP2003's Interactive button feature wants them to, the way I want
them to? I want to avoid using FP-generated code as much as possible.

Did you asnwer my question about changing the colors?

Thanks again.

--Johnny
http://barelybad.com
 
R

Ronx

See inline below:
--
Ron
Reply only to group - emails will be deleted unread.

Johnny said:
I don't plan to use include pages or shared borders or frames.

What are the ways to minimize code bloat?

When FP inserts an Interactive Button (IB) it adds information used for
editing the button - this can be removed. ( eg fp-style="fp-btn: Soft
Rectangle 6; fp-transparent: 1; fp-proportional: 0; fp-orig: 0"
fp-title="Button 1" )
As I see it, I've let FP2003 create the images, and now I can use them
as I see fit.
True


Let's say I have four interactive buttons, ABE, BOB, CAL, and DON, with
the standard 3 images each. Can I use CSS or Javascript or something to
implement these 12 images into four buttons that behave the same as the
way FP2003's Interactive button feature wants them to, the way I want
them to? I want to avoid using FP-generated code as much as possible.
Use javascript. No reason why you shouldn't do your own code.
Did you asnwer my question about changing the colors?
No, but there is a KB article at
http://support.microsoft.com/default.aspx?scid=kb;en-us;555010
 
J

Johnny

Thanks for the information and the URL to that article.

Is there any reason to prefer Javascript to CSS? Can you recommend
where I can learn how to apply either to the problem I have, now that I
(well, FP) have created the images.

Thanks again.

--Johnny
 
R

Ronx

The buttons have to be programmed to swap at appropriate times - CSS is for
appearance and positioning; JavaScript is for programming. Use the right
tool for the job.

I have never found a JavaScript tutorial (never really looked for one), but
you could examine the pages at www.irt.org , and at www.w3schools.com

As far as the scripts for IBs go, I see very little wrong with those
supplied by Front Page
 
Top