How can I change the background of my web page depending on the time only using XHTML?

Wednesday, February 17th, 2010

I need to change the background of my web page 3 times a day. good morning, good afternoon, and good evening. this has to be in xhtml and not use javascript or PHP. I have to do this for a class which is why I cant use these.

<script language="JavaScript">

day=new Date() //..get the date

x=day.getHours() //..get the hour

if(x>=0 && x<4) {

document.write(’<style type="text/css">body{background: white url(1st.jpg); color: black}"></style>’)

} else

if(x>=4 && x<12) {

document.write(’<style type="text/css">body{background: white url(2nd.jpg); color: black}</style>’)

} else

if(x>=12 && x<18) {

document.write(’<style type="text/css">body{background: white url(3rd.jpg); color: black}</style>’)

} else

if (x>=18 && x<24) {

document.write(’<style type="text/css">body{background: white url(4th.jpg); color: black}</style>’)

}

</script>

Technorati Tags: , , , , , , , , , , , , ,

HTML & JavaScript – The Current Time Using a TIMER and IMAGES – CODE Included

Tuesday, February 16th, 2010

Please Visit, http://unknownuserace001.webs.com/TheCurrentTime.html for more info.

Here’s an online clock, that will tell time, exactly using images for the digits, in other words it’s a Digital Clock that’s online, or Live, written in HTML & JavaScript

Duration : 0:5:33

(more…)

Technorati Tags: , , , , , , , , , , , ,

Mastering Internet XHTML and Javascript (Custom Package)

Friday, February 12th, 2010

Mastering Internet XHTML and Javascript (Custom Package)

The textbook, Mastering Internet Xhtml and Javascript (Custom Package), by Zeid, available in Paperback. Published by: Pearson Custom. Edition: . ISBN10: 0536129231. ISBN13: 9780536129239. Ships directly from the vendor. Not a marketplace or backordered item. Our used books are hand inspected and in very good condition.

(more…)

Technorati Tags: , , , , , , , , ,

Html javascript form validation tutorial download the code

Monday, February 1st, 2010

http://www.resourceleader.com/script_grabber.php

Learn how to validate a form before it is submitted.
This is a html javascript form that you can use in your web site. You can use it with any program you may be using. You can even use it if your not using any web design program.

Now if you would like to save some time and grab this script from the video, just go to the site bellow and spend a dollar.

http://www.resourceleader.com/script_grabber.php

Duration : 0:8:20

(more…)

Technorati Tags: , , , , ,

How to make Home.html default home page of a web site instead of index.html?

Sunday, November 15th, 2009

Whwnever we open a site the default opening page will be index.htm or index.html. I want whenever i open a site like www.mydomain.com instead of opening index.html it will open home.html or any other which i would like to make default. How can i do thid

I think it depends on your domain providor. But If you can’t change it, you may have to find a little bit of javascript to autodirect your index.html to your home.html. That’s what I had to do with a very old website of mine ages ago…. Here is the code:

<head>
<script language="JavaScript">
<!–
window.location="http://yourpage.com/home.html";
//–>
</script>
</head>

I hope this works for you.

BTW: When I previewed this post the url in the code has ";…" you only need the URL in quotes ( " ) and the semicolon ( ; ) at the end of it.

Technorati Tags: , , , , , , , ,

#2 – XHTML, CSS, and JavaScript Roles

Friday, November 13th, 2009

I visually explain the roles of Xhtml, CSS, and JavaScript.

Duration : 0:9:40

(more…)

Technorati Tags: , ,

Build Native iPhone Apps with HTML, CSS, JavaScript and PhoneGap

Monday, November 9th, 2009

Quick overview of how to take a garden variety web app built with html, CSS, JavaScript and convert it to a native iPhone app using PhoneGap.

In this example, I used jQTouch to style and animated the web app, but this would work with any web app or JavaScript framework.

You can learn more about building iPhone apps with HTML, CSS, and JavaScript here:
http://building-iphone-apps.labs.oreilly.com/

Related links:
http://phonegap.com/
http://jqtouch.com/
http://jonathanstark.com/
http://oreilly.com/catalog/9780596805791

Duration : 0:8:46

(more…)

Technorati Tags: , , , , ,

Learn HTML, XHTML, CSS, PHP, Javascript And Much More!

Saturday, November 7th, 2009

The Best Website To Learn Learn html, xhtml, CSS, PHP, Javascript And Much More FOR FREE!!

Link To My Youtube:
http://techsupportgonebad.com

Link To My Website:
http://octogeek.com

Link To My Other Website:
http://octopic.com

Follow Me On Twitter:
http://twitter.com/tsgb

Link To The Website In The Video:
http://w3schools.com

Duration : 0:2:47

(more…)

Technorati Tags: , , , , , , , , , , , , , , , , , , ,

Introduction to HTML 5

Saturday, November 7th, 2009

Note: Higher quality version on Vimeo: http://vimeo.com/6691519

Are you interested in HTML 5 and what’s coming down the pipeline but haven’t had time to read any articles yet? Brad Neuberg has put together an educational Introduction to HTML 5 video that goes over many of the major aspects of this new standard, including:

* Web vector graphics with the Canvas tag and Scalable Vector Graphics (SVG)
* The Geolocation API
* HTML 5 Video
* The HTML 5 Database and Application Cache
* Web workers

In the video we also crack open the HTML 5 YouTube Video prototype to show you some of the new html 5 tags, such as nav, article, etc. It’s chock full of demos and sample source code.

Duration : 0:41:55

(more…)

Technorati Tags: , , , , , , , , , , , ,