[ANN] RevLetObject javascript include.

Sivakatirswami katir at hindu.org
Fri Oct 30 22:51:42 EDT 2009


Never mind... I figured it out... it's too easy

one <div>

# mainstack is called:

<param name="stack" value="Canvas"/>
                        <param name="requestedName" value="Canvas"/>

and second <div>

# substack is called:

 <param name="stack" value="Tools"/>
                        <param name="requestedName" value="Tools"/>

Let us hope this behavior "sticks" thru the coming iterations

When they announced substacks would not be honored to open independently,
nothing was mentioned about this option as an alternative.

Presumably if you were really good with Javascript you might be able to 
dynamically generate
the second div on demand? and perhaps revWebPlayer would load it?

One would then need a way to trigger the revWebPlayer to
instantiate the substack in the new innerHTML...

Andre?

skts









   


with the

Sivakatirswami wrote:
> Sarah Reichelt wrote:
>> On Sat, Oct 31, 2009 at 10:45 AM, Sannyasin Sivakatirswami
>> <katir at hindu.org> wrote:
>>  
>>> �Can the two revlets open on the same page talk to each other ?
>>>
>>> �i.e. can we do
>>>
>>> in the first stack... call it "eBook"
>>>
>>> on OpenTOC
>>> � go to card 1 of stack "Table of Contents"
>>> end openTOC
>>>
>>> where stack "Table of Contents" is the other stack?
>>>
>>> and then in Table of Contents we have a script for
>>>
>>> on clickLine
>>> � go to card �( value of the clickline) of stack "eBook"
>>> end clickline
>>>     
>>
>>
>> You can have two stacks open on the same page, if they share the same
>> instance ID. You need to set this ID in the HTML that displays the 2
>> stacks.
>>   
> Outstanding! Most significant is the drawing app... the reference to 
> "substack"  This may be the
> solution to my "problem" of not having substacks open in separate 
> windows.
>
> If the stack is deployed as a single stack, how to you trigger:
> the instantiaton/opening of the substack in a separate <div>
>
> ? I don't see anything in the standalong builder that indicates what 
> to do... there is an obscure "Affiliates" option with a place to enter 
> and ID
>
> Where is the documentation? for doing the above?  I looked in 
> "Beginner's Guide"
>
>
> OH boy... the splash screen example triggered Font Agent Pro to open 
> every single font on my system!
> (hehe)  Look fabulous though!
>
>
>
>
>> There is an example of this here
>> <http://revmedia.runrev.com/revWeb-samples/sketch/> where the 2 stacks
>> appear together and interact.
>>
>> Cheers,
>> Sarah
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>   
>




More information about the use-livecode mailing list