Commit for app window..

This commit is contained in:
Harry Bomrah committed 2012-05-25 15:41:07 +08:00
1 parent 6fedf7232a
commit 7488341836
6 files changed
+115 -10

No files matched your search

@@ -1 +1 @@
<iframe width="250" height="250" src="http://www.youtube.com/embed/RQieoqCLWDo" frameborder="0" allowfullscreen></iframe>
<iframe width="250" height="250" src="http://www.youtube.com/embed/RQieoqCLWDo?wmode=transparent" frameborder="0" allowfullscreen></iframe>
@@ -0,0 +1,11 @@
var openURL = function(){
$("div[data-content=4fba4bf36f4fea8095e389eb] form#browse_url_4fba4bf36f4fea8095e389eb").submit(function(){
var urlToOpen = $(this).find("input").val();
o.appWindow({
title: "Browser",
appid: "extURL",
url: urlToOpen
});
return false;
})
}
@@ -0,0 +1,9 @@
<div data-content="4fba4bf36f4fea8095e389eb">
<form id="browse_url_4fba4bf36f4fea8095e389eb">
<input type="text" /><br />
<button>Open</button>
</form>
</div>
<script type="text/javascript">
openURL();
</script>