วันจันทร์ที่ 28 กันยายน พ.ศ. 2558

วันศุกร์ที่ 18 กันยายน พ.ศ. 2558

วันพฤหัสบดีที่ 17 กันยายน พ.ศ. 2558

การเรียกเวปภายนอก app URLs with IonicFramework

การเรียกเวปภายนอก app    

 URLs with IonicFramework

https://blog.nraboy.com/2014/07/launch-external-urls-ionicframework/




cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git



<ion-view title="Test Page">
    <ion-content>
        <div class="list">
            <a class="item" href="#" onclick="window.open('http://www.nraboy.com/contact', '_system', 'location=yes'); return false;">
                Open a Browser
            </a>
            <a class="item" href="#" onclick="window.open('http://www.twitter.com/nraboy', '_system', 'location=yes'); return false;">
                Open a Twitter Client or Browser
            </a>
            <a class="item" href="#" onclick="window.open('https://plus.google.com/+NicRaboy', '_system', 'location=yes'); return false;">
                Open a Google+ Client or Browser
            </a>
        </div>
    </ion-content>
</ion-view>




CodeDescription
window.open(‘http://example.com’, ‘_system’);Loads in the system browser
window.open(‘http://example.com’, ‘_blank’);Loads in the InAppBrowser
window.open(‘http://example.com’, ‘_blank’, ‘location=no’);Loads in the InAppBrowser with no location bar
window.open(‘http://example.com’, ‘_self’);Loads in the Cordova web view



 


สอนการติดตั้ง nodejs 4.1.0

สอนการติดตั้ง nodejs 4.1.0

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
Current Version: v4.1.0
Download for Windows (x64)
Node Interactive