Jul 25, 2008

Show The Last Update Time Automatically - very helpful to your website

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Show The Last Update Time Automatically - very helpful to your website

hulunes
After we ourselves upload webpage, will often bring in constant renewal in and add the new content , and how could let net friend to browse through webpage know working hard getting newer one's own? Usually we will list the last date that this webpage will be upgraded in one mao of the webpage, but if this job is come to do by hand, troublesome and easy to forget. How to solve this problem? Having seen this small skill, you will say , it was so simple originally definitely. All right, now we do it. The source code pastes the frame :

<script language="JavaScript">
<!--hide script from old browsers
document.write("This last update date of page : " + document.lastModified + "")
// end hiding -->
</script>



This last update date of page: 09/16/2004 23:42:55 So long as we duplicate JavaScript code in " frame that the source code paste " to the place which you want to show the last update time. If we duplicate the code in the form of the following, each time when html file of this page is altered, demonstrate update time automatically in the form , u.i.: This last update date of page: 07/10/2000 14:26:37 It hit code document.write () meaning write out content that bracket establish in page, we adopt " document.lastModified " get file last update time , and it show come out now. In a flexible way use "document.write () "sentence, we still can output other contents in the page , for example present time , date , user's information ,etc.

Everybody can go to try !Good luck! biggrin.gif

 

 

 


Reply

ralph
thnx, I can use this

Reply

mobileunlocking
i think ill use it to.

Thx mate

got any more cool codes ??

Mick

Reply

Becca
huh.gif That is cool !!! Do you know how to do the live Time and Date thing ?? using PHP ??? Because I need that.....

As i said using PHP NOT MySql.....That drives me bonkers

Reply

biscuitrat
Umm...MySQL is a database tool...not a coding language...

Reply

melkonianarg
I had seen it on websites but didnt know how to get it, i suppose i shuold of just looked at the source code od the page, but its here anyway.


Thanx...!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : show, update, time, automatically, helpful, website

  1. Build A Website
    (11)
  2. Website Drop Shadow Effect Help
    (7)
    Well I am in a need of help, I want to add this cool drop shadow effect to a website I am building,
    but unfortunately for me I can't seem to get it right. I want to apply this drop shadow effect
    to this website The first person to effectively apply this drop shadow to this website
    will get a 50 credit prize All the files are provided, you have to download the OSWD file to get
    the images and style effect, there is no rush but if you can get it done right away I be much
    appreciated.....
  3. Website Problems Please Help
    Unwanted gap between the welcome bar and flash. (6)
    I just set up this website, none of the links are in working condition yet. This is mainly because
    im trying to get rid of this anoyying gab in between my flash object and my welcome bar (its the
    small dark grey/brownish gap). Does anyone know exactly how to fix this without messing anything
    else up vis changing the code or possibly even the size of the flash? Thanks. Here is the website:
    http://www.childrenofconan.trap17.com/ Moved to html section in anticipation of that being the
    correct Forum ....
  4. Making This Website Automatically Scale For Browsers
    (1)
    Hi I am trying to scale the code below so It can be used for a furniture business website
    successfully, heres the code: "http://www.w3.org/TR/html4/loose.dtd"> Home
    Lorem ipsum quaeque
    eripuit probatus id usu, nec ea dos epic uri verterem, quando tempr et mei. Eam equidem erroribus
    an, id nam illum perse- cuti read more 12/20/2007 Lorem ipsum
    quaeque eripuit probatus id usu, nec ea dos epicuri verterem, quando tempr ....
  5. Help With Website Layout Correction For All Browsers
    Page gets larger on Firefox 2 (4)
    If you go to my site at http://boozkerstweaks.trap17.com and you look at the home page everything
    is fine on all browsers. Problems start to arise very soon however. Here is my list of problems and
    i was wondering if someone could help with just whats wrong. I have done a HTML validator and found
    only 3 errors and all these problems still occured. You might find more now though because i am
    screwing around with the code. Here is the list of browsers and errors: Netscape 8.1: After you
    click on the pulldown menu and click the only tweak avaible at the moment the pag....
  6. How To Make Cms For My Dynamic Website?
    A Content Management System (3)
    It is a pain trying to have to write new code everytime you want to change something on my website.
    I know there is an easier way to update content. I read about COntent Management systems which
    apparently use XML. When I would enter the administartion area there woudl be dynamic fileds in
    which I could edit the data and when I click submit it would change. The thing is that I know how
    to add these forms to a page but I dont know how to create an adminstration area. I use php and one
    of my friends said to use XML. I have a book but it is taking a long time to read.....
  7. Background Image Picture On A Website
    how do u make a pic a backround?? (3)
    ?email me if u know! Trap17 forum asks you to post contributes with substance. ....
  8. Website Deployment Problems
    (3)
    Hello, I have developed a website that is specific to IE. The website looks great on my local
    machine. I then move it to my production environment. For some reason, the website now looks
    different when I view it from the production server. The strange thing is... I am using the same
    browser. I always believed that HTML was downloaded to the client and then it was up to the browser
    to render it. Considering I am viewing the webpage using the same browser from my machine... I
    should have received the same thing. Which lead me to believe that I didn't upload it prop....
  9. How Do I Mirror A Website?
    (4)
    After the last batch of hurricanes we lost 5 days of traffic due to power outages in S. Florida.
    What I really want to do is redirect a visitor to a copy of the website if the original site takes
    more than a set amount of time. If heavy traffic causes the original site to take more than 10
    seconds to load I want the visitor automatically redirected to a copy on a different server. Can
    this be done somehow? I'm thinking the requests might have to go through a first server that
    times the two other servers and decides which is the best route. Any ideas? Thanks, ....
  10. Making A Refresh Link On Your Website.
    refresh local webpage (16)
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> post it on ur website
    CODE <a href="javascript:this.location.reload();" style="color:
    #000000; font-weight: normal">refresh</a> It can refresh local webpage. U
    can add it at ur forum so that each topic u are reading can be refresh easily. If ur website
    return to homepage after pressing I.E. refresh button, then u must need this coding. /cool.gif'
    border='0' style='vertical-align:middle' alt='cool.gif' /> Beacus visitors only w....
  11. Html Templates
    HTML Templates for website (3)
    Where do i get free HTML Templates to use in look and feel of website? Any link will be
    helpfull....I know there are some free templates available but it is hard to find even by
    gooooogling it. Please, share if you have any. Thank You.....
  12. Website Copy Protection
    (15)
    Hey people, thanks for the help in advance. I notice that my competition refuses to put the time
    into their websites that I do and have been stealing my pages. Copying my web text is one thing, but
    I notice often times my entire page is stolen, from what looks like a 'Save Page As' deal.
    What can I do to protect myself from this web theft, or at least to make it harder. I dont use any
    java, I use straight CSS on all my pages. Thanks. kvarnerexpress....
  13. Update Navigation Links?
    (2)
    One of the requirements for the site Im working on right now is to be able to update navigation
    links easily. Its easy to do with frames, which I want to avoid. If I have 8 different pages, and
    add another page or anything, I dont want to have to open 8 pages and make the change to all of
    them. Is there another way, like having some kind of external style sheet, and bieng able to update
    that and have it carry over to all the other pages? As far as I understand, you can only have CSS
    code in a external stylesheet, and all the link infomation is in the actual page itself.....
  14. Ftp Website
    (0)
    hi guys, i am creating an FTP site which will have alot of folders on it each with subfolders and
    so on. the folders will be created every day on a machine and then sent to the site. i wanted to
    know if i can use a custom made DOS program created using the C language to upload the files and
    create the folders on the site or do i have to upload the folders invidually. i am a complete
    novice on FTP sites but have created a client for FTP transfers already, a pointer to a library of
    functions or general help would be gratefully appreciated. i am using VC++ 6 and windo....
  15. I Finally Found A Simple Way To Do A Blendtrans
    - want some cool effect for your website? (1)
    ok, this code isn't supported by some browsers, like Firefox. But it still works for the
    OnMouseOver. This code basically fades one images into another one. Really cool effect
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> . First thing: build or
    find 6 images, 3 pair. your going to want to build buttons that are close in relation, so they fade
    properly. Name the images as so: image1_on.gif , image1_off.gif image2_on.gif , image2_off.gif
    image3_on.gif , image3_off.gif now put these in a folder called: "images" inside your original....
  16. Optimizing Website?
    (10)
    I am sure there is the way to optimize website, so that is looks exactly how you want in every
    browser. I don't know it, so can somebody help me with that?....
  17. Website Security
    encryption/html function disabling etc. (2)
    Hey Guys, Searched for posts re: webpage security (keeping slimeB*lls from "borrowing" your content)
    on the forums & came up blank. So thought I'd start a string here. OK, so does anyone have any
    info to contribute? Has anyone used html encryption programs? Does this create problems with
    browsers "reading" the page content or other functionality problems? What about webpage/html
    modifications/"updates" after the page has been encrypted? How good is the encryption OR how easy is
    it to hack/crack etc. ??? Anybody? Cheers! PS-Any strings/links in the forums I've....
  18. going to far when designing a website
    all opinions for this one (3)
    how far is going to far to make sure to get those 90 billion hits a day on your website. if your
    creative with your scripting and it makes the user looking at your page happy ok that fine and
    dandy. but if you add all thos high speed tricks to your website like making text flash 6000
    different pop up adds per click QUOTE then you should be drag outside and shot for wasting web
    space /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> . but for me
    if its a useful trick like making text pop up if a person wants to know more that cool bu....
  19. Tips on creating a good website!
    (8)
    1) Navigation: Keep it simple (KISS), and make sure it's consistent from page to page. No matter
    where you place your menu bar -- either at the top or down the side -- always include a small text
    menu at the bottom of every page. If you're one of those people easily impressed with Flash,
    don't design your navigation with it. There are still some people who don't have or want the
    plug-in, so they won't be able to navigate your site. Besides, search engine spiders can't
    read it, so won't be able to spider the individual pages of your site if the....

    1. Looking for show, update, time, automatically, helpful, website

Searching Video's for show, update, time, automatically, helpful, website
advertisement



Show The Last Update Time Automatically - very helpful to your website



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE