View Full Version : Timed Link Script

09-05-2008, 12:18 AM
I kinda made this script basically YOu have to wait til the timer expires then your link shows up, there are comments in the code telling you what what does, and here (http://berkley.axspace.com/timer_script.html) is an example of it in use (you gotta wait a minute to see it work tho) and here is the code

<noscript><h3>This page needs JavaScript, to display all information correctly!</h3></noscript>

<script type="text/javascript">
function ()
if (y=="") {
e==""; }
if (s=="") {
} else { }

function fc() {
document.getElementById("dl").innerHTML = 'Please be patient, the timer will expire shortly: <h3 style="font-size:24pt;" id="zeit">Still ' + c + ' seconds</h3>';
setTimeout("fc()", 1000); <!-- Sets the timer speed 1000=actual time, 100=~1/10 actual time-->
} else {
var tt = '<center>Timed link</center>' + '<br><center>Plus stuff</center>';
document.getElementById("dl").innerHTML = tt;
var c=60; <!-- How long the timer lasts (s) -->
if (window.location.hash == "#dlt")
c = 0;

<div id="dl">Script is broken or has been edited improperly, or you just don't have JavaScript on.</div>

<noscript><br>ERROR: Please activate JavaScript.</noscript>

<script type="text/javascript">