As written, your script works here. The problem probably lies in the way you
have set up things in your stack(s). If there is no card/stack matching the
name of the clickText, then nothing will happen when you click the text. Try
the following:

- Make sure your cards/stacks are named to match the text being clicked.
- If the card/stack names are more than one word long, make sure that you
have grouped the text to be clicked. (Select the text and then select
Style/Group from the Text menu.)
- Make sure the field(s) containing text to be clicked are locked, otherwise
you are in editing mode, and the mouseUp won't be sent when you click.
- For stacks, are the stacks you are accessing substacks of the stack where
you're clicking? If not, you need to set the stackFiles property of the
stack where you are clicking to ensure that MetaCard knows where to find the
stacks you are trying to open.

Hope this helps!
Marni
--
Marni Centor
Summit Systems
22 Cortlandt St.
New York, NY 10007
(212) 896-3466 

> -----Original Message-----
> From: Flora Leptak-Moreau [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 17, 1999 1:41 PM
> To: [EMAIL PROTECTED]
> Subject: Hypertext link
> 
> 
> 
> 
> Hi,
> 
> I am a beginner with metacard, and I managed to complete the 
> address book
> assisment. I have started a project on my own but have not 
> been successful
> with a hypertext link to a stack.  I changed "card" to stack, 
> but this did
> not work. 
> this is the script I wrote for it:
> 
> on mouseUp
>   if the clickText is not empty
>   then if there is a card the clickText
>   then go to card the clickText
> end mouseUp
> 
> No error messages show up but it is still not working.
> 
> I am supposed to select the text ti be linked first? I tried 
> that but that
> did not work.
> 
> Flora Leptak-Moreau
> Cincinnati
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ***********************************************************
> Flora Leptak-Moreau
> 3529 Secor Rd.  Apt 234
> Toledo,OH 43606
> 
> Telephone: (419-535-6232)
> Fax:(419-535-6232)
> ***********************************************************
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.

Reply via email to