Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

HTML time and date to a specific look


  • Please log in to reply
6 replies to this topic

#1 rev_ollie

rev_ollie

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:01:16 AM

Posted 25 November 2008 - 02:08 PM

Hi Guys

I'm hoping someone can help me. I have a guy that came to me asking about his free webs site. He got some pretty wild ideas about what he want it to look like and to be honest i said no to most but for some reason he's really picky about a certain date.

He wants the Today's date to look just the like the one on here

http://www.icarly.co.uk/

I guess he just likes the way it looks but i don't know the first thing about HTML. Is there anyway someone can give me a hand here?
The guy who normally does this has quit (grrrr) so I'm stuck

Cheers anyone who can help i need this pretty quick :thumbsup:

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:06:16 PM

Posted 25 November 2008 - 03:37 PM

Open the source code and copy it?

#3 rev_ollie

rev_ollie
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:01:16 AM

Posted 25 November 2008 - 03:59 PM

How do you open the source code exactly?
Thanks :D

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:06:16 PM

Posted 25 November 2008 - 04:20 PM

Right click on the web page, and view source.

EDIT: Of course, that is only part of the issue. There has to be some means of getting today's date. You can't do that with HTML. You are going to have to use javascript. This page may be helpful.

#5 rev_ollie

rev_ollie
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:01:16 AM

Posted 25 November 2008 - 04:52 PM

Aah ok then simpler than i thought.

Ok then could you give me a few pointer as to what I'm looking for in terms of the date eg any key words in the source code that would stand for the date?

Also the guy is making the page in free webs and i don't know whether you can use Java? Do you happen to know anything about this?

I mentioned HTML because you can enter code into the page to publish and i have a feeling you can use CSS as well but I'm still not sure on java

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:06:16 PM

Posted 25 November 2008 - 05:42 PM

It is not Java, it is javascript, and virtually every web page uses javascript in one form or another. Java and Javascript are not the same thing, and in spite of having similar names, are in no way related at all (common misconception).

key words in the source code that would stand for the date?

How about searching for the day as it is displayed on the page (ie, 'Tuesday').

#7 rev_ollie

rev_ollie
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:01:16 AM

Posted 26 November 2008 - 12:22 PM

Well i never knew Java and Javascript werent the same thing :thumbsup: hmm

I had a look through and ive found it...it came up with the day like you said and ive found the rest and put it on the site and it worked so he should be happy

Thanks so much




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users