Yes something like that, only I'd love to get it through Lingo, as I'm a
crappy Javasripter.

Pekka


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Christian Wach
> Sent: 21. heinakuuta 2001 15:46
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Retrieving HTML parameters from URL
>
>
> Pekka Buttler wrote:
>
> > I need the URL, which is in the Browser's adress box when the
> SW game is being
> > loaded. Something like location.search in Javascript.
> >
> Something like this?
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
>
> <!-- Hide
>
> // Get location string
>
> nav_loc = String(document.location.href);
>
> // Write Object and Embed Tag
>
> document.write('<OBJECT
> CLASSID="clsid:166B1BCA-3F9C-11CF-8075-444553540000"
> CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/direct
> or/sw.cab#
> version=7,0,2,0" WIDTH="320" HEIGHT="240"><PARAM NAME="src"
> VALUE="your.dcr"><PARAM NAME="SWLIVECONNECT" VALUE="0"><PARAM NAME="sw1"
> value="' + nav_loc + '"><EMBED src="your.dcr"
> pluginspage="http://www.macromedia.com/shockwave/download/"; width="320"
> height="240" sw1="' + nav_loc + '"><\/EMBED><\/OBJECT>');
>
> // End Hide -->
>
> </SCRIPT>
>
> btw, beware line breaks, and that the object/embed is for D7.0.2.
>
> Christian
>
> ----------------------------
> Christian Wach
> [EMAIL PROTECTED]
> ----------------------------
>
>
> [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