📄 my_img_readme.asp
字号:
<html>
<head>
<title>庐江二中校园网首页全能调用代码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="style.asp"-->
<LINK href=style.css rel=stylesheet>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<center>
<br>
<b><font color="#0000FF" size="+2">庐江二中校园网系统首页(图片)全能调用代码</font></b> <br>
<br>
</center>
<table width="80%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#000000">
<tr>
<td bgcolor="#FFFFFF" width="49%" align="center">
<p><br>
<b>庐江二中校园网调用程序:<font color="#FF0000">my_img.asp</font> 可自定义任何大小类及排列顺序和显示相关内容</b></p>
<p><b><font color="#FF0000">使用前请先设好后台中的[网站资料管理-网站地址]</font><font color="#FF0000">和[图片地址]</font><br>
</b><br>
调用方法:<font color="#FF0000"><script src="my_img.asp?<font color="#0000FF">参数一</font>&<font color="#0000FF">参数二</font>&<font color="#0000FF">....</font>&<font color="#0000FF">参数十</font>"></script></font><br>
<br>
说明:<font color="#0000FF">my_img.asp</font> 必须放在<font color="#0000FF">文章首页</font>所在目录。首个参数要用“<font color="#FF0000">?</font>”起头,之后的参数用“<font color="#FF0000">&</font>”间隔。
<br>
</p>
</td>
</tr>
<tr>
<td bgcolor="#CCCCCC" width="49%">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr align="center" bgcolor="#999999">
<td width="13%">参 数</td>
<td width="46%">说 明</td>
<td width="14%">默认值</td>
<td width="27%">用 法</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">Max</td>
<td width="46%">每条信息最多显示字符(双数)</td>
<td width="14%" align="center">40</td>
<td width="27%">Max=50</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">Show</td>
<td width="46%">设定显示条数</td>
<td width="14%" align="center">1</td>
<td width="27%">Show=5</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">ID</td>
<td width="46%">指定文章ID</td>
<td width="14%" align="center">(空)</td>
<td width="13%">ID=1213</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">FocusNews</td>
<td width="46%">是否显示焦点文章图片,1为是,否不用写</td>
<td width="14%" align="center">0</td>
<td width="13%">FocusNews=1</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">GoodNews</td>
<td width="46%">是否显示推荐文章图片,1为是,否不用写</td>
<td width="14%" align="center">0</td>
<td width="13%">GoodNews=1</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">hot</td>
<td width="46%">是否显示热点文章图片,1为是,否不用写</td>
<td width="14%" align="center">0</td>
<td width="13%">hot=1</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">Title</td>
<td width="46%">是否显示文章标题,1为文字在下,2为文字环绕,否不用写</td>
<td width="14%" align="center">0</td>
<td width="13%">Title=1</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">What</td>
<td width="46%">选择按什么排序:NewsID(文章ID号),Click(点击数)</td>
<td width="14%" align="center">NewsID</td>
<td width="13%">What=NewsID</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%"><font color="#990000">BigClassName</font></td>
<td width="46%">选择文章大类,值为大类名称(可单独用)</td>
<td width="14%" align="center"> </td>
<td width="27%">BigClassName=行业动态</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%"><font color="#990000">SmallClassName</font></td>
<td width="46%">选择文章小类,值为小类名称(可单独或与大类同时用)</td>
<td width="14%" align="center"> </td>
<td width="27%">SmallClassName=信息动态</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%"><font color="#990000">SpecialName</font></td>
<td width="46%">选择文章专题,值为专题名称(单独用,不能与大小类同时用)</td>
<td width="14%" align="center"> </td>
<td width="27%">SpecialName=信息简报</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">width</td>
<td width="46%">图片宽度,0为无限制</td>
<td width="14%" align="center">100</td>
<td width="13%">width=60</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">height</td>
<td width="46%">图片高度,0为无限制</td>
<td width="14%" align="center">0</td>
<td width="13%">height=50</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">twidth</td>
<td width="46%">表格宽度,取值大于图片宽度</td>
<td width="14%" align="center">120</td>
<td width="13%">twidth=150</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="13%">Path</td>
<td width="46%">文章所在路径,可以是其他服务器上的文章</td>
<td width="14%" align="center">(程序所在位置)</td>
<td width="27%">path=http://bii.huizhou.gov.cn/</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#99CCFF" width="49%">默认值:本地调用前1条最新图片:<b><font color="#FF0000">使用前请先设好后台中的[网站资料管理-网站地址]</font></b><b><font color="#FF0000">和[图片地址]</font></b><br>
<font color="#FF0000"><script src="my_img.asp"></script>
</font> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" valign="top">
<script src="my_img.asp"></script>
</td>
</tr>
<tr>
<td bgcolor="#99CCFF" width="49%"> 本地调用指定ID图片,标题在下:<font color="#FF0000"><br>
<script src="my_img.asp?NewsID=1213&Title=1"></script>
</font> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" valign="top">
<script src="my_img.asp?NewsID=1213&Title=1"></script>
</td>
</tr>
<tr>
<td bgcolor="#99CCFF" width="49%">
<p>本地调用指定图片宽度65和显示宽度110,标题文字环绕,5 个图:<font color="#FF0000"><br>
</font><font color="#FF0000"><script src="my_img.asp?Title=2&width=65&twidth=110&show=5"></script>
</font> </p>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" valign="top">
<script src="my_img.asp?Title=2&width=65&twidth=110&show=5"></script>
</td>
</tr>
<tr>
<td bgcolor="#99CCFF" width="49%"> 远程调用信息产业局网站"无线时空"大类最新图片新闻:<br>
<font color="#FF0000"><script src="http://bii.huizhou.gov.cn/news/my_img.asp?bigclassname=无线时空&path=http://bii.huizhou.gov.cn/news/"></script>
</font> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" valign="top">
<script src="http://bii.huizhou.gov.cn/news/my_img.asp?Title=1&bigclassname=无线时空&path=http://bii.huizhou.gov.cn/news/"></script>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -