Include something with the URL?
Posted: Sun Feb 22, 2004 4:51 pm
Weee! My first post!
Take a look at this JavaScript...
<script>
function init()
{
var e = document.getElementById("image");
if (e) e.src = location.hash.substr(1);
}
</script>
</HEAD>
<BODY onload="init();">
<IMG SRC="" id=image>
What image to be shown on the html site is the file you type in the url (document.html#picture.jpg).
Now for the question. How to do if I want a html document instead of an image? Who can make a php script that does that or is there a script for that already?
Take a look at this JavaScript...
<script>
function init()
{
var e = document.getElementById("image");
if (e) e.src = location.hash.substr(1);
}
</script>
</HEAD>
<BODY onload="init();">
<IMG SRC="" id=image>
What image to be shown on the html site is the file you type in the url (document.html#picture.jpg).
Now for the question. How to do if I want a html document instead of an image? Who can make a php script that does that or is there a script for that already?