Hallo Forum!
Die neueste Version des SELFBrowsers ist verfübar. Ihr findet sie unter http://195.202.152.140/selfbrowser12.zip (inkl alle benötigten images 6,67 KB). Der Source steht am Ende dieses Postings.
Zur installation:
Einfach das ZIP in einem extra Ordner entpacken und die "selfBrowser.hta" starten -> fertig
Neue features:
- entfernen der differenzen zw V1.11 (von mir) & V1.1a (von ULF)
- URL-Zeile zum kopieren der Adressen (noch keine möglichkeit URLs direkt einzugeben)
- selbstdefinierbarer Timeout (noch keine speicherung der werte)
Was wird noch benötigt?:
- verbesserungsvorschläge und anregungen
- kleine images für die buttons - chat-smily ist schon ideal - wer hat ideen dazu?
- PAF bitte mich kontaktieren wegen SELFBrowser und SELFSpezial
OK dann jetzt viel spaß beim testen!
CU Roman
This posting was powerd by SELFBrowser 1.2 *G*
<!-- BEGINN DES SOURCE -->
<html>
<title>SELFBrowser</title>
<!-- SelfhtmlBrowser 1.2 291099 00:15 -->
<!-- idea and coding by Ulf Lieden, ulf.lieden@tlc.de -->
<!-- coding by Roman Pfarrhofer, r.pfarrhofer@kabsi.at -->
<!-- inspiration by Stefan Muenz, muenz@csi.com -->
<HTA:APPLICATION
ID="SELFBrowser"
BORDER="normal"
BORDERSTYLE="normal"
CAPTION="yes"
ICON="xweb.ico"
MAXIMIZEBUTTON="yes"
MINIMIZEBUTTON="yes"
SHOWINTASKBAR="yes"
SINGLEINSTANCE="no"
SYSMENU="yes"
WINDOWSTATE="normal"
VERSION="1.2"
<script>
// Global variables
baseURL = "http://www.teamone.de/";
function getReloadTimeOut() {
// get & calc the reloadTimeOut
var ReloadTimeOut = (document.all.autoReloadTimeOut.value * 60000);
// we don't want to kill the xdomain.gif *G* - so the min. timeout is 1 min.
if (ReloadTimeOut < 60000) {
ReloadTimeOut = 60000;
}
return ReloadTimeOut;
}
function reloadForum() {
// if location is at main page,
// and reload checkbox is checked,
// --> reload().
if(selfhtml.location == "http://www.teamone.de/selfaktuell/self_forum.html" && document.all.autoReloadcheck.checked){
selfhtml.location.reload();
}
// Start reload script after x minutes
autoReload = window.setTimeout("reloadForum()",getReloadTimeOut());
}
function resetReloadTimeOut() {
// stop the old timeout und start it again with the new value
window.clearTimeout(autoReload);
autoReload = window.setTimeout("reloadForum()",getReloadTimeOut());
}
function updateInputURL() {
// Write the current URL in the input-field "inputURL"
if (document.all.inputURL.value != selfhtml.document.URL) {
document.all.inputURL.value = selfhtml.document.URL;
}
window.setTimeout("updateInputURL()",100);
}
function openURL(url){
// Open new URL in SELFHTML window
if(!url) url = "";
selfhtml.location = baseURL+url;
}
function Chat(){
// Open chat window
F1 = open(baseURL+"selfaktuell/chat_leahcim.htm","Fenster1","width=600,height=400");
}
</script>
<style>
button { width:35; height:35; font-family:Arial; font-size:16pt }
iframe { width:103%; height:98% }
label { font-family:Arial; font-size:8pt }
body { font-family: Arial; font-size: 10pt; color: #000000}
h3 { font-size: 16pt}
</style>
<body scroll="no" bgcolor=#C0C0C0>
<!-- Button bar -->
<div id="ButtonLayer" style="position:absolute; left:0px; top:0px; width:100%; height:35px; z-index:5">
<nobr>
<button id="buttonBack" onClick="parent.selfhtml.history.back()" title="Zurück"><b><img src="xgprev.gif" width="10" height="10"></b></button>
<button id="buttonForward" onClick="parent.selfhtml.history.forward()" title="Vorwärts"><img src="xgnext.gif" width="10" height="10"></button>
<button id="buttonForum" onClick="openURL('selfaktuell/self_forum.html')" title="SELFHTML Forum"><b>f</b></button>
<button id="buttonNachricht" onClick="openURL('selfaktuell/self_forum_neu.html')" title="Neue Nachricht verfassen"><b>n</b></button>
<button id="buttonSuche" onClick="openURL('cgi-local/sfasuch.pl')" title="Forumsarchiv / Suche"><b>s</b></button>
<button id="buttonReload" onClick="javascript:parent.selfhtml.location.reload()" title="Neu laden"><b>r</b></button>
<button id="buttonChat" onClick="Chat()" title="Kleiner Chat nebenbei...?"><image src="xsmile.gif" width="15" height="15"></button>
<!-- Reload checkbox -->
<input id="autoReloadcheck" type="checkbox" title="AutoReload der Forumsseite an-/abstellen" name="AutoReloadcheckbox" value="checkbox" checked>
<label for="labelReload1">AutoReload</label>
<label for="labelReload1">every</label>
<input id="autoReloadTimeOut" type="text" style="width:19px; heigth:5px; font-family:Arial; font-size:8pt" title="AutoReloadTimeOut" name="AutoReloadinput" value="10" onKeypress="resetReloadTimeOut()">
<label for="labelReload1">min.</label>
</nobr>
</div>
<!-- SELFHTML title & logo -->
<div style="position:absolute; right:40px; top:5px; width:30px; height:30px; z-index:1" id="TitleLayer">
<h3>SELFHTML</h3>
</div>
<div id="LogoLayer" style="position:absolute; right:0px; top:0px; width:36px; height:32px; z-index:10; cursor:hand;" onClick="openURL('selfhtml/')"><img src="x4.gif" width="36" height="32"></div>
<!-- Main SELFHTML window -->
<iframe application="no" name="selfhtml" src="http://www.teamone.de/selfaktuell/self_forum.html" style="position:absolute; left:0px; top:63px;">
</iframe>
<div style="position:absolute; left:10px; right:10px; top:37px; width:100%; height:30px; z-index:1" id="divURL">
<input type="text" style="width:100%; background-color:#DDDDDD" id="inputURL" value="http://" readonly>
</div>
<script>
// Start update script for the field "InputURL"
updateInputURL();
// Start reload script after x minutes
autoReload = window.setTimeout("reloadForum()",getReloadTimeOut());
</script>
</body>
</html>
<!-- ENDE DES SOURCE -->