I THINK THERE SHOULD BE A SECTION FOR SCRIPTS.
I THINK THERE SHOULD BE A SECTION FOR SCRIPTS.
Heres a little script that tells you how long it takes for your webpage to load,
<?php
// Insert this block of code at the very top of your page:
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$start = $time;
?>
then
<?php
}
// Place this part at the very end of your page
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$finish = $time;
$totaltime = ($finish - $start);
printf ("This page took %f seconds to load.", $totaltime);
?>
it's very cool , i have install in my website , it's working very fast :D
this javascript blocks the right mouse button :D
<script language="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Sorry, de rechtermuisknop is geblokkeerd!");
return false;
}
return true;
}
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
</script>
www.funky-chickens.com is a great source of Java and HTMl coding. I've used some of their codes. Just need to know how to use and install them :D.
You need no knowledge of PHP or CGI and perl.. (Most codes go anywhere you want them and where you want to put them.)
I also look up at www.javahut.com (don't know if that still works)
www.Javascript.com
http://javakit.com (Don't know if I spelt it right.)Good luck...
I learned my HTML from funky chickens. haha. Great site, I used it 5 years ago.
Another good site is javafile.com and hotscripts.com Im not sure if they are right since I haven't used them in a while.
Another really good script site is www.resourceindex.com
Bookmarks