- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am new in Intel XDK , and the version I am using is 1878. I am trying to fire a function when the system change page (new view show). I did try the following code :
document.getElementById('agreementPage').addEventListener('panelload', function(){
alert("you're in agreementPage view!");
}, false);
But this did not work. It’s look like the notion of panel is not used anymore, The system just hidden and show the div containing the information of the new view.
<div class="upage vertical-col hidden" id="mainpage">
<div class="upage vertical-col left " id="agreementPage">
I also did try to include a onpropertychange="functionOnShow()" tag to the div without success.
I will appreciate all advice.
Thank you
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am assuming you are using the Intel App Framework, but you don't mention which version you are using: 2.x or 3.x.
Please see this discussion thread from the App Framework section of the board which might be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot Barry, this discussion tread was very useful.... everything is in order now... Thanks again Denis

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page