BDS Software

CODE

Again, you can generally see any of the internal javascript code on any of my webpages by simply right-clicking the page, and then clicking on "View Source" (in Firefox; other browsers are similar).

The following are the hidden bits which don't show up under "View Source".

If you wish, you can download this entire collection as one HiddenScripts.zip file.

-----

All of the following files are provided as plain text files for you to download.

I've made them into plain text files specifically to keep them completely non-dangerous.

Actually, all these files are plain text files anyway - servers and browsers just use them differently based on their file extensions.

The file extensions are:

.css = Cascading Style Sheets
 .js = Javascript
.php = PHP: Hypertext Preprocessor

css is used to determine the website's appearance. -- The .css files are setup to reside in the www.website.com/cssincludes folder.

js is used for client-side (i.e. in-the-browser) scripting. -- The .js files are all setup to reside in the www.website.com/jsincludes folder.

php is used for server-side scripting. -- The .php files are all setup to reside in the www.website.com/phpincludes folder.

For example, if you tried to download filename.php the web server would try to execute the file instead of downloading it.

But, filename_php.txt would download just fine. And filename_php.txt is just a manually renamed copy of filename.php - so the contents of the file are neither altered nor lost.

-----

The four "blank" files are used as skeletons on which to build new files. These blank files include all the headers and footers necessary to properly format the resulting files so that the website design and appearance will match throughout.

Whic of the four blanks you will use for a particular file you're designing, depends upon where in the heirarchy your new file will reside.

For example:

www.website.com/file01.php is a first level file and would thus be built upon the blank01a.php skeleton.

www.website.com/folder01/file02.php is a second level file and would thus be built upon the blank01b.php skeleton.

www.website.com/folder01/folder02/file03.php is a third level file and would thus be built upon the blank01c.php skeleton.

www.website.com/folder01/folder02/folder03/file04.php is a third level file and would thus be built upon the blank01d.php skeleton.

The four "blank" files can be downloaded from here:

blank01a_php.txt

blank01b_php.txt

blank01c_php.txt

blank01d_php.txt

-----

The four "blank" files each contain code to load header and footer files for the page being designed.

As with the blank files themselves, the "a", "b", "c", and "d" suffixes on the header and footer files indicate they are for the first, second, third, and fourth levels respectively.

The blank files are already setup to load the header and footer files which are specific to their file levels.

The header01 files provide access to the css stylesheet and to the main javascript file. They may be downloaded from here:

header01a_php.txt

header01b_php.txt

header01c_php.txt

header01d_php.txt

-----

The header02 files provide access to the Header Navigation bar. They may be downloaded from here:

header02a_php.txt

header02b_php.txt

header02c_php.txt

header02d_php.txt

-----

The footer01 files provide access to the Footer Navigation bar. They may be downloaded from here:

footer01a_php.txt

footer01b_php.txt

footer01c_php.txt

footer01d_php.txt

-----

The mainstyles file is the Cascading Style Sheet for the entire website. You will most likely want to modify it to give your website its own unique appearance.The file may be downloaded from here:

mainstyles_css.txt

-----

On my websites, the home page (only) reports the current date when that page is opened. This server-side script provides access to the client-side date script.This file may be downloaded from here:

customdate_php.txt

-----

This is the client-side date script itself. It may be downloaded from here:

customdate_js.txt

-----

This is my websites' main javascript file. At the moment, all it does is access Google Analytics to assemble usage statistics. It may be downloaded from here:

mainscript_js.txt

-----

This is just a reference to where you can find jquery. You only really need to download it if you don't know where to find jquery on the web.

jquery-3.3.1_js.txt

-----

I developed the browserdetect file during some experiments. It reports on which browser the user is using to access the website. The file may be downloaded from here:

browserdetect_js.txt

-----


                                                                                                                                                                M.D.J. 2021/07/21