[dokuwiki] Re: multiple javascript files

  • From: "Bill Jones" <tetragondzein@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 2 May 2006 10:57:21 -0400

On 5/2/06, Martin Tschofen <martin.tschofen@xxxxxxxxx> wrote:

On the other hand, is there a way that could be done with JS itself
(load another js file)? It could be done with AJAX but that causes
delays...martin


Same syntax as javascript -

<html>
<script type="text/javascript"
src="http://embed.technorati.com/embed/ybr4uf4sq.js";></script>
</html>

Plus, if you want, you can use this to break a page or namespace:page
out of frames:

<html>
<script> <!--
if (window != top )
top.location.href = window.location.href;
// -->
</script>
</html>

This trick i use to redirect pages that I haven't fully created yet:

<html>
<meta http-equiv="Refresh" content="3;url=http://insecurity.org/";>
<body>
</html>
Redirecting you to [[http://insecurity.org/]].
<html>
</body>
</html>

HTH/Sx
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: