Simple replace function - replaces relative links to absolute base links in HTML href and src attributes and a, img and link tags. It works in ASP or WSH.
Many times it is necessary to consider the clients browser. Some things are not cross browser compliant. Some things look right in IE but are a little different in NS. The opposite is true as well. By looking at the USER AGENT we can do a little server side scripting to show what is needed depending on the browser. Here is how.
As a website gets bigger it can become more difficult and time consuming to maintain. One way to help manage this is with the use of include files. Using includes will cut down on time by limiting the amount of code or html you will have to add to new pages or time spent updating existing pages.
This article discusses how the "Print this Page" option works. (The "Print this Page" option turns articles into a printer-friendly version, removing the menus, header graphics, and advertising.) If you are looking to add a printable version of your Web pages on your Web site, be sure to read this article.
The author notes "Displaying content depending on what the current date value is a powerful and effective tool that adds value to any website. Whether it is to showcase a limited time offer, or to “automatically” update pages with new content while you’re miles away." This example code repeats the process to three times to demonstrate the full effects of date dependent content.
Content Management Systems. Is a content management system right for you, or your business? What type of CMS will fit your needs. Explore three types of content managment systems, what they do and how they can help you.
Automated content management is a must for many web sites. It's difficult to provide fresh new content without a standard automated system. This article discusses how to generate a general submission system, as well as how to manage the work flow, all with examples.
Based on an HTML template file, this ASP sample code formats pages of a web site dynamically. It allows you to change the appearance, layout, fonts, colours and pagewidth throughout the whole site just by replacing one template file. It also allows you to display the same pages using different templates: printer friendly versions, small screens, handheld versions, webTV versions, search engine pages, etc.