webFrame
1.0
http://www.web-scribble.com
Initially, webFrame was a pay-to-use script.
We have decided to make it free and open to the public. It is published under
the GPL license. If you decide to use this script, we require that you link
back to Web Scribble's site somewhere on your site. Thank you for your cooperation.
Installation Instructions
- Open webframe.pl. There
are two variables you should modify:
$title - the title that will be displayed at the top of each page
$cgipath - the path to your CGI-BIN (for example, http://www.web-scribble.com/cgi-bin)
- Open webframeadmin.pl.
Change $adminpassword to fit your choice of a password.
- If you would like to
have a "Remove Frame" link such as in our demo, simply open top.html
and make a link with a url of |LINK| (which the script will replace with a
real URL when it is called) and make the target "_top". For example,
a link could look like this:
<a href="|LINK|" target="_top">Remove Frame</a>
For more information on this, please refer to the top.html provided as an
example.
- Modify webframetemplate.html
to fit your layout needs. Put |CONTENT| where you would like the script to
put its content. For more information please refer to webframetemplate.html.
- Upload the following
files into your CGI-BIN, and chmod them all to 755 or 777.
webframe.pl
webframeadmin.pl
topframe.pl
links.dat
webframetemplate.html
top.html
- Follow the usage instructions
for directions on how to use webFrame.
Usage Instructions
- To place a frame on top
of the page the user is accessing, call the script this way: webframe.pl?YOUR_URL_HERE.
For example, a real link could look something like this:
http://www.doctor.co.th/cgi-bin/SanExtLink/webframe.pl?http://www.web-scribble.com
- To display the top links,
you must have SSI on your webserver. Call the script with the following SSI
include:
<!--#include virtual="cgi-bin/webframe.pl?top5" -->
Make sure the path to your CGI-BIN is correct. If you would like to display
top 10, top 13, top 20, or however many links, simply change it to ?topX.
For example:
<!--#include virtual="cgi-bin/webframe.pl?top13" -->
©2001
Web-Scribble.com