<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Framework 7 alert prompt twice in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093403#M66084</link>
    <description>&lt;P&gt;I'm newbie on XDK. I created a new project as Blank Standard HTML5 using App Designer, Framework 7, XDK version 3088 (run on iMac OS EL Capitan). Then I drap a button on the mainpage of index.html with custom script:&lt;/P&gt;

&lt;P&gt;/*jshint browser:true */&lt;BR /&gt;
	/*global $ */(function()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;"use strict";&lt;BR /&gt;
	&amp;nbsp;/*&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; hook up event handlers&lt;BR /&gt;
	&amp;nbsp;*/&lt;BR /&gt;
	&amp;nbsp;function register_event_handlers()&lt;BR /&gt;
	&amp;nbsp;{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* button&amp;nbsp; Login */&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).on("click", ".uib_w_1", function(evt)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* your code goes here */&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('abc');&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp;document.addEventListener("app.Ready", register_event_handlers, false);&lt;BR /&gt;
	})();&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	When I 'run' it on iOS device in Debug tab, it prompt twice when click on the button. However, if I 'debug' it on iOS device in Debug tab, it prompt only once. Anything wrong?&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2016 04:06:46 GMT</pubDate>
    <dc:creator>Arthur_T_</dc:creator>
    <dc:date>2016-04-18T04:06:46Z</dc:date>
    <item>
      <title>Framework 7 alert prompt twice</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093403#M66084</link>
      <description>&lt;P&gt;I'm newbie on XDK. I created a new project as Blank Standard HTML5 using App Designer, Framework 7, XDK version 3088 (run on iMac OS EL Capitan). Then I drap a button on the mainpage of index.html with custom script:&lt;/P&gt;

&lt;P&gt;/*jshint browser:true */&lt;BR /&gt;
	/*global $ */(function()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;"use strict";&lt;BR /&gt;
	&amp;nbsp;/*&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; hook up event handlers&lt;BR /&gt;
	&amp;nbsp;*/&lt;BR /&gt;
	&amp;nbsp;function register_event_handlers()&lt;BR /&gt;
	&amp;nbsp;{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* button&amp;nbsp; Login */&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).on("click", ".uib_w_1", function(evt)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* your code goes here */&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('abc');&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp;document.addEventListener("app.Ready", register_event_handlers, false);&lt;BR /&gt;
	})();&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	When I 'run' it on iOS device in Debug tab, it prompt twice when click on the button. However, if I 'debug' it on iOS device in Debug tab, it prompt only once. Anything wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 04:06:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093403#M66084</guid>
      <dc:creator>Arthur_T_</dc:creator>
      <dc:date>2016-04-18T04:06:46Z</dc:date>
    </item>
    <item>
      <title>What is your experience when</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093404#M66085</link>
      <description>&lt;P&gt;What is your experience when using the Test Tab or on device via the Build tab?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 18:50:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093404#M66085</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2016-04-18T18:50:11Z</dc:date>
    </item>
    <item>
      <title>If you are starting out we</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093405#M66086</link>
      <description>&lt;P&gt;If you are starting out we recommend you use Twitter Bootstrap. See this FAQ for additional info &amp;gt; &lt;A href="https://software.intel.com/en-us/xdk/faqs/app-designer#best-app-designer-framework" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/app-designer#best-app-designer-framework&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 01:08:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093405#M66086</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-19T01:08:16Z</dc:date>
    </item>
    <item>
      <title>Thanks Elroy Ashtian Jr.</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093406#M66087</link>
      <description>&lt;P&gt;Thanks Elroy Ashtian Jr. Still prompt twice when I'm using the ipa that generated from Build tab. I haven't try on Test tab but I got this behavior. When using the ipa (for iOS device) that generated from Build Tab, if I tap on the button fast enough after open the app, it will only prompt once.&lt;/P&gt;

&lt;P&gt;Thanks Paul F. I'm using Twitter Bootstrap at the very beginning (I choose it because I have a research on responsive mobile framework). I switched to Framework 7 just because its look and feel more modern like iOS7 especially on table. Now base on your information, seems Framework 7 is not a good start.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 01:31:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093406#M66087</guid>
      <dc:creator>Arthur_T_</dc:creator>
      <dc:date>2016-04-19T01:31:21Z</dc:date>
    </item>
    <item>
      <title>There are Bootstrap themes</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093407#M66088</link>
      <description>&lt;P&gt;There are Bootstrap themes you can get to change the look and feel. You'll have to search the web for them.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 01:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093407#M66088</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-19T01:36:00Z</dc:date>
    </item>
    <item>
      <title>You should consider updating</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093408#M66089</link>
      <description>&lt;P&gt;You should consider updating your tutorials - all us beginners are using Framework 7 because that is what is shown in the tutorials, with the presenter saying what a great framework it is!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 02:48:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093408#M66089</guid>
      <dc:creator>Geoff_at_CFM</dc:creator>
      <dc:date>2016-04-19T02:48:01Z</dc:date>
    </item>
    <item>
      <title>HI, Elroy Ashtian Jr., seems</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093409#M66090</link>
      <description>&lt;P&gt;HI, Elroy Ashtian Jr., seems I should use Framework 7 provided alert instead of standard alert. i.e. using&lt;/P&gt;

&lt;P&gt;myApp.alert("message", "title");&lt;/P&gt;

&lt;P&gt;instead of&lt;/P&gt;

&lt;P&gt;alert("message");&lt;/P&gt;

&lt;P&gt;Then the message only prompted once.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:40:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093409#M66090</guid>
      <dc:creator>Arthur_T_</dc:creator>
      <dc:date>2016-04-19T09:40:55Z</dc:date>
    </item>
    <item>
      <title>@Geoff -- I'll see if we can</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093410#M66091</link>
      <description>&lt;P&gt;@Geoff -- I'll see if we can get a Bootstrap + App Designer tutorial put together.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:38:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093410#M66091</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-19T14:38:30Z</dc:date>
    </item>
    <item>
      <title>Hi Paul F., how to integrate</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093411#M66092</link>
      <description>&lt;P&gt;Hi Paul F., how to integrate the Bootstrap theme that I found from internet to XDK s.t. I can select from App Designer's themes if the project using Twitter Bootstrap?&lt;/P&gt;

&lt;P&gt;Also, how can I do screen transition animation if I using Twitter Bootstrap? e.g. slide / fade like the one in App Framework 3&lt;/P&gt;

&lt;P&gt;When I'm using App Framework 3, how can I have screen transition animation but the new page in another html file? I tried to define the new page in index.html but specify it's panel content come from another html, but not work:&lt;/P&gt;

&lt;P&gt;in index.html&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;&amp;lt;a class="button widget uib_w_4 d-margins" data-uib="app_framework/button" data-ver="2" href="#uib_page_1" data-transition="slide" data-page-type="document_page"&amp;gt;Login&amp;lt;/a&amp;gt;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;&amp;lt;div class="upage vertical-col left view" id="uib_page_1" data-header="none" data-footer="none"&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="pages"&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="upage-content vertical-col left panel ac0" id="uib_page_2" data-include="launcher.html"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;lt;/div&amp;gt;&lt;/P&gt;

&lt;P&gt;it can slide to uib_page_2 but nothing show in that page, so I try to make launcher.html only contain this text: "testing" but still nothing to show&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:20:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093411#M66092</guid>
      <dc:creator>Arthur_T_</dc:creator>
      <dc:date>2016-04-20T07:20:00Z</dc:date>
    </item>
    <item>
      <title>What type of Bootstrap theme</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093412#M66093</link>
      <description>&lt;P&gt;What type of Bootstrap theme is it? Most Bootstrap themes these days are not just a .css file but a pre-built page template with matching &amp;nbsp;CSS. &amp;nbsp;If yours is one of those page templates, you won't be able to use it with the App Designer. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;The animations between pages are provided (or not) by the individual frameworks. Bootstrap doesn't have those animations predefined. (Unlike App Framework or jQueryMobile). &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 17:25:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093412#M66093</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2016-04-21T17:25:29Z</dc:date>
    </item>
    <item>
      <title>Thanks, forget about my</title>
      <link>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093413#M66094</link>
      <description>&lt;P&gt;Thanks, forget about my questions on Bootstrap as I won't choose it if there is no screen transition animation out of the box. (ps: the Bootstrap theme I found with 3 directories: css, fonts, js and I replace those in cerulean which is one of the build-in theme of Bootstrap, so I can see the effect of this new 'ios' style theme, but it didn't on table like Framework7 does)&lt;/P&gt;

&lt;P&gt;Then I will choose either Framework7 or App Framework. Most probably I will choose Framework7 after read online document: &lt;A href="http://framework7.io/docs" target="_blank"&gt;http://framework7.io/docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 01:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Framework-7-alert-prompt-twice/m-p/1093413#M66094</guid>
      <dc:creator>Arthur_T_</dc:creator>
      <dc:date>2016-04-22T01:34:00Z</dc:date>
    </item>
  </channel>
</rss>

