Joomla; another scene in the same windows such as the parent window


(B.M.) #1

Hello!
In my joomla 2.5 website there is a picture with some flags (=buttons). If I click on a flag, there opens a new window with text (and pictures) in the previous window. It is shown in pic 1.
Please have a look: pic1

This all managed a joomla 2.5 plugin. Unfortunaltly the developer of the plugin transformed this not in an joomla 3.0 ones.
In would like realise the problem with hype, similar like pic 2.
Please have a look: pic 2 https://dl.dropboxusercontent.com/u/28466757/pic2.jpg
Is it possible to put, after a click on a button, a new scene in the old one , as shown in pic2?
Best regards
B.M.


(Alfons Salmhofer) #2

Hi B.M.

What you are trying to achieve is a piece of cake" with Hype…

Firstly set the scene size you want (size of the book?)
Add the image of the book to your scene as the background layer (must be at the bottom of your object list)
Use any flag image you like but cut the flag out from the background, delete the background and save it as PNG24 file (transparent background).
Import it to your media browser and drag it onto your scene (book)
Add a “square object” to your scene and resize it to the desired size and add the content to it (text, images).
Group the object now together with all the content.
Now add a new timeline and press the record button. Make the object group either 0% transparent or move it off the scene (invisible for now).
Now move the play head to the right for 1 or two seconds and make the object group visible again (100% Transparency or drag the object group back on the scene to the place you would like it to be.
Now select the flag and go the actions inspector (the hand).
Select “on mouse click / play timeline” and then choose the name of the timeline you have recorded for the object to become visible upon click.

If I would have been at home, I would have made a quick sample for you but for the next few hours I am away. Anyway, I hope this simple wotkflow will give some guidance…


(B.M.) #3

Hello Alfie!
I’m sorry, I am earliest on monday evening at home again. Presenty i write on my iPad far from home
I can explain the details better in German.
Please permittier me to explain my Ideals to Young in pm and in german!
Best regards
Bernd M.


(B.M.) #4

Hallo Alfons!
"Firstly set the scene size you want (size of the book?)
Add the image of the book to your scene as the background layer (must be at the bottom of your object list)
Use any flag image you like…"
I did so. Then i made the “Square Object” I set an Action to the first button: on Click Open scene 2. That works, but the scene2 opens in a new window.
Why is it necassary to cut the Flags put of the background.?
(Alfons, let me write a PM to you, because I can explane it better in German.)
Best regards
Bernd


(Alfons Salmhofer) #5

Alles klar. Schreib mir auf deutsch in einer PM :smile:

Alfie