|
|
@ -8,7 +8,6 @@ |
|
|
|
<title>Web Browser</title> |
|
|
|
<title>Web Browser</title> |
|
|
|
<link rel="stylesheet" type="text/css" href="css/main.css"> |
|
|
|
<link rel="stylesheet" type="text/css" href="css/main.css"> |
|
|
|
<script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> |
|
|
|
<script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> |
|
|
|
<!--DEFAULT FR--> |
|
|
|
|
|
|
|
</head> |
|
|
|
</head> |
|
|
|
|
|
|
|
|
|
|
|
<body> |
|
|
|
<body> |
|
|
@ -43,6 +42,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
if(window.sankore){ |
|
|
|
if(window.sankore){ |
|
|
|
url = window.sankore.preference("url", ""); |
|
|
|
url = window.sankore.preference("url", ""); |
|
|
|
|
|
|
|
if(sankore.preference("browserHistory", "")) |
|
|
|
|
|
|
|
references = sankore.preference("browserHistory", "").split(","); |
|
|
|
|
|
|
|
currentHistory = parseInt(sankore.preference("browserIndex", "0")); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
url = ""; |
|
|
|
url = ""; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -141,6 +143,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
if(window.sankore){ |
|
|
|
if(window.sankore){ |
|
|
|
window.sankore.setPreference("url", $("#textbox").val()); |
|
|
|
window.sankore.setPreference("url", $("#textbox").val()); |
|
|
|
|
|
|
|
window.sankore.setPreference("browserHistory", references.toString()); |
|
|
|
|
|
|
|
window.sankore.setPreference("browserIndex", currentHistory); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
$("#embeded-content").hide(); |
|
|
|
$("#embeded-content").hide(); |
|
|
@ -152,6 +156,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
clearTimeout(resizer); |
|
|
|
clearTimeout(resizer); |
|
|
|
resizerIndex = 0; |
|
|
|
resizerIndex = 0; |
|
|
|
|
|
|
|
$("#web-content") |
|
|
|
|
|
|
|
.attr("width", globalWidth - 25) |
|
|
|
|
|
|
|
.attr("height", globalHeight - 90); |
|
|
|
$("#web-content").show(); |
|
|
|
$("#web-content").show(); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
}; |
|
|
|
}; |
|
|
|