Quote from
asmat on August 27, 2022, 10:20 pm
Thanks, Luis
I have tried like this:
- Created a menuPage and then migrate the CSS menu to it.
- create 5 pages and in the start-up event, I saved every individual page inside a variable.
GetObjectHTML "homePage" [homePage]
GetObjectHTML "userPage" [userPage]
GetObjectHTML "chatPage" [chatPage]
GetObjectHTML "shotPage" [shotPage]
GetObjectHTML "settingPage" [settingPage
finally, I have added a container with viewer id in the menuPage, and by clicking any menu option,
it renders its own variable inside the viewer container, example for userPage we have like this:
SetObjectHTML "viewer" "[userPage]"
The problem I faced with this method , if a page has some button or some stuff that runs JS code,
In this way, the running code will be stopped. for a better understanding, please check the attached sample.
Thanks, Luis
I have tried like this:
- Created a menuPage and then migrate the CSS menu to it.
- create 5 pages and in the start-up event, I saved every individual page inside a variable.
GetObjectHTML "homePage" [homePage]
GetObjectHTML "userPage" [userPage]
GetObjectHTML "chatPage" [chatPage]
GetObjectHTML "shotPage" [shotPage]
GetObjectHTML "settingPage" [settingPage
finally, I have added a container with viewer id in the menuPage, and by clicking any menu option,
it renders its own variable inside the viewer container, example for userPage we have like this:
SetObjectHTML "viewer" "[userPage]"
The problem I faced with this method , if a page has some button or some stuff that runs JS code,
In this way, the running code will be stopped. for a better understanding, please check the attached sample.
Uploaded files:- You need to login to have access to uploads.