Page 2 of 2
Re: HTML talk
Posted: Sun Sep 24, 2006 9:26 pm
by neo
Re: HTML talk
Posted: Thu Oct 26, 2006 10:48 pm
by Hunchman801
According to statistics, 45.6% of PC members used IE this month, while 36.6% used Firefox.
Re: HTML talk
Posted: Tue Nov 28, 2006 3:48 pm
by neo
Really? Well, I have both. ^^
Re: HTML talk
Posted: Thu Nov 30, 2006 7:42 pm
by Hunchman801
That's 53% for IE, 32.5% for Firefox and 9.9% for Opera.
Re: HTML talk
Posted: Thu Nov 30, 2006 8:56 pm
by neo
I used Firefox here a couple of times. ^^
Re: HTML talk
Posted: Sat Dec 02, 2006 11:59 pm
by Hunchman801
I wonder who uses Opera. That's quite a nice browser

Re: HTML talk
Posted: Mon Dec 04, 2006 5:10 am
by Reese Riverson
A useful code to add with your HTML site (with the .php) at the end is:
This very simple PHP code is very useful for when adding a navigation system onto your site.
For example.
On the RayGallery site, the language navigation (where you can switch to the English, French, or even the Dutch version's of the site) with this code in place:
Which will take the code right from the text file, called "lang". The included file does NOT have to be a php, HTML, css or et cetera. In this case, I chose to use the text file, simple.
what is contained in the text file is:
Code: Select all
English(EN) | Français(FR) | Nederlandse(DU)
and that is it. Right now they are NOT setup as links. Because I'll get to that a bit later.
As you can see, no "HTML" or "BODY" takes in the text file. The reason is simple, you do not need them. If you add them, they'll be in the index file twice. Seeing the index already has the html and body tags, the text file will not need them. it goes for all files which are included into the index page.
This simple php code is actually a time saver. Think about it...
You wouldn't have to edit the navigation in every single page! If your site has 50+ pages, each with a navigation added in it, and you wanted to add something to the navigation, and if you do not have this simple PHP code in it, you will be editing 50+ pages which takes a while. Now if you used this code, and it is in each page, your navigation code will be only in one file. If you edit the file to add something, it is edited in EVERY page. See how much time it'd save?

Re: HTML talk
Posted: Sun Dec 10, 2006 7:21 pm
by Hunchman801
This is the reason why the
include function is used in every script here

^^ What's great with it is that you just have to edit one file in order to modify the whole website

Re: HTML talk
Posted: Wed Dec 13, 2006 6:00 pm
by Reese Riverson
^^
As for PHP codes in forums, I still don't understand them. ^^;
Re: HTML talk
Posted: Thu Dec 14, 2006 2:58 pm
by neo
I want to learn all this code and make my own forum lol.
Re: HTML talk
Posted: Sat Dec 16, 2006 11:10 pm
by Hunchman801
It took me weeks to understand them

Re: HTML talk
Posted: Thu Dec 21, 2006 7:18 am
by Reese Riverson
It'll take quite some time to make your own forum, Neo. It is not easy. It requires full knowlege of HTML, XHTML, CSS, PHP, MYSQL, and et cetera.
Re: HTML talk
Posted: Tue Mar 06, 2007 3:45 pm
by neo
Oh... I will have to take the time to understand it all, I will have time after this year. ^^
Re: HTML talk
Posted: Tue Mar 06, 2007 7:24 pm
by Hunchman801
I learnt this all years ago ^^