open or go one stack to another
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 9
- Joined: Tue Dec 08, 2009 9:51 pm
open or go one stack to another
This seems awfully basic, but it ain't working for me. I have a stack1 with a button script:
on mouseUp
go stack "stack2"
end mouseUp
It works great in the revmedia application, but when I build it for the web, the button press does nothing. Help?
on mouseUp
go stack "stack2"
end mouseUp
It works great in the revmedia application, but when I build it for the web, the button press does nothing. Help?
Re: open or go one stack to another
bobosquish,
welcome to the forum.
Jacqueline posted a how-to
http://jacque.on-rev.com/codebits/dualrevlets.irev
don't be intimidated by the javascript. The main point is that the id of the two stacks have to be the same. Tweak for placement. Jacqueline explains it in detail. Ask if stuck.
regards
Bernd
welcome to the forum.
Jacqueline posted a how-to
http://jacque.on-rev.com/codebits/dualrevlets.irev
don't be intimidated by the javascript. The main point is that the id of the two stacks have to be the same. Tweak for placement. Jacqueline explains it in detail. Ask if stuck.
regards
Bernd
-
- Posts: 9
- Joined: Tue Dec 08, 2009 9:51 pm
Re: open or go one stack to another
I've tried the technique Jacque outlined. My situation is a little bit different. Her two stacks do not overlap visually, mine do. Stack1 is displayed; when I press a button, the display should change to stack 2. I can't get that to work with different stacks or substacks. I've tried hiding the first stack before opening the second. The first stack remains visible, but is no longer active (can't click buttons). The second stack does not appear.
Re: open or go one stack to another
Hi Bobo,
unfortunately, Revlets can only disply ONE stack in the window, although it was advertised.
Anyway, the only thing you can do is, supposed your two stacks have identical dimensions (width and height),
...
go stack "the substack" in window of this stack
...
Not tested, but this should be working (so they say
)
Hope that helps.
Best
Klaus
unfortunately, Revlets can only disply ONE stack in the window, although it was advertised.
Anyway, the only thing you can do is, supposed your two stacks have identical dimensions (width and height),
...
go stack "the substack" in window of this stack
...
Not tested, but this should be working (so they say

Hope that helps.
Best
Klaus
-
- Posts: 9
- Joined: Tue Dec 08, 2009 9:51 pm
Re: open or go one stack to another
Thanks, Klaus. I tried your idea, but that did not work either. I think we're stuck with one stack displayed in a revlet.
Re: open or go one stack to another
Bobo,
I cant get a stack to hide in a revlet, setting its blendlevel to 100 does not work either. But you can hide elements of your stack like fields and so on. And you can go to another card on your stack. So with a little change in the user interface and the way you set up your stacks in the revlet you can do a lot of things. Think of it like a tabbed button. There also you hide and show fields buttons etc.
Just experiment a bit.
regards
Bernd
I cant get a stack to hide in a revlet, setting its blendlevel to 100 does not work either. But you can hide elements of your stack like fields and so on. And you can go to another card on your stack. So with a little change in the user interface and the way you set up your stacks in the revlet you can do a lot of things. Think of it like a tabbed button. There also you hide and show fields buttons etc.
Just experiment a bit.
regards
Bernd
-
- Posts: 9
- Joined: Tue Dec 08, 2009 9:51 pm
Re: open or go one stack to another
bn,
That's what I'm doing for now. Because my app includes multiple databases, I want to store each in their own stack just to keep the data files separate.
bobo
That's what I'm doing for now. Because my app includes multiple databases, I want to store each in their own stack just to keep the data files separate.
bobo