There are two differences with the tags that I haven't seen addressed yet.
<OBJECT WHATEVER>
<PARAM NAME="sw1" VALUE="yourValue">
</OBJECT>
<EMBED WHATEVER sw1="yourValue"></EMBED>
(Note: the EMBED tag needs to be inside the OBJECT tag.)
In the object you have a name and a value property in two statements, where in the
embed tad they are combined into one. Then in lingo, just grab the value with
lingoVar = externalParamValue("sw1") which will return a string. If you want a
number specifically you will have to use
lingoVar = value(externalParamValue("sw1"))
Hope this helps.
Kerry Thompson wrote:
> >you might try adding
> >
> >NAME=sw1
> >
> >inside of embed tag as well as the object tag.
>
> Yes, I did that (it's hidden there in the embed parameters--easy to miss).
> I understood that was what it took to make it work on Netscape. Apparently not.
>
> >Also, does the externalParamName function compensate for the different
> >browser document object models?
>
> I thought of that, but I'm not sure how to compensate.
>
> Incidentally, I did some puts to the message window, and IE is getting
> everything fine. Netscape is returning nothing from these:
>
> put "externalParamName: " & externalParamName("sw1")
> put "Value: " & externalParamValue("sw1")
>
> All I get in Netscape is the strings I'm putting--neither of the function
> calls returns anything.
>
> Cordially,
> Kerry Thompson
> Learning Network
>
> [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!]
--
---
Peter Tierney
Digital Publications Team Manager
Society of Exploration Geophysicists
---
8801 South Yale
Tulsa, OK 74137-3575
phone 918-497-5559
---
SEG web site: http://seg.org
[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!]