<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licenses/gpl.html
*
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html
*
* - Mozilla Public License Version 1.1 or later (the "MPL")
* http://www.mozilla.org/MPL/MPL-1.1.html
*
* == END LICENSE ==
*
* Link dialog window.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="noindex, nofollow" name="robots" />
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKLang = oEditor.FCKLang ;
var FCKConfig = oEditor.FCKConfig ;
//#### Dialog Tabs
// Set the dialog tabs.
window.parent.AddTab( 'General' , FCKLang.DlgDocGeneralTab ) ;
window.parent.AddTab( 'Background' , FCKLang.DlgDocBackTab ) ;
window.parent.AddTab( 'Colors' , FCKLang.DlgDocColorsTab ) ;
window.parent.AddTab( 'Meta' , FCKLang.DlgDocMetaTab ) ;
// Function called when a dialog tag is selected.
function OnDialogTabChange( tabCode )
{
ShowE( 'divGeneral' , ( tabCode == 'General' ) ) ;
ShowE( 'divBackground' , ( tabCode == 'Background' ) ) ;
ShowE( 'divColors' , ( tabCode == 'Colors' ) ) ;
ShowE( 'divMeta' , ( tabCode == 'Meta' ) ) ;
ShowE( 'ePreview' , ( tabCode == 'Background' || tabCode == 'Colors' ) ) ;
}
//#### Get Base elements from the document: BEGIN
// The HTML element of the document.
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
// The HEAD element of the document.
var oHead = oHTML.getElementsByTagName('head')[0] ;
var oBody = FCK.EditorDocument.body ;
// This object contains all META tags defined in the document.
var oMetaTags = new Object() ;
// Get all META tags defined in the document.
AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('meta') ) ;
AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('fck:meta') ) ;
function AppendMetaCollection( targetObject, metaCollection )
{
// Loop throw all METAs and put it in the HashTable.
for ( var i = 0 ; i < metaCollection.length ; i++ )
{
// Try to get the "name" attribute.
var sName = GetAttribute( metaCollection[i], 'name', GetAttribute( metaCollection[i], '___fcktoreplace:name', '' ) ) ;
// If no "name", try with the "http-equiv" attribute.
if ( sName.length == 0 )
{
if ( oEditor.FCKBrowserInfo.IsIE )
{
// Get the http-equiv value from the outerHTML.
var oHttpEquivMatch = metaCollection[i].outerHTML.match( oEditor.FCKRegexLib.MetaHttpEquiv ) ;
if ( oHttpEquivMatch )
sName = oHttpEquivMatch[1] ;
}
else
sName = GetAttribute( metaCollection[i], 'http-equiv', '' ) ;
}
if ( sName.length > 0 )
targetObject[ sName.toLowerCase() ] = metaCollection[i] ;
}
}
//#### END
// Set a META tag in the document.
function SetMetadata( name, content, isHttp )
{
if ( content.length == 0 )
{
RemoveMetadata( name ) ;
return ;
}
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( !oMeta )
{
oMeta = oHead.appendChild( FCK.EditorDocument.createElement('META') ) ;
if ( isHttp )
SetAttribute( oMeta, 'http-equiv', name ) ;
else
{
// On IE, it is not possible to set the "name" attribute of the META tag.
// So a temporary attribute is used and it is replaced when getting the
// editor's HTML/XHTML value. This is sad, I know :(
if ( oEditor.FCKBrowserInfo.IsIE )
SetAttribute( oMeta, '___fcktoreplace:name', name ) ;
else
SetAttribute( oMeta, 'name', name ) ;
}
oMetaTags[ name.toLowerCase() ] = oMeta ;
}
SetAttribute( oMeta, 'content', content ) ;
// oMeta.content = content ;
}
function RemoveMetadata( name )
{
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( oMeta && oMeta != null )
{
oMeta.parentNode.removeChild( oMeta ) ;
oMetaTags[ name.toLowerCase() ] = null ;
}
}
function GetMetadata( name )
{
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( oMeta && oMeta != null )
return oMeta.getAttribute( 'content', 2 ) ;
else
return '' ;
}
window.onload = function ()
{
// Show/Hide the "Browse Server" button.
GetE('tdBrowse').style.display = oEditor.FCKConfig.ImageBrowser ? "" : "none";
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( document ) ;
FillFields() ;
UpdatePreview() ;
// Show the "Ok" button.
window.parent.SetOkButton( true ) ;
window.parent.SetAutoSize( true ) ;
}
function FillFields()
{
// ### General Info
GetE('txtPageTitle').value = FCK.EditorDocument.title ;
GetE('selDirection').value = GetAttribute( oHTML, 'dir', '' ) ;
GetE('txtLang').value = GetAttribute( oHTML, 'xml:lang', GetAttribute( oHTML, 'lang', '' ) ) ; // "xml:lang" takes precedence to "lang".
// Character Set Encoding.
// if ( oEditor.FCKBrowserInfo.IsIE )
// var sCharSet = FCK.EditorDocument.charset ;
// else
var sCharSet = GetMetadata( 'Content-Type' ) ;
if ( sCharSet != null && sCharSet.length > 0 )
{
// if ( !oEditor.FCKBrowserInfo.IsIE )
sCharSet = sCharSet.match( /[^=]*$/ ) ;
GetE('selCharSet').value = sCharSet ;
if ( GetE('selCharSet').selectedIndex == -1 )
{
GetE('selCharSet').value = '...' ;
GetE('txtCustomCharSet').value = sCharSet ;
CheckOther( GetE('selCharSet'), 'txtCustomCharSet' ) ;
}
}
// Document Type.
if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 )
{
GetE('selDocType').value = FCK.DocTypeDeclaration ;
if ( GetE('selDocType').selectedIndex == -1 )
{
GetE('selDocType').value = '...' ;
GetE('txtDocType').value = FCK.DocTypeDeclaration ;
CheckOther( GetE('selDocType'), 'txtDocType' ) ;
}
}
// Document Type.
GetE('chkIncXHTMLDecl').checked = ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 ) ;
// ### Background
GetE('txtBackColor').value = GetAttribute( oBody, 'bgColor' , '' ) ;
GetE('txtBackImage').value = GetAttribute( oBody, 'background' , '' ) ;
GetE('chkBackNoScroll').checked = ( GetAttribute( oBody, 'bgProperties', '' ).toLowerCase() == 'fixed' ) ;
// ### Colors
GetE('txtColorText').value = GetAttribute( oBody, 'text' , '' ) ;
GetE('txtColorLink').value = GetAttribute( oBody, 'link' , '' ) ;
GetE('txtColorVisited').value = GetAttribute( oBody, 'vLink' , '' ) ;
GetE('txtColorActive').value = GetAttribute( oBody, 'aLink' , '' ) ;
// ### Margins
GetE('txtMarginTop').value = GetAttribute( oBody, 'topMargin' , '' ) ;
GetE('txtMarginLeft').value = GetAttribute( oBody, 'leftMargin' , '' ) ;
GetE('txtMarginRight').value = GetAttribute( oBody, 'rightMargin' , '' ) ;
GetE('txtMarginBottom').value = GetAttribute( oBody, 'bottomMargin' , '' ) ;
// ### Meta Data
GetE('txtMetaKeywords').value = GetMetadata( 'keywords' ) ;
GetE('txtMetaDescription').value = GetMetadata( 'description' ) ;
GetE('txtMetaAuthor').value = GetMetadata( 'author' ) ;
GetE('txtMetaCopyright').value = GetMetadata( 'copyright' ) ;
}
// Called when the "Ok" button is clicked.
function Ok()
{
// ### General Info
FCK.EditorDocument.title = GetE('txtPageTitle').value ;
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
SetAttribute( oHTML, 'dir' , GetE('selDirection').value ) ;
SetAttribute( oHTML, 'lang' , GetE('txtLang').value ) ;
SetAttribute( oHTML, 'xml:lang' , GetE(
没有合适的资源?快使用搜索试试~ 我知道了~
ASP实例开发源码-asp安信幼儿园建站管理系统 v3.1.0.zip
共921个文件
gif:450个
html:156个
js:93个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 124 浏览量
2022-11-14
05:34:48
上传
评论
收藏 9.76MB ZIP 举报
温馨提示
ASP实例开发源码—asp安信幼儿园建站管理系统 v3.1.0.zip ASP实例开发源码—asp安信幼儿园建站管理系统 v3.1.0.zip ASP实例开发源码—asp安信幼儿园建站管理系统 v3.1.0.zip
资源推荐
资源详情
资源评论
收起资源包目录
ASP实例开发源码-asp安信幼儿园建站管理系统 v3.1.0.zip (921个子文件)
anxinMall.system.asp 923KB
anxinMall.class.news.asp 898KB
index.asp 821KB
anxinMall.ad.asp 776KB
anxinMall.newscat.asp 767KB
anxinMall.cat.asp 766KB
anxinMall.singlepage.asp 753KB
anxinMall.admin.asp 749KB
anxinMall.message.asp 748KB
anxinMall.class.admin.asp 746KB
anxinMall.class.set.asp 735KB
anxinMall.slide.asp 728KB
anxinMall.sitelink.asp 724KB
anxinMall.label.asp 722KB
anxinMall.links.asp 720KB
anxinMall.news.html.asp 715KB
anxinMall.plus.asp 714KB
anxinMall.ad.group.asp 713KB
anxinMall.database.asp 707KB
anxinMall.virusscan.asp 701KB
anxinMall.news.asp 697KB
index.asp 696KB
anxinMall.article.upload.asp 695KB
anxinMall.upload.asp 692KB
anxinMall.upload2.asp 692KB
anxinMall.updatecache.asp 688KB
common.asp 667KB
common2.asp 667KB
anxinMall.guestbook.admin.asp 616KB
login.asp 603KB
common.asp 573KB
anxinMall.class.function.asp 421KB
anxinMall.class.content.asp 221KB
anxinMall.web.sub.asp 118KB
anxinMall.function.asp 94KB
anxinMall.class.template.asp 55KB
anxinMall.class.member.asp 48KB
anxinMall.config.asp 43KB
anxinMall.checkcode.asp 36KB
anxinMall.class.info.asp 27KB
anxinMall.class.query.asp 18KB
UpLoad_Class.asp 16KB
anxinMall.class.upload.asp 13KB
anxinMall.ad.asp 11KB
anxinMall.class.md5.asp 11KB
anxinMall.class.plus.asp 11KB
anxinMall.class.fckeditor.asp 9KB
anxinMall.newsclass.asp 7KB
anxinMall.prodclass.asp 7KB
file_manager_json.asp 6KB
anxinMall.class.ip.asp 6KB
JSON_2.0.4.asp 5KB
upload_json.asp 3KB
anxinMall.basic.asp 3KB
anxinMall.class.cache.asp 2KB
demo.asp 2KB
anxinMall.member.asp 566B
newshit2.asp 558B
newshit.asp 546B
global.asp 468B
anxinMall.version.asp 284B
anxinMall.database.asp 176B
anxinMall.admin.asp 137B
anxinMall.district.asp 106B
anxinMall.field.asp 103B
anxinMall.badword.asp 94B
anxinMall.web.function.asp 0B
jquery-ui-1.9.2.custom.css 30KB
jquery-ui-1.9.2.custom.min.css 26KB
default.css 21KB
css.css 13KB
fck_editor.css 8KB
asyncbox.css 6KB
fck_dialog.css 6KB
jquery.css 6KB
admin.css 5KB
fck_internal.css 4KB
upload.css 3KB
qq.css 3KB
slide.css 2KB
simple.css 2KB
fck_editorarea.css 2KB
list.css 2KB
back-login.css 2KB
fck_dialog_common.css 2KB
fck_showtableborders_gecko.css 2KB
prettify.css 973B
spellerStyle.css 890B
common.css 797B
common.css 625B
fck_media.css 580B
index.css 282B
admin.css 80B
banner.fla 840KB
static.gif 35KB
index_34.gif 34KB
bar2.gif 19KB
asyncbox_tipsbar_bg.gif 18KB
index_33.gif 18KB
index_16.gif 16KB
共 921 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
毕业_设计
- 粉丝: 1924
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功