Category Archive: HTML Tips

Random image

Random image Displays a random image on a web page. Images are selected from a folder of your choice. <?php /* * Name your images 1.jpg, 2.jpg etc. * * Add this line… Read More

PHP: Random Quote

PHP: Random Quote Make a file called quotes.txt Put each quote on it’s on line. Here’s a script: <? $r_array=file(‘quotes.txt’); shuffle($r_array); echo $mQuotePath[0]; echo $r_array[0]; ?>

File Browse without button

File Browse without button <html> <head> <title>File Upload Example</title> <script language=”JavaScript” type=”text/javascript”> function HandleFileButtonClick() { document.frmUpload.myFile.click(); document.frmUpload.txtFakeText.value = document.frmUpload.myFile.value; } </script> </head> <body> <form name=”frmUpload”> <input type=”file” name=”myFile” style=”display: none”> <input type=”text” name=”txtFakeText”… Read More

Move Window

Move Window <meta http-equiv=”refresh” content=”5;URL=windowmove.html”> <script> <!–// var mx=10 var my=10 function movewindow(n) { if (window.top.moveBy) { for (i = 10; i > 0; i–) { for (j = n; j > 0;… Read More

10 Tips for Safer IM Instant Messaging

Communicating by using an instant messaging (IM) program has some of the same security and privacy risks as e-mail, but there are a  few unique dangers that you should be aware of. Never… Read More

Follow

Get every new post delivered to your Inbox.

Join 36 other followers