Hi, is it possible to make a custom added home screen in gaia?
For now, I know there are two special page, one is the 'everything.me' and the 
other one is the 'landing-page'. I want to add another page, let's called it 
the 'extra-page' for now.


I have been trying to insert it as a new div in the homescreen/index.html, but 
when I did, the homescreen stopped working and stuck at the landing page with 
overlay on top of it and cannot slide to other page. The error at the jsconsole 
is:
Timestamp: 03/27/2013 01:15:16 PM
Warning: ReferenceError: reference to undefined property evt.preventPanning
Source File: http://homescreen.gaiamobile.org:8080/js/grid.js
Line: 185

>From what I have seen, looks like the added screen is not registered in the 
>grid.js, so it failed to call the evt. Is there some kind of help for this? 
>Thanks.

*The insertion in the index.html:
 <div id="landing-page" data-current-page="true">
        <div id="landing-time">
          <p id="landing-clock">
            <span class="numbers"></span>
            <span class="meridiem"></span>
          </p>
          <p id="landing-date"></p>
          <p>First!</p>
        </div>
      </div> -->this is the landing-page

<div id="extra-page" data-current-page="false">
        <div id="landing-time">
          <p id="landing-clock">
            <span class="numbers"></span>
            <span class="meridiem"></span>
          </p>
          <p id="landing-date"></p>
          <p>Second!</p>
        </div>
      </div> -->this is the added extra-page
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to