Hmm. I’ve been called Richard or Roger by people who mis-hear my name,
but Edward is a new one on me.
I would do this in Protaculous, and it is a very short script there.
Remove all the Actions you’ve added so far, and then make two new
styles using the Styles palette.
First style should be named popup
. You don’t need to add anything to
this in the way of style, but just to be sure that Freeway will
actually publish it, set the text-color to black or something
redundant like that.
Second style should be named trigger
and the only thing that needs
is one Extended attribute:
Name: cursor
Value: pointer
Click on each of your popups in turn, and apply the popup style to
them. As you do, make note of the name of each box (and/or rename them
to be rational to your design).
Click on each of your trigger images, and apply the trigger style to
them. Each one of the trigger images should also have the Observer
Action applied to it (part of Protaculous).
In the Observer Action, choose prototype-packed from the library
picker, then type ‘click’ in the DOM event field, and click on the
Function Body button and enter the following code:
$$('.popup').invoke('hide');
$('popupname').show();
Each one needs to have the correct name of the popup you want to
control replacing the word popupname above (but keept the quotes –
they’re important).
Finally , you just need to hide all of the popups when the page loads.
Click somewhere on the page and apply the Protaculous Action to the
page. Change the Library picker to prototype-packed, and paste in the
following code in the top Function Body dialog:
$$('.popup').invoke('hide');
That is all you need to do, it should just work.
Walter
On Sep 30, 2010, at 10:28 PM, Heather wrote:
Why o Why should this be so hard?
It seems like such a intuitive need. And a simple action…if you
can do it for graphics, why not text layers?
Edward, what would be your best alternative option at this point?
Thank you very much for your reply. I thought I was going crazy.
Anybody else like to chime in? I could use some help on this, if you
know of a solution?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options