");
return sb.ToString();
}
//jQuery网站幻灯片切换效果
public string TX21(string imagesDir, int maxNumber)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(HttpContext.Current.Server.MapPath(imagesDir));
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("\n ");
sb.Append("\n");
sb.Append("\n ");
sb.Append("\n");
sb.Append("\n");
sb.Append("\n");
sb.Append("\n");
sb.Append("\n");
return sb.ToString();
}
//Jquery幻灯片焦点图
public string TX20(string imagesDir, int maxNumber, int pW, int pH)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(imagesDir);
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("\n");
sb.Append("\n");
sb.Append("\n");
sb.Append("\n");
sb.Append("\n
");
//
//
//
//
//
//
int s = 0;
foreach (FileInfo FileName in ArrUnPostil)
{
if (FileName.Length > 0)
{
s = s + 1;
sb.Append("\n");
}
if (s == maxNumber)
{ break; }
}
sb.Append("\n
");
return sb.ToString();
}
// 自动扇形滚动的焦点图 XX
public string TX16(string imagesDir, string jsFilename1, string sliderjsFilename, string cssFilename)
{//jquery.mousewheel.js jquery.RotateImageMenu.js jquery.transform-0.9.3.min_.js
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(HttpContext.Current.Server.MapPath(imagesDir));
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append(" ");
sb.Append("");
sb.Append("
");
sb.Append("\n
Rotating Image Slider
");
sb.Append("\n
");
sb.Append("\n
");
sb.Append("\n
");
int s = 0;
foreach (FileInfo FileName in ArrUnPostil)
{
if (FileName.Length > 0)
{
s = s + 1;
sb.Append("\n ");
}
if (s == 4)
{ break; }
}
//
//
//
//
sb.Append("\n
");
s = 0;
foreach (FileInfo FileName in ArrUnPostil)
{
if (FileName.Length > 0)
{
sb.Append(" ");
}
}
//sb.Append(" ");
//sb.Append(" ");
//sb.Append(" ");
//sb.Append(" ");
sb.Append("
");
s = 0;
foreach (FileInfo FileName in ArrUnPostil)
{
if (FileName.Length > 0)
{
sb.Append("
");
}
}
//sb.Append("
");
//sb.Append("
");
//sb.Append("
");
//sb.Append("
");
//sb.Append("
");
sb.Append("
");
return sb.ToString();
}
//FLASH 3D BANNER展示 XX
public string TX5(string imagesDir, string jsFilename1, string sliderjsFilename, string cssFilename)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(HttpContext.Current.Server.MapPath(imagesDir));
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("");
sb.Append("\n ");
return sb.ToString();
}
//jQuery图片切换代码 OK
public string TXjQuery1(string imagesDir, string jsFilename1, string sliderjsFilename, string cssFilename)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(HttpContext.Current.Server.MapPath(imagesDir));
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("");
sb.Append("");
//sb.Append("");
sb.Append(""); //在CSS中改高度和宽度
sb.Append("
");
sb.Append("
");
sb.Append("
");
int k = 0;
int i = 0;
foreach (FileInfo FileName in ArrUnPostil)
{
if (FileName.Length > 0)
{
k = k + 1;
//HttpContext.Current.Response.Write(FileName.Name + " ");
sb.Append("
");
}
}
//sb.Append("
");
//sb.Append("
");
//sb.Append("
");
//sb.Append("
");
sb.Append("
");
sb.Append("
");
for (i = 1; i <= k; i++)
{
sb.Append("
" + i.ToString() + "
");
}
//sb.Append("
1
");
//sb.Append("
2
");
//sb.Append("
3
");
//sb.Append("
4
");
sb.Append("
");
sb.Append("
");
sb.Append("
");
return sb.ToString();
}
//标签焦点图特效 ??
public string TX2(string imagesDir, string jsFilename1, string sliderjsFilename, string cssFilename)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(imagesDir);
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
return sb.ToString();
}
//有过度效果的jquery焦点图 OK
public string TX3(string imagesDir, string jsFilename1, string sliderjsFilename, string cssFilename)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
DirectoryInfo UnPostil = new DirectoryInfo(HttpContext.Current.Server.MapPath(imagesDir));
FileInfo[] ArrUnPostil = UnPostil.GetFiles();
sb.Append("");
sb.Append("");
sb.Append("
表格中的标题
"); sb.Append("\n"); sb.Append("\n- 标题 :表格中的内容1...
- 标题 2...:表格中的内容2......
- 标题3...:表格中的内容3.....
"); sb.Append("\n