Turning Layers Off/On

J

JCO

How would you do this using a mouseover feature?
If I could look at some sample code... be great!
Thanks
 
M

Murray

Create a new page. At the top of the page, enter "Link" as text. Select
that word and apply a hyperlink to it. In the URL field, enter
"javascript:;" (that's colon semicolon). This makes that word a 'null link'
and it allows you to now apply behaviors to it. Let's call this a trigger.

Now insert a layer on the page.

Select your trigger. Apply a Show/Hide layer behavior. Hide the layer you
just added.

Look at the code. You have just produced your own sample code.
 
S

Sam Johnson

Great tip. But how do you add a layer? There's nothing in the toolbars
about layer anything.

What kind of layer are you referring to? FP Help refers to a layer as an
entry on the Navigation architecture, not what you're talking about at all,
but this sounds neat. Tell us more.

Thakns.
 
J

JCO

I did all this but did not understand how to Apply a Show/Hide to the
Trigger.
I have the Layer and Behaviors displayed on the right side of FP. I don't
see anything that says Show/Hide. I will look some more.
 
J

JCO

Never mind. I figured it out. I did not realized that it was:
Behavior > "Change Property" >Visibility

Cool! Thanks for your help.
 
Top