![]() |
Français | Contact Us | Help | Search | Canada Site | ||||
What's New | About Us | Policies | Documents | TBS Site |
Calendar | Links | FAQs | Presentations | Home |
![]() |
![]() |
![]() |
How to information and coding
Change Language Script in PERLPURPOSE: minimalist script to toggle between _e.htm and _f.htm files or _e.html and _f.html files CREATION DATE: 2000 08 31 NOTE: this works on our Netscape Enterprise Server (3.62SP1) on HP/UX 10.x and is used on http://jobs.gc.ca (the parts of the site with the new CLF look) DISCLAIMER: This is script provided as an example only. You can modify it as needed. # get the URL for the Web page that called this script if($calling_page =~ /(.*)\#.*/) { # ignore any file that is not _e.htm or _f.htm and do nothing! # is this an _e.htm file? if($calling_page =~ /_e\.htm/) { # then is this an _f.htm file? } elsif($calling_page =~ /_f\.htm/) { Change Language .ASP SolutionCreate an ASP page and name it language.asp. Store it in the root of your Web site. Include the following code before the HTML tag on the page. <%@ LANGUAGE="VBSCRIPT" %> |
||||||||||||||||||||||||||
|
![]() |
||||||||
|
![]() Top of Page |
Important Notices |