buildphotoalbum.jsf

来自「《突破Dreamweaver MX中文版网页设计实例培训教程》源代码」· JSF 代码 · 共 100 行 · 第 1/2 页

JSF
100
字号
fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0021.jpg');App.progressCountCurrent = 7;App.batchStatusString = 'BT0021.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0021_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0021_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0021_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0021_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0021_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0021_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0022.jpg');App.progressCountCurrent = 8;App.batchStatusString = 'BT0022.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0022_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0022_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0022_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0022_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0022_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0022_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0023.jpg');App.progressCountCurrent = 9;App.batchStatusString = 'BT0023.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0023_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0023_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0023_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0023_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0023_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0023_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0024.jpg');App.progressCountCurrent = 10;App.batchStatusString = 'BT0024.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0024_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0024_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0024_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0024_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0024_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0024_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0025.jpg');App.progressCountCurrent = 11;App.batchStatusString = 'BT0025.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0025_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0025_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0025_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0025_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0025_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0025_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///E|/temp/工作目录/4图像/html/imagesource/BT0026.jpg');App.progressCountCurrent = 12;App.batchStatusString = 'BT0026.jpg';if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0026_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0026_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/图像/BT0026_jpg.jpg',({applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}));if (!Files.exists('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0026_jpg.jpg') || confirm('file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0026_jpg.jpg 已经存在。点击确定替换该文件。')) fw.exportDocumentAs(doc, 'file:///E|/temp/工作目录/4图像/html/photoalbum/缩略图/BT0026_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);'done';

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?