Send As SMS

zingpow

a climate-controlled storage unit for computer codes, hacks, tips, tricks, guidance and dating.


Friday, August 18, 2006

Blogger - create static php pages

here is a trick for creating static php pages within blogger. first you have to have your site hosetd on your own server for this to work. next set your main template file to .php (ex: index.php) now, what you have to do is fo into the SETTINGS -> COMMENTS -> then click on then hide your comments. then save your changes. then go to SETTINGS -> ARCHIVING -> and click to not archive your messages. then save. upload your site. now go back and turn on your comments. save. then go back click to allow archiving. upload your site. this sould do it. now all of your static pages will be created using php.

Tuesday, August 15, 2006

Javascript - Date and Time code

Here is a simple script which displays the date on your page:

©
< script type="text/javascript">
var d=new Date()
document.write(d.getFullYear())
</script>

Friday, August 11, 2006

html - display html code on webpage without executing

replace the < with &lt; and the > with &gt; in the code and the code will not be executed.

javascript - close window on click

you have a popup for image detail? use this script to make that window close when anything is clicked on.

<a href="javascript:window.close();">Close Window</a>