Clock on the Header?

All support enquiries for DFH go in here...

Clock on the Header?

Postby DirectProject » Tue Jul 03, 2012 12:40 am

Hello,

Could you give me some guidance towards adding a clock on the header so that it can be view on every page?
I was looking for something like a digital clock with the date/time.

Thanks, Adam
Image
User avatar
DirectProject
Standard Member
 
Posts: 12
Joined: Sat Jun 30, 2012 11:37 pm

Re: Clock on the Header?

Postby SamEA » Wed Jul 04, 2012 7:21 am

Well, for starters you have to find a JS clock script (e.g. http://www.webdeveloperjuice.com/2010/0 ... avascript/).

Afterwards, copy the code provided by your favourite JS Clock script and implement accordingly into the ./styles/Indigo/header.php file.

./styles/[STYLE_NAME]/header.php is DFH's header and is displayed on each DFH webpage.

*[STYLE_NAME] refers to your DFH's style name, and by default it is Indigo.

Goodluck,
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Clock on the Header?

Postby DirectProject » Thu Jul 05, 2012 1:40 am

Heloo Again,

Pain I know, Anyway i have managed to put a clock on the header perfect in fact, I have a problem with the footer area there is a background applied but in the picture below it is showing white where i would wand the footer to be displayed right at the bottom of the screen? how do i push the footer to the bottom without a background?

Thanks, Adam


Link: http://thatfile.co.cc/viewer.php?id=958970Footer.png
Image
User avatar
DirectProject
Standard Member
 
Posts: 12
Joined: Sat Jun 30, 2012 11:37 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 7 guests

cron