Website Development and Maintenance
With HTML5, 13 new form text input types are available.
Ajax, How It Works and How To Use It
Ajax is written with JavaScript. It is JavaScript code that connects to the server. It connects to software, a web page, or other publicly available file on the server and accepts the server's response.
Alternating Table Row Background Color
When data tables are very wide, the eye may stray to another row before the entire table line is read. For that reason or for simple elegance, alternating table rows may contain a different background color.
An Approach to Making a Website Responsive
How shall it look? That's the question that needs to be answered for various screen dimensions before determining a responsive site technique and coding the project.
A quick-to-implement PHP script debugging method.
Because text characters are vector graphics, individual characters can have borders.
Central Content File for Many Sites
One central content file can be used to update content on web pages at many domains.
Content for Specific IP Address
PHP web pages can contain content to be published only for certain specified IP addresses. Or, content can be omitted for specific IP addresses.
Cookie Control With JavaScript for Developers
Use JS Cookie Control to list, remove, and add cookies at client websites.
You'll learn about the relationship between databases and data tables, username/password sets, and software that uses the databases.
It is for site owners whose sites are crippled by popup blockers, and those who are otherwise curious about which or how many of their visitors actually do have effective blockers, that this article is written.
For dynamic sites that log activity in the public document area, it is prudent to occasionally get a list of directories and the total size of the files they contain. Log files may quickly get so large they need to be removed.
A notice was made for the website to alert site visitors that not everything will work. When the site visitor taps the "Dismiss" link, a cookie is set so the notice won't appears on subsequent page loads.
Dropdown Updates Another Dropdown
When a selection is made in one dropdown, the items in another dropdown can change accordingly.
Dynamic Page Update From External Files
3 reasons to pull an external file into a web page, with any of 3 types of files, and 3 ways to do it.
Easier Online Link Color Testing
The primary frustration for link color testing with browsers is their insistence for caching the CSS file.
The concept is deceptively simple. Yet, the protection is as good as having hidden file names on the server.
Fortune cookies on web pages have more versatility then physical fortune cookies. Here are a few possibilities.
This article presents software to make short URLs with your own domain name in the URL.
Here are two ways for a web page style to be height responsive.
Hover To View Hidden Text Overflow
When text must stay on one line, but there is not enough room for it all, here is a solution. A mouse hover can display text that doesn't otherwise fit on the line.
Both em
and rem
are CSS size and dimension units. Each is determined by a font size.
We do a lot of development, a lot of testing, and sometimes we neglect to remove the test files. This has been going on for 8 years.
Iframed Page Runs JavaScript On Parent Page
A child page can run JavaScript functions on the parent page – so long as the child page is on the same domain as the parent page.
Why reduce image dimensions? A large image generally has a large file size that the browser must download. A smaller image with a smaller file size, therefore, requires less device or computer resources to download and display.
Import Search-engine-friendly Content
There are various ways to import content into web pages with PHP. Using PHP to insert content into web pages has numerous advantages.
URLs with query string parameters can result in the same page being in a search engine index more than once - duplicate content. I'll show you how to use PHP to remove the parameter from the URL with a 301 redirect.
Installing PHP software is straight-forward: Upload the script files into a public directory of your server. Well, there are a few more things to know.
Instant Web Page Section Updates — Even Sitewide
It's possible to update a section of your web pages at any time — site wide.
Introducing the Date and Time Formatting Generator
Do you print dates on your web pages? If yes, the new Date and Time Generator is for you.
JavaScript Development Annotation
JavaScript coding can be fun. Until you run into an elusive bug. Here is an annotation system for JavaScript debugging.
A jump link is a link that scrolls a web page to a different point in the browser. The a-tag name attribute method isn't supported in HTML 5.
Keeping Test Pages Out Of Search Engine Indexes
If you develop web pages for clients or friends, you'll want to keep the development and test pages out of search engine indexes. There are a couple reasons to keep the pages out of indexes.
A SPAN tag is used instead of an A tag for certain actions. (DIV or other tags can also be used.)
There are a number of ways to publish images, videos, and other media content. This article will focus on the HTML figure
tag and its corresponding figcaption
tag.
Mobile Device-sensitive AdSense Ads
There are several compelling reasons to serve different ads to mobile devices than are served to desktop users.
Sometimes it is necessary to run more than one onload function when a web page has finished loading. I'll show you how to accomplish it.
Moving CGI Scripts to a New Server
Moving a website to a different server can be a breeze, or it can be a real headache. When scripts or other server programs need to be moved to the new location, a bit more care needs to be taken.
The idea was this — Update one domain. Then run a script to update the other domains.
Multiple Functions With One Onclick
Once in a while we receive questions like, "How do I run more than one JavaScript function with one onclick attribute?"
On-the-Fly Customized External JavaScript Files
At times, it is desirable to import JavaScript into a web page that is customized at the moment of importing.
Password Protect Individual Membership Web Pages
This article shows you how to require a valid log-in to access other web pages in various places on your domain. The pages can be in various directories. Where they are is your decision.
A runtime custom annotation to help develop PHP software.
PHP 'Headers Already Sent' Error Message
The PHP 'headers already sent' error message is spawned when the software tries to send header data to the browser after the browser has already been sent some web page content.
Preload Images With CSS or With JavaScript
Sometimes it is desirable to load images into the browser before they will be used. Mouseover images, for example, or images to be used in a slideshow.
Pull Remote Content Into Web Page (Super Easy)
There are several ways to pull remote content into a web page. This article describes a super easy method using Ajax.
Sometimes it is desirable to display randomly selected content using PHP. This article shows you how.
Many browsers, not all, have a reader view feature where a page can be viewed with the content rendered like it might be in an ebook reader.
Redirectors Can Manage Bad Links
The pages on other people's websites you link to can subsequently change their nature. Once a link is out of your control, you can no longer make changes.
Replace Div Content On The Fly With New Content
This is a tutorial for replacing the content in a div on-the-fly, without reloading the web page. It comes with several examples.
If you work with JavaScript code sometimes, I've got a present for you. It is a function you can use to replace certain areas of a web page with alternate content. The function is copy 'n paste; no modifications necessary.
The background image and the way it's displayed changes when the web page is made narrower than a specific width.
The technique described here assumes a two-column centered layout for wider screens and a one-column centered layout for narrower screens.
As a responsive website developer, you often need to know the width of the browser window. Perhaps also the height.
Responsive Fixed and Absolute Centering
How to center content, horizontally and vertically, on any size screen. It re-centers whenever the browser window size is changed or the device orientation is changed.
This article contains a template for CSS flex boxes. The boxes generally contain text/image content, but may also contain videos and other types of content that can be published on a web page.
Responsive Forms; A Simple Way
This article describes a simple form design that's responsive to any screen width without needing a redesign.
Responsive Table Split for Mobile
For responsive wide tables in web pages, create one version for desktop and laptop computers. Create another version for mobile phones and tablets. Use CSS to responsively switch between the two.
Could a system be devised to allow some specific parts of content to be published on remote sites but not published on his own site, without requiring the creation of two different files?
Running Many With One cron Command
It is possible to run many scripts -- CGI, PHP scripts, anything with an http://... URL that can be loaded into a web browser window -- on one or more domains with one cron command.
Almost any server task that needs to be done according to a schedule, and doesn't require direct human supervision, can be set up with Unix/Linux cron.
It can make your page dynamic. It can help keep your page updated with the latest information. A CGI program can insert custom HTML code into your page.
Server Side Includes; More Tags
This collection of SSI tags are less well known but still highly useful for webpage business.
Server Side Includes; The Basics
An easy to use web page building tool- keep multiple pages updated with a change on only one file. Display the output of CGI programs: live news/weather information retrieved from remote sites, your current "latest news"....
A cookie that was set with a secure flag protects the cookie's confidentiality.
Text characters can have shadow like images, divs, and other HTML elements can have shadows.
Shifting an Image Within a Border
Determine which part of the image shows through when it's larger than the border containing it.
The long content is restrained to a maximum depth without editing the content itself.
This image swap system is simple because, no thumbnail image files need to be made; there is a minimum of JavaScript, all within the image tags themselves; and images for swapping are preloaded automatically with no separate code required.
Simple Responsive Web Page Template
The responsive web page template in this article is as simple as my current writing and tech skills can make it.
I was led to create a simple JavaScript function for submitting a form via Ajax — without knowing in advance what the form fields are.
The Biggest Reason for CSS Points Instead of Pixels
The biggest for using points or other non-pixel measurements instead of pixels is the unpredictability of screen and device resolution.
The CSS overflow property tells the browser what to do with excess content, content that won't fit within a specific area.
The meter
tag tells the browser to display a meter. It represents a value within a range.
The Same MySQL Database For Many Different Software Installations
If your hosting account limits the number of MySQL databases, consider using the same database for multiple different software installations.
'Tip Jar' Software
for a
Custom Paypal Donation Link
I will show you how to hide your email address and use your own link style, be it a custom image link, a text link, a form button, or a combination thereof. Your very own tip jar.
Transfer Affiliate Codes From URLs to Links and Forms
When your affiliates send their traffic to your site, the affiliate code can be inserted into links and forms at the landing page.
Twitter and Facebook Share Links
The easiest way to invite others to share your content on social sites is to link directly.
Updating Identical Content Across Domains
For site owners with several domains, some content may be identical across domains. This may be contact information or a contact form, as examples. Updating each one individually and verifying they're all correct can be time consuming. Unless all domains import the identical content from one central file. Then, updates are relatively easy.
There are numerous ways to mask a URL — meaning the URL in the browser's address bar is not the actual URL to the content.
This is simply a list of nine Perl code snippets that I use often and keep handy for copying and pasting.
Using a JavaScript-set Cookie With PHP
PHP runs before JavaScript. Cookie is set with JavaScript. PHP requires cookie. How it was solved.
When you're on a Unix/Linux server and you want server software to launch at certain times and dates, you use cron. I will show you how to make a file that cron can use.
An image can be published on a web page in such a way that it appears cropped. Only a portion of the original non-cropped image is visible.
Visitor Affiliate Codes in Links and Forms
PHP can be used to insert the affiliate code into links and forms on the web page the visitor arrives at, whether or not the browser has cookies enabled.
A web developer needs to hide certain things from the public until the content is ready to go live.
What To Do About CGI Installation Error Messages
Here are step-by-step rundowns for solving annoying server error messages you might see when you install a CGI script.
Let's talk about what MySQL is. Then, you can decide for yourself whether or not it is for you.
All information in WillMaster Library articles is presented AS-IS.
We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.