Flux rss

How to insert the option Last Modified to your webpage

Published by jak58, last update on Saturday September 20, 2008 05:26:53 PM by jak58

How to insert the option “Last Modified” to your webpage










If you are new to the web programming sphere and want to know when you have last updated your pages’ content, there is a very simple code, in JavaScript, that allows you to activate this feature.

Hence, all you have to do is to copy the codes displayed below in the body of your webpage and save it:


<BODY>
<CENTER>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var days = new Array(8);
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday";
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear = dateObj.getYear()
if (fyear < 2000)
fyear = fyear + 1900
document.write(wday + ", " + lmonth + " " + date + ", " + fyear)
// End -->
</SCRIPT>
</CENTER>
</BODY>
Keeping different versions of a Word document in the same file Microsoft Word calls this operation "versioning". The principle is very simple: one file will contain all the versions and will increase the file size. You can also extract any version and save it as a separate file/document. To use the version... en.kioskea.net/faq/sujet-12-keeping-different-versions-of-a-word-document-in-the-same-file
Disabling right click on your webpage Disabling right click on your webpage More than often, while trying so save some text or pictures from a website, you might wonder why your right click is not allowed. This is a simple JavaScript code that has been inserted in the website... en.kioskea.net/faq/sujet-674-disabling-right-click-on-your-webpage
Download Active Pixels Active Pixels a software of modification of pictures for Windows is. He is rather complete and offers numerous tools (lariat, magic wand, etc) and functionality.It inserts a simple and intuitive interface. Results are instantaneous since operations... en.kioskea.net/telecharger/telecharger-826-active-pixels
Google LinkGoogle Link Google Link is the new option that allows you to directly access a particular webpage. You can do this by adding the word “link:” before the URL of the webpage that you wish to access and the Google Link will open it... en.kioskea.net/faq/sujet-376-google-link
Excel tips : How to insert date In an Excel cellExcel tips : How to insert date In an Excel cell Below are some tips on how to insert date and time in an excel cell for a specific purpose:- To insert current date, press “CTRL”+ “;” in the chosen cell. To insert current... en.kioskea.net/faq/sujet-313-excel-tips-how-to-insert-date-in-an-excel-cell
How to insert picture background on Microsoft!How to insert picture background on Microsoft! To make a work sheet more appealing, you can add picture to your background. Below is a tip for doing so. Open your Microsoft and select “Format”> “Backgrounds” > “Printed... en.kioskea.net/faq/sujet-334-how-to-insert-picture-background-on-microsoft
E:/ is not a valid win32 applicaitonHello, I have inserted my USB drive into my PC running with windows XP. While I am trying to open USB drive (E:), I am getting the pop up window stated that "E:/ is not a valid win32 application". I have tried with autoplay, explore and open options.... en.kioskea.net/forum/affich-30370-e-is-not-a-valid-win32-applicaiton
Windows script host cannot script my pendriveHello, when i insert my kingston pendrive into my computer and tried to scan it with my AVG, a message from windows script host pop up and tells can not fiind script file "F:\faizal.js". i can only open it by using autoplay option. and my AVG scan... en.kioskea.net/forum/affich-10510-windows-script-host-cannot-script-my-pendrive
My folder option is not working and hidden file noHello, friend my folder option is not working . When i click show hidden file then click ok it will be done but hidden file not showing. en.kioskea.net/forum/affich-30491-my-folder-option-is-not-working-and-hidden-file-no
Download Switch File Format ConverterSwitch is an utility of audio conversion for Windows. Switch is very easy to use. It is enough to add the file to convert in the list, to choose desired format and to clicker conversion on the button.It inserts a simple and intuitive interface. The... en.kioskea.net/telecharger/telecharger-785-switch-file-format-converter
Download PC WIZARD 2008PC Wizard is a software of very powerful diagnosis, often put in day. It inserts the last platforms Intel Quad core and DDR3. Quality guarantee, the editor is that of the famous CPU-Z, known and acknowledged by the middle of the over clockers of... en.kioskea.net/telecharger/telecharger-384-pc-wizard-2008
Download The Logo CreatorThe Logo Creator is a software of creation of logo. It makes for everybody: undertaken, association, webdesigner, etc. It software offers a quick creation of logo from different model already inserted.These last are of quality professional and it is... en.kioskea.net/telecharger/telecharger-836-the-logo-creator
Webmastering - Introduction to webpage creation A website (also called an Internet site) is a group of HTML files connected by hypertext links and stored on a web server, i.e. a computer that hosts webpages and is permanently connected to the Internet. There are many motivations for having a... en.kioskea.net/web/webintro.php3
Computer - BIOS BIOS ("Basic Input/Output System" is an essential component in computers, which is used for controlling hardware. It is a small software program, part of which is loaded in ROM (read-only memory, which cannot be modified), and part of which is in... en.kioskea.net/pc/bios.php3
UNIX system - Commands Unix Commands Description Options ls lists the content of a directory -a Displays all files, including hidden files -I Displays a detailed listing -R Displays the files recursively (i.e. in the sub-directories) -d Displays only the directories and... en.kioskea.net/unix/unixcomm.php3