📄 readme.htm
字号:
value and the web page will attempt to display the
image. If the thumbnail image is in the same folder
as the ASP files then this value can be the name only
(i.e. "<strong>everest_sm.jpg</strong>").
If the thunbnail image is in another folder within
your website then you need the relative path and name
of the image (i.e. "<strong>images/everest_sm.jpg</strong>"
or "<strong>../images/everest_sm.jpg</strong>").
If the thumbnail image is on another website then
include the full URL and image name (i.e. "<strong>http://www.website.com/images/everest_sm.jpg</strong>").</font></p>
</blockquote>
<p align="left"><a name="Global variable definitions"><font
color="#FF0000" size="3"><strong>Global variable
definitions</strong></font></a></p>
<blockquote>
<p align="left"><font size="2"><strong>DataPathName</strong><br>
"Database path and name" details where the
discussion database is located in relation to the
gallery .asp files (where .ASP files are located).
Examples are "../_private/gallery.mdb",
"data/_private/gallery.mdb"...</font></p>
<p align="left"><font size="2"><strong>DataUserIden</strong><br>
"Database user identification name" is the
name used to open a connection to the discussion
database. If you change this value via Access be sure
to update the GLOBVARS.ASP file.</font></p>
<p align="left"><font size="2"><strong>DataPassWord</strong><br>
"Database password" is the password used to
open a conncection to the gallery database. See
Additonal Setup Options. It is "aspgallery"
as the default.</font></p>
<p align="left"><font size="2"><strong>NumbImagPage</strong><br>
"Number images per page" represents the
numberof images which are displayed on a page. This
value can be anything greater than 1.</font></p>
<p align="left"><font size="2"><strong>NumbImagRow_</strong><br>
"Number images per row" represents the
numberof images which are displayed on each row on
the default.asp page. This value can be anything
greater than 1.</font></p>
<p align="left"><font size="2"><strong>DispImagTitl</strong><br>
"Display Image Title" represents whether or
not you want to display the title text from the
database when displaying the image. This is only
applicable to DISPIMAG.ASP. Set to 1 or 0.</font></p>
<p align="left"><font size="2"><strong>DispImagDesc</strong><br>
"Display Image Description" represents
whether or not you want to display the description
text from the database when displaying the image.
This is only applicable to DISPIMAG.ASP. Set to 1 or
0.</font></p>
<p align="left"><font size="2"><strong>ImagTitlSize</strong><br>
"Image title size" is the font size for
displaying title text. The larger the number the
larger the characters.</font></p>
<p align="left"><font size="2"><strong>ImagTitlFace</strong><br>
"Image title face" is the font face for
displaying image title text. This should always be a
recognized face name such as "arial",
"verdana", "times roman new",
"courier new", etc. Use FrontPage to see a
complete list of font faces.</font></p>
<p align="left"><font size="2"><strong>ImagTitlColo</strong><br>
"Image title color" is the font color for
displaying the title text. Some values are: </font><font
color="#0000FF" size="2">Blue="#0000FF"; </font><font
color="#FF0000" size="2">Red="#FF0000"; </font><font
color="#008000" size="2">Green="#008000"; </font><font
color="#FFFF00" size="2">Yellow="#FFFF00"; </font><font
color="#000000" size="2">Black="#0000000";</font><font
color="#00FFFF" size="2"> Teal="#00FFFF"; </font><font
color="#408080" size="2">Gray="#408080"</font></p>
<p align="left"><font size="2"><strong>ImagDescSize</strong><br>
"Image description size" is the font size
for displaying description text. The larger the
number the larger the characters.</font></p>
<p align="left"><font size="2"><strong>ImagDescFace</strong><br>
"Image description face" is the font face
for displaying image description text. This should
always be a recognized face name such as
"arial", "verdana", "times
roman new", "courier new", etc. Use
FrontPage to see a complete list of font faces.</font></p>
<p align="left"><font size="2"><strong>ImagDescColo</strong><br>
"Image description color" is the font color
for displaying the description text. Some values are:
</font><font color="#0000FF" size="2">Blue="#0000FF";
</font><font color="#FF0000" size="2">Red="#FF0000";
</font><font color="#008000" size="2">Green="#008000";
</font><font color="#FFFF00" size="2">Yellow="#FFFF00";
</font><font color="#000000" size="2">Black="#0000000";</font><font
color="#00FFFF" size="2"> Teal="#00FFFF"; </font><font
color="#408080" size="2">Gray="#408080".</font></p>
<p align="left"><font size="2"><strong>EnabThumNail</strong><br>
"Enable thumbnails" represents whether or
not you want to display thumbnails on the main page.
If set to 0 then no thumbnails are displayed. Set to
1 or 0.</font></p>
<p align="left"><font size="2"><strong>EnabSearFeat</strong><br>
"Enable search feature" represents whether
or not you want to include the search feature in your
image gallery. The search form will not be displayed
if this is set to 0. Set to 1 or 0.</font></p>
<p align="left"><font size="2"><strong>ThumPercSize</strong><br>
"Thumbnail percentage size" is used if
EnabThumNail=1 and an image record does not list a
thumbnail file. In this case ASP-Gallery will
automatically reduce the image size to this
percentage. Set to 1 or 0. Remember, not having
thumbnails files could drastically slow down the
server response time when viewing the image pages.</font></p>
<p align="left"><font size="2"><strong>ImagBordThic</strong><br>
"Image border thickness" represents the
border thickness for each image. If you do not want a
border set this value to 0.</font></p>
<p align="left"><font size="2"><strong>NumbSpacBetw</strong><br>
"Number spaces between image" represents
how many character spaces you want between each image
in the main page. The default is 3. This value should
be a value greater than 0.</font></p>
</blockquote>
<p align="left"><a name="Naming Conventions"><font
color="#FF0000" size="3"><strong>Naming Conventions</strong></font></a></p>
<blockquote>
<p align="left"><font size="2"><strong>1.</strong>
General. I believe the first four characters of most
words are usually descriptive enough to remind the
reader what a word is when used in variable names.
Therefore, I use this "four-character" rule
for file, function, and variable names for three
reasons. One, it creates a consistent naming
convention. Two, it usually gives enough information
to suggest to the reader what the name means. Three,
it helps reduce the size of .ASP files.</font></p>
<p align="left"><font size="2"><strong>2.</strong>
File Names. ASP files are named using four-character
rule of the most two descriptive words I can come up
with for that file. i.e.<br>
insemess.asp is "Insert Message"<br>
dispthre.asp is "Display Thread"<br>
commfunc.asp is "Common Functions.</font></p>
<p align="left"><font size="2"><strong>3.</strong>
Function Names. Again I use the four-character rule
of the 2-3 most descriptive words for the function
with a '_' between each word. i.e.<br>
open_data() is "Open Database"<br>
upda_info() is "Update Info Table"<br>
save_emai_addr() is "Save Email Address".</font></p>
<p align="left"><font size="2"><strong>4.</strong>
Global or Public Variable Names. Global variables use
the four-character rule with the first character of
each four letters in upper case. i.e.<br>
SearStri is "Search string"<br>
PageNumb is "Page Number"<br>
AutoNumb is "Auto Number"<br>
Conn is "Connection"</font></p>
<p align="left"><font size="2"><strong>5.</strong>
Local or Function Variable Names. Local variables can
and should be treated differently because they are
used in a relatively small section of code.
Therefore, if they are appropriately defined (or the
definition is obvious), then it is not important to
have a long descriptive name. As such, all local and
function variables are restricted to one or two
characters and are always lower case. The letter may
signify the beginning of a descriptive word but do
not always. Another benefit of this approach is that
there should never be a conflict with global and
local variables..</font></p>
</blockquote>
<p align="left"><a name="Create a child web"><font
color="#FF0000" size="3"><strong>Create a child web</strong></font></a></p>
<blockquote>
<p align="left"><font size="2"><strong>1.</strong>
Open your root web in FrontPage Explorer.<br>
<strong>2.</strong> Create a new folder using the
name you want for you child web.<br>
<strong>3.</strong> Click on "File, New
FrontPage Web".<br>
<strong>4.</strong> Select from Wizard or Template:
"Empty Web." <br>
<strong>5.</strong> Give it a title with the same
name and case of the sub folder you created from 2
above. i.e. "disc", "images"...<br>
<strong>6.</strong> Make sure server path is correct.
i.e. "www.domain.com." This does not
include the folder name.<br>
<strong>7.</strong> Make sure "Add to Existing
Web" is unchecked. <br>
<strong>8.</strong> Click OK. </font></p>
</blockquote>
</td>
</tr>
</table>
</center></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -