User: andreschnabel Date: 05/03/06 07:43:27 Modified: /de/www/ known_issues.html
Log: Script zur Weiterleitung des Downloads von quickdownload File Changes: Directory: /de/www/ =================== File [changed]: known_issues.html Url: http://de.openoffice.org/source/browse/de/www/known_issues.html?r1=1.5&r2=1.6 Delta lines: +50 -1 -------------------- --- known_issues.html 6 Mar 2005 12:33:00 -0000 1.5 +++ known_issues.html 6 Mar 2005 15:43:24 -0000 1.6 @@ -10,11 +10,60 @@ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- > Kommentare zur Seite - $Id: known_issues.html,v 1.5 2005/03/06 12:33:00 andreschnabel Exp $ + $Id: known_issues.html,v 1.6 2005/03/06 15:43:24 andreschnabel Exp $ < --> <!-- End de-header --> +<script type="text/javascript"> +<!-- // Script , um Download zu starten, wenn von der QuickDownload-Seite her aufgerufen wurde + +/* + return string containing value of specified cookie or null + if cookie does not exist +*/ + +function getLink() { + var dc = window.location.href; + var prefix = "dl"; + var begin = dc.indexOf("?" + prefix); + if (begin == -1) { + begin = dc.indexOf(prefix); + if (begin != 0) return null; + } else + begin += 2; + var end = dc.indexOf("&", begin); + if (end == -1) + end = dc.length; + return unescape(dc.substring(begin + prefix.length, end)); +} + +function doLoad() { + // the timeout value should be the same as in the "refresh" meta-tag + setTimeout( "refresh()", 2*1000 ); +} + +function refresh() { + // This version of the refresh function will cause a new + // entry in the visitor's history. It is provided for + // those browsers that only support JavaScript 1.0. + // + window.location.href = link; +} +--> +</script> + </head> + + + <body> +<script language="JavaScript"> + link = getLink(); + if (link != null ) { + document.write('<p><small>Sollte der Download nicht automatisch starten, bitte folgenden Link nutzen: <a href="'+ link + '">' + link + '</a></small></p>'); + doLoad( ); + } +</script> + <!-- Start Navbar --> <table id="navbar_de" summary="Navigationsleiste" border="0" cellspacing="0" cellpadding="0"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
