Cheers James,

I got the behaviour down and tested it out - it worked fine

I also tried out the no-more-gaps string and that worked great too - i think
i'll stick with this for basic link recolouring/redefining as I can throw it
on keyframes and redefine the links when the playback head passes the
scripted frame ( .. though playing around with it it I'm having trouble
getting the playback head to jump to the new marker unless I have an on
hyperlinkclicked behaviour on the actual sprite, which kinda defeats the
purpose of redefining the link html on a frame - the actual location to link
to is not updated .. but I will work on it tomorrow .. )

Dan

----- Original Message -----
From: James Newton <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 8:47 PM
Subject: Re: <lingo-l> Changing the colour of hyperlinks


> Dan Smith <[EMAIL PROTECTED]> wrote:
>
> > Howdy
> >
> > I want to be able to change the colour of my text hyperlinks in
> > Director
>
> You can find a behavior that lets you do this at...
> >>         http://perso.planetb.fr/newton/linkstyle.dir
> Attach Chris Walcott's "Hypertext - General" behavior from the Behavior
> Library to the same sprite to get the links to react when you click on
> them.
>
> > Director is telling me that 'the string does not
> > end correctly' - anyone have any tips?
>
> When creating a string in Lingo, you need to use "&QUOTE&" instead of "
> and "&RETURN&" instead of the carriage return character.  The following
> is all one line of code: remove any carriage returns before testing.
>
> set member("link").HTML =
> "<html>"&RETURN&"<head>"&RETURN&"<title>Untitled</title>"&RETURN&"</head
> >"&RETURN&"<body bgcolor="&QUOTE&"#FFFFFF"&QUOTE&">"&RETURN&"<font
> size=4 color="&QUOTE&"#FF0000"&QUOTE&"><b><p
> align="&QUOTE&"right"&QUOTE&"><a href="&QUOTE&"somewhereelse"&QUOTE&">go
> somewhere else</a></font>"&RETURN&"</body>"&RETURN&"</html>"
>
> Cheers,
>
> James
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>







[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to