网吧收银系统操作出现dompar initdomfailed怎么解决

查看: 4091|回复: 14
pubwin开卡时控制台跳出DomParser InitDom ...?
该用户从未签到
当前用户组为 高级会员当前积分为 993, 升到下一级还需要 7 点。
  pubwin控制台开卡时会跳框,内容:DomParser InitDom CoCreateInstance。错误弹框如下图所示,求解决方法!
1.jpg (27.32 KB, 下载次数: 12)
16:30 上传
& &&&在线解决:你只需要下载一个程序包即可解决问题。在微软官方下载并安装MS XML 4.0 。下载地址:
该用户从未签到
当前用户组为 高级会员当前积分为 726, 升到下一级还需要 274 点。
找了N久了。就是没找到有
该用户从未签到
当前用户组为 高级会员当前积分为 726, 升到下一级还需要 274 点。
该用户从未签到
当前用户组为 金牌会员当前积分为 2472, 升到下一级还需要 528 点。
找不到万象!!!!!
该用户从未签到
当前用户组为 金牌会员当前积分为 1797, 升到下一级还需要 1203 点。
我是来看看的!
该用户从未签到
当前用户组为 金牌会员当前积分为 1057, 升到下一级还需要 1943 点。
不知道好用不
该用户从未签到
当前用户组为 高级会员当前积分为 724, 升到下一级还需要 276 点。
顶起!!!!!
该用户从未签到
当前用户组为 金牌会员当前积分为 1226, 升到下一级还需要 1774 点。
谢谢分享,来看看!
该用户从未签到
当前用户组为 高级会员当前积分为 724, 升到下一级还需要 276 点。
看看看看看看看
该用户从未签到
当前用户组为 金牌会员当前积分为 2371, 升到下一级还需要 629 点。
看看怎么样样
论坛推荐 /1
hao123网址导航:21元/1000次UV 搜狗网址导航:25元/1000次UV 搜狗搜索:18元/1000次搜索 游戏桌标:600元/千台有效终端/月游戏退弹:540元/千台有效终端/月
TEL: 广告合作
本论坛广告位招租
Powered by,下载次数:9 次
| 关键字:
Authorizations04.bak[1.52MB]
Authorizations04.LDF[576KB]
Authorizations04.mdf[2.25MB]
EntityFramework.4.3.1
App.config.transform[209B]
Web.config.transform[209B]
EntityFramework.dll[1.01MB]
EntityFramework.PowerShell.dll[52KB]
EntityFramework.psd1[5KB]
EntityFramework.psm1[15KB]
init.ps1[508B]
install.ps1[1KB]
migrate.exe[43KB]
EntityFramework.4.3.1.nupkg[677KB]
WPF.MDI.dll[251KB]
Strong.Authorization.AuthorizationApp
ChineseConverter.dll[29KB]
ChnCharInfo.dll[381KB]
Microsoft.Expression.Interactions.dll[89KB]
Microsoft.Practices.Prism.dll[147KB]
Microsoft.Practices.Prism.Interactivity.dll[14KB]
Microsoft.Practices.Prism.MefExtensions.dll[38KB]
Microsoft.Practices.Prism.UnityExtensions.dll[24KB]
Microsoft.Practices.ServiceLocation.dll[29KB]
Microsoft.Practices.Unity.dll[130KB]
Strong.Authorization.AuthorizationApp.exe[384KB]
Strong.Authorization.AuthorizationApp.pdb[463KB]
Strong.Authorization.AuthorizationApp.vshost.exe[11KB]
Strong.Authorization.AuthorizationApp.vshost.exe.Config[1KB]
Strong.Authorization.AuthorizationApp.vshost.exe.manifest[490B]
monLibrary.dll[5KB]
monLibrary.pdb[13KB]
Strong.ESB.Authorization.IService.dll[10KB]
Strong.ESB.Authorization.IService.pdb[11KB]
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
System.Windows.Interactivity.dll[39KB]
Debug.rar[704KB]
Microsoft.Expression.Interactions.dll[89KB]
Microsoft.Practices.Prism.dll[147KB]
Microsoft.Practices.Prism.Interactivity.dll[14KB]
Microsoft.Practices.Prism.MefExtensions.dll[38KB]
Microsoft.Practices.Prism.UnityExtensions.dll[24KB]
Microsoft.Practices.ServiceLocation.dll[29KB]
Microsoft.Practices.Unity.dll[130KB]
System.Windows.Interactivity.dll[39KB]
Converters
Close.png[244B]
Close_Hover.png[352B]
Close_Press.png[702B]
Maximize.png[211B]
Maximize_Hover.png[311B]
Maximize_Press.png[495B]
Minimize.png[169B]
Minimize_Hover.png[278B]
Minimize_Press.png[423B]
Normal.png[245B]
Normal_Hover.png[351B]
Normal_Press.png[561B]
drawing.png[133KB]
NavAction-01.png[663B]
NavAction-02.png[986B]
NavApplication-01.png[192B]
NavApplication-02.png[199B]
NavData-01.png[384B]
NavData-02.png[464B]
NavOrganization-01.png[244B]
NavOrganization-02.png[277B]
NavRole-01.png[529B]
NavRole-02.png[732B]
NavUser-01.png[545B]
NavUser-02.png[720B]
RadioButton
Checked.png[600B]
Normal.png[534B]
warning.png[2KB]
Check.png[299B]
Logo.ico[9KB]
Logo.png[1KB]
no.png[1KB]
RightArrow.png[166B]
yes.png[1KB]
Properties.Resources.Designer.cs.dll[4KB]
ActionUnit
ActionList.baml[3KB]
ActionManage.baml[3KB]
AssignUnit
AssignedManage.baml[2KB]
DataDictionaryDefine.baml[3KB]
DataDictionaryList.baml[2KB]
DataDictionaryManage.baml[2KB]
DataDictionaryTree.baml[2KB]
OrganizationList.baml[2KB]
OrganizationManage.baml[4KB]
OrganizationTree.baml[3KB]
ResourceUnit
ApplicationManage.baml[3KB]
ResourceList.baml[2KB]
ResourceManage.baml[4KB]
ResourceTree.baml[3KB]
RoleManage.baml[3KB]
RoleTree.baml[3KB]
About.baml[2KB]
UserExtension.baml[3KB]
UserList.baml[3KB]
UserManage.baml[7KB]
App.baml[838B]
DesignTimeResolveAssemblyReferences.cache[64KB]
DesignTimeResolveAssemblyReferencesInput.cache[11KB]
Login.baml[3KB]
MainContent.baml[7KB]
MainWindow.baml[4KB]
Strong.Authorization.AuthorizationApp.csproj.GenerateResource.Cache[917B]
Strong.Authorization.AuthorizationApp.csprojResolveAssemblyReference.cache[71KB]
Strong.Authorization.AuthorizationApp.exe[384KB]
Strong.Authorization.AuthorizationApp.g.resources[280KB]
Strong.Authorization.AuthorizationApp.pdb[463KB]
Strong.Authorization.AuthorizationApp.Properties.Resources.resources[180B]
Strong.Authorization.AuthorizationApp_MarkupCompile.cache[1KB]
Strong.Authorization.AuthorizationApp_MarkupCompile.i.cache[1KB]
Strong.Authorization.AuthorizationApp_MarkupCompile.lref[1KB]
Style.baml[30KB]
Properties
Settings.settings[201B]
ViewModels
ActionUnit
AssignUnit
ResourceUnit
Strong.Authorization.AuthorizationApp.csproj.user[227B]
Strong.Authorization.AuthorizationApp.csproj.vspscc[257B]
monLibrary
ChineseConverter.dll[29KB]
ChineseConverterVSIP.dll[45KB]
ChnCharInfo.dll[381KB]
monLibrary.dll[5KB]
monLibrary.pdb[13KB]
ChineseConverter.dll[29KB]
ChineseConverterVSIP.dll[45KB]
ChnCharInfo.dll[381KB]
ICSharpCode.SharpZipLib.dll[196KB]
DesignTimeResolveAssemblyReferencesInput.cache[7KB]
monLibrary.csprojResolveAssemblyReference.cache[50KB]
monLibrary.dll[5KB]
monLibrary.pdb[13KB]
Properties
monLibrary.csproj.vspscc[257B]
Strong.ESB.Authorization.IISServiceHost
aspnet_client
system_web
crystalreportviewers13
ActiveXControls
PrintControl.cab[2.43MB]
PrintControl_res_cs.cab[26KB]
PrintControl_res_da.cab[26KB]
PrintControl_res_de.cab[27KB]
PrintControl_res_en.cab[26KB]
PrintControl_res_es.cab[26KB]
PrintControl_res_fi.cab[26KB]
PrintControl_res_fr.cab[27KB]
PrintControl_res_hu.cab[26KB]
PrintControl_res_it.cab[26KB]
PrintControl_res_ja.cab[26KB]
PrintControl_res_ko.cab[26KB]
PrintControl_res_nb.cab[26KB]
PrintControl_res_nl.cab[26KB]
PrintControl_res_pl.cab[26KB]
PrintControl_res_pt.cab[26KB]
PrintControl_res_ru.cab[27KB]
PrintControl_res_sk.cab[26KB]
PrintControl_res_sv.cab[26KB]
PrintControl_res_th.cab[26KB]
PrintControl_res_tr.cab[26KB]
PrintControl_res_zh_CN.cab[26KB]
PrintControl_res_zh_TW.cab[26KB]
DownArrowSortActive100.gif[977B]
DownArrowSortActive150.gif[1KB]
DownArrowSortActive200.gif[849B]
DownArrowSortActive250.gif[995B]
DownArrowSortActive300.gif[1KB]
DownArrowSortActive350.gif[1KB]
DownArrowSortActive400.gif[1KB]
DownArrowSortActive50.gif[271B]
DownArrowSortHover100.gif[971B]
DownArrowSortHover150.gif[1KB]
DownArrowSortHover200.gif[780B]
DownArrowSortHover250.gif[880B]
DownArrowSortHover300.gif[1KB]
DownArrowSortHover350.gif[1KB]
DownArrowSortHover400.gif[1KB]
DownArrowSortHover50.gif[271B]
DownArrowSortInactive100.gif[973B]
DownArrowSortInactive150.gif[1KB]
DownArrowSortInactive200.gif[829B]
DownArrowSortInactive250.gif[1017B]
DownArrowSortInactive300.gif[1KB]
DownArrowSortInactive400.gif[1KB]
DownArrowSortInactive50.gif[271B]
UpArrowSortActive100.gif[583B]
UpArrowSortActive150.gif[1KB]
UpArrowSortActive200.gif[845B]
UpArrowSortActive250.gif[971B]
UpArrowSortActive300.gif[1KB]
UpArrowSortActive350.gif[1KB]
UpArrowSortActive400.gif[1KB]
UpArrowSortActive50.gif[290B]
UpArrowSortHover100.gif[584B]
UpArrowSortHover150.gif[1KB]
UpArrowSortHover200.gif[780B]
UpArrowSortHover250.gif[868B]
UpArrowSortHover300.gif[991B]
UpArrowSortHover350.gif[1KB]
UpArrowSortHover400.gif[1KB]
UpArrowSortHover50.gif[290B]
UpArrowSortInactive100.gif[584B]
UpArrowSortInactive150.gif[1KB]
UpArrowSortInactive200.gif[851B]
UpArrowSortInactive250.gif[1004B]
UpArrowSortInactive300.gif[1KB]
UpArrowSortInactive400.gif[1KB]
UpArrowSortInactive50.gif[290B]
buttonl.gif[351B]
buttonm.gif[168B]
buttonr.gif[350B]
allInOne.gif[3KB]
allInOneBG.gif[739B]
arrow_button_depressed.gif[198B]
arrow_button_hover.gif[314B]
breadcrumbSep.gif[1KB]
calendar.gif[120B]
catalyst.gif[1016B]
clearValues.gif[497B]
clear_x.gif[80B]
closePanel.gif[54B]
delete.gif[231B]
drill_cursor.cur[3KB]
export.gif[1KB]
filledCircle.gif[271B]
first.gif[122B]
grouptree_toggle.gif[370B]
hollowCircle.gif[269B]
last.gif[122B]
leftTriangle.gif[260B]
line.gif[59B]
logo.gif[592B]
magnify.gif[115B]
min.gif[896B]
next.gif[103B]
open_parameter_arrow.gif[73B]
panelHeaderBG.gif[816B]
panelNavigatorItemHL.gif[867B]
panelNavigatorItemSelectedBG.gif[865B]
panel_toggle.gif[713B]
param_datafetching.gif[372B]
param_dirty.gif[851B]
param_info.gif[352B]
param_run.gif[221B]
param_warning.gif[572B]
plus.gif[897B]
prev.gif[103B]
print.gif[1KB]
refresh.gif[1KB]
rightTriangle.gif[260B]
search.gif[345B]
separator.gif[54B]
StackedTab.gif[78B]
toolbar_background.gif[853B]
toolbar_buttongroup_background.gif[845B]
toolbar_buttongroup_left.gif[838B]
toolbar_buttongroup_right.gif[829B]
toolbar_button_depressed.gif[947B]
toolbar_button_hover.gif[994B]
toolbar_menuarrow_depressed.gif[953B]
toolbar_menuarrow_hover.gif[986B]
toolbar_pagenav_buttons.gif[1KB]
toolbar_separator_icon.gif[816B]
undo.gif[363B]
up.gif[212B]
WarningPopupTriangle.gif[594B]
skin_coloredline
bolist.gif[1KB]
button.gif[905B]
buttonIcons.gif[1KB]
critical_icon.gif[862B]
dialogelements.gif[1KB]
dialogframe.gif[840B]
dialogframeleftright.gif[828B]
dialogframetopbottom.gif[822B]
dialogtitle.gif[85B]
down.gif[110B]
iconsep.gif[844B]
information_icon.gif[900B]
left.gif[110B]
menus.gif[1KB]
node.gif[111B]
progress.gif[962B]
resize.gif[860B]
right.gif[109B]
scroll_icon.gif[173B]
sep.gif[800B]
sep_solid.gif[804B]
tabs.gif[1KB]
up.gif[111B]
wait01.gif[35KB]
wait02.gif[1KB]
warning_icon.gif[1KB]
skin_corporate
bolist.gif[1KB]
button.gif[905B]
buttonIcons.gif[1KB]
critical_icon.gif[862B]
dialogelements.gif[1KB]
dialogframe.gif[840B]
dialogframeleftright.gif[828B]
dialogframetopbottom.gif[822B]
dialogtitle.gif[85B]
down.gif[111B]
iconsep.gif[844B]
information_icon.gif[900B]
left.gif[111B]
menus.gif[1KB]
node.gif[111B]
progress.gif[962B]
resize.gif[860B]
right.gif[109B]
scroll_icon.gif[173B]
sep.gif[800B]
sep_solid.gif[804B]
tabs.gif[1KB]
up.gif[112B]
wait01.gif[35KB]
wait02.gif[1KB]
warning_icon.gif[1KB]
skin_default
bolist.gif[1KB]
button.gif[905B]
buttonIcons.gif[1KB]
critical_icon.gif[862B]
dialogelements.gif[1KB]
dialogframe.gif[862B]
dialogframeleftright.gif[853B]
dialogframetopbottom.gif[834B]
dialogtitle.gif[85B]
down.gif[121B]
iconsep.gif[844B]
information_icon.gif[900B]
left.gif[123B]
menus.gif[1KB]
node.gif[114B]
progress.gif[962B]
resize.gif[860B]
right.gif[124B]
scroll_icon.gif[173B]
sep.gif[78B]
sep_solid.gif[80B]
tabs.gif[1KB]
up.gif[124B]
wait01.gif[35KB]
wait02.gif[1KB]
warning_icon.gif[1KB]
skin_standard
background_field.gif[813B]
background_menusel.gif[820B]
bolist.gif[1KB]
button.gif[1KB]
buttonIcons.gif[1KB]
critical_icon.gif[1KB]
critical_icon.png[1KB]
dialogelements.gif[171B]
dialogframe.gif[874B]
dialogframeleftright.gif[853B]
dialogframetopbottom.gif[834B]
dialogtitle.gif[2KB]
down.gif[121B]
hgrab.gif[1KB]
horiz_tabs.gif[4KB]
iconsep.gif[843B]
information_icon.gif[900B]
left.gif[123B]
menuitem_check.gif[937B]
menus.gif[1KB]
node.gif[114B]
panemenu.gif[862B]
panetitle.gif[818B]
progress.gif[962B]
resize.gif[857B]
right.gif[124B]
scroll_icon.gif[929B]
sep.gif[800B]
sep_solid.gif[804B]
tabs.gif[470B]
toolbar_elements.png[963B]
up.gif[124B]
vgrab.gif[1KB]
wait01.gif[2KB]
wait02.gif[1KB]
warning_icon.gif[1KB]
borders.gif[1KB]
help.gif[993B]
loading.gif[2KB]
lov.gif[1KB]
min.gif[896B]
plus.gif[897B]
prompt.gif[1KB]
resizepattern.gif[815B]
swap.gif[108B]
transp.gif[85B]
tree.gif[948B]
dim.gif[907B]
dim_close.gif[942B]
dim_o.gif[893B]
dim_open.gif[936B]
format.gif[1KB]
imgtabs.gif[1KB]
measure.gif[900B]
measure_o.gif[885B]
qualif.gif[1KB]
treeicons.gif[1KB]
unv_close.gif[1012B]
unv_o.gif[571B]
unv_open.gif[1005B]
log4javascript
addallfield.gif[453B]
addallfield_over.gif[682B]
addfield.gif[452B]
addfield_over.gif[677B]
back.gif[1KB]
background_field.gif[813B]
back_over.gif[1KB]
button.gif[1KB]
button_left_normal.gif[351B]
button_middle_normal.gif[162B]
button_right_normal.gif[350B]
calendar.gif[129B]
cfilter.gif[686B]
cfilter_over.gif[688B]
dialogelements.gif[171B]
dialogtitle.gif[818B]
error.gif[1KB]
errormsg.gif[560B]
filter.gif[698B]
filter_over.gif[695B]
forward.gif[452B]
forward_over.gif[677B]
info.gif[1KB]
infomsg.gif[551B]
minus.gif[100B]
next.gif[452B]
next_over.gif[463B]
plus.gif[109B]
prev.gif[447B]
prev_over.gif[467B]
resize.gif[857B]
transp.gif[85B]
warning.gif[1KB]
warningmsg.gif[314B]
urlreporting
crsmarttag.jsp[2KB]
preview.jsp[4KB]
EntityFramework.dll[1.01MB]
Strong.ESB.Authorization.IISServiceHost.dll[5KB]
Strong.ESB.Authorization.IISServiceHost.pdb[15KB]
Strong.ESB.Authorization.IService.dll[10KB]
Strong.ESB.Authorization.IService.pdb[11KB]
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
Strong.ESB.Authorization.Service.dll[53KB]
Strong.ESB.Authorization.Service.pdb[71KB]
DesignTimeResolveAssemblyReferencesInput.cache[8KB]
Strong.ESB.Authorization.IISServiceHost.csprojResolveAssemblyReference.cache[26KB]
Strong.ESB.Authorization.IISServiceHost.dll[5KB]
Strong.ESB.Authorization.IISServiceHost.pdb[15KB]
Properties
AuthorizationService.svc[115B]
Strong.ESB.Authorization.IISServiceHost.csproj.user[1KB]
Strong.ESB.Authorization.IISServiceHost.csproj.vspscc[257B]
Strong.ESB.Authorization.Injection
Strong.ESB.Authorization.Injection.dll[7KB]
Strong.ESB.Authorization.Injection.pdb[21KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Strong.ESB.Authorization.Injection.csprojResolveAssemblyReference.cache[2KB]
Strong.ESB.Authorization.Injection.dll[7KB]
Strong.ESB.Authorization.Injection.pdb[21KB]
Properties
Strong.ESB.Authorization.Injection.csproj.vspscc[257B]
Strong.ESB.Authorization.IService
Strong.ESB.Authorization.IService.dll[10KB]
Strong.ESB.Authorization.IService.pdb[11KB]
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Strong.ESB.Authorization.IService.csprojResolveAssemblyReference.cache[7KB]
Strong.ESB.Authorization.IService.dll[10KB]
Strong.ESB.Authorization.IService.pdb[11KB]
Properties
Strong.ESB.Authorization.IService.csproj.vspscc[257B]
Strong.ESB.Authorization.Models
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Strong.ESB.Authorization.Models.csprojResolveAssemblyReference.cache[2KB]
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
Properties
ViewModels
Strong.ESB.Authorization.Models.csproj.vspscc[257B]
Strong.ESB.Authorization.Service
EntityFramework.dll[1.01MB]
Strong.ESB.Authorization.IService.dll[10KB]
Strong.ESB.Authorization.IService.pdb[11KB]
Strong.ESB.Authorization.Models.dll[41KB]
Strong.ESB.Authorization.Models.pdb[39KB]
Strong.ESB.Authorization.Service.dll[53KB]
Strong.ESB.Authorization.Service.pdb[71KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Strong.ESB.Authorization.Service.csprojResolveAssemblyReference.cache[19KB]
Strong.ESB.Authorization.Service.dll[53KB]
Strong.ESB.Authorization.Service.pdb[71KB]
Properties
Strong.ESB.Authorization.Service.csproj.vspscc[257B]
from.gif[4KB]
StrongAuthorization.sln[7KB]
最新Asp.Net源码下载.url[125B]
当前路径:Strong.ESB.Authorization.IISServiceHost/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/dhtmllib/dom.js
// &script&
_userAgent=navigator.userAgent?navigator.userAgent.toLowerCase():null
_ie=(document.all!=null)?true:false
_dom=(document.getElementById!=null)?true:false
_isQuirksMode = (patMode != 'CSS1Compat');
_dtd4=!_ie||(patMode!='BackCompat') // Browser is compatible HTML 4.0 Strict
_moz=_dom&&!_ie
_show='visible'
_hide='hidden'
_hand=_ie?&hand&:&pointer&
_appVer=navigator.appVersion.toLowerCase();
_webKit=(_userAgent.indexOf(&safari&)&=0)||(_userAgent.indexOf(&applewebkit&)&=0)
_mac=(_appVer.indexOf('macintosh')&=0)||(_appVer.indexOf('macos')&=0);
_opera = (_userAgent.indexOf('opera') != -1);
// Browser is opera
_userAgent=navigator.userAgent?navigator.userAgent.toLowerCase():null
_saf=_moz&&(_userAgent.indexOf(&safari&)&=0)
//_def_shortcut=_mac?&⌘&:
_ie6 = _ie&&(_appVer.indexOf(&msie 5&)&0)
_small=(screen.height&=600)
_curDoc=document
_curWin=self
_tooltipWin=self
_tooltipDx=0
_tooltipDy=0
_codeWinName=&_CW&
_leftBtn=(_ie||_saf)?1:0
_preloadArr=new Array
_widgets=new Array
_resizeW=_ie6?&col-resize&:&E-resize&
_resizeH=_ie6?&row-resize&:&S-resize&
_ddData=new Array
_dontNeedEncoding=
_defaultButtonWidth=60;
// ================================================================================
// ================================================================================
// MANDATORY FUNCTIONS
// Must be called for the library to work
// IMPORTANT : must be used in a script tag in the doc header (not in loadCB for example)
// ================================================================================
// ================================================================================
function initDom(skin,style,lang,curWin,codeUniqueName)
// MUST be called after including dom.js
// skin [String] skin path
// lang [String] language code
// curWin [Window - Optional] pointer on a window to redirect the interface
// tooltipWin [Window - Optional] pointer on a window that displays drag & drop tooltips
// codeUniqueName [String - Optional] must be set if curWin specfied - enter a unique keyword
if (curWin)
_curWin=curWin
_curDoc=curWin.document
_tooltipWin=_curWin
if (codeUniqueName)
_codeWinName=&_CW&+codeUniqueName
_curWin[_codeWinName]=self
function styleSheet()
// MUST be called after initDom()
// must be between scripts tags to avois sync problems
// Include the default style sheet depending on the parameters of initDom()
includeCSS('style')
//we use only one css file for all languages
//switch(_lang)
// case 'ja':
// case 'ko':
// case 'zh':
includeCSS('style_fe')
// default:
includeCSS('style')
// ================================================================================
function isLayerDisplayed(lyr)
//check if the layer is displayed
//and check its parents
//if one parent is not displayed return false
var css=lyr?lyr.style:null
if(css.display == &none& || css.visibility==&hidden&)
return false
var par=lyr.parentNode
if(par!=null)
return isLayerDisplayed(par)
return true
// ================================================================================
function safeSetFocus(lyr)
if (lyr && lyr.focus && isLayerDisplayed(lyr))
lyr.focus()
// ================================================================================
// ================================================================================
// OBJECT newWidget (Constructor)
// Base Class for widgets
// ================================================================================
// ================================================================================
function newWidget(id)
// CONSTRUCTOR
// id [String]
the id for DHTML processing
var o=new Object
o.layer=null
o.css=null
o.getHTML=Widget_getHTML
o.beginHTML=Widget_getHTML
o.endHTML=Widget_getHTML
o.write=Widget_write
o.begin=Widget_begin
o.end=Widget_end
o.init=Widget_init
o.move=Widget_move
o.resize=Widget_resize
o.setBgColor=Widget_setBgColor
o.show=Widget_show
o.getWidth=Widget_getWidth
o.getHeight=Widget_getHeight
o.setHTML=Widget_setHTML
o.setDisabled=Widget_setDisabled
o.focus=Widget_focus
o.setDisplay=Widget_setDisplay
o.isDisplayed=Widget_isDisplayed
o.appendHTML=Widget_appendHTML
o.setTooltip=Widget_setTooltip
o.initialized=Widget_initialized
o.widx=_widgets.length
_widgets[o.widx]=o
function new_Widget(prm)
// CONSTRUCTOR - DEPRECATED (use new_Widget instead)
// id [String]
the id for DHTML processing
return newWidget(prm.id)
function getEvent(e,w)
if (_ie&&(e==null))
e = w ? w.event : _curWin.event
function Widget_param(paramsObj, paramName, paramDefaultValue)
var val = paramsObj ? paramsObj[paramName] :
return val == null ? paramDefaultValue :
// ================================================================================
function Widget_appendHTML()
// Write the widget dynamically into the body
append(_curDoc.body,this.getHTML())
// ================================================================================
function Widget_getHTML()
// VIRTUAL Get the widget HTML
// return [String] the HTML
return ''
// ================================================================================
function Widget_write(i)
// write the widget
_curDoc.write(this.getHTML(i))
// ================================================================================
function Widget_begin()
// for container widgets - write the HTML begin part
_curDoc.write(this.beginHTML())
// ================================================================================
function Widget_end()
// for container widgets - write the HTML begin part
_curDoc.write(this.endHTML())
// ================================================================================
function Widget_init()
// Inits the widget layer pointers
var o=this
o.layer=getLayer(o.id)
o.css=o.layer.style
o.layer._widget=o.widx
if (o.initialHTML)
o.setHTML(o.initialHTML)
function Widget_move(x,y)
// moves a widget
// x [int optional] new abscissa
// y [int optional] new ordinate
var c=this.if (x!=null){if (_moz) c.left=&&+x+&px&;else c.pixelLeft=x}if (y!=null){if (_moz) c.top=&&+y+&px&;else c.pixelTop=y}
// ================================================================================
function Widget_focus()
// Set the focus on the current widget
safeSetFocus(this.layer)
// ================================================================================
function Widget_setBgColor(c)
// Set the widget background color
// c [String] HTML color code
this.css.backgroundColor=c
// ================================================================================
function Widget_show(show)
// Show/hide a widget (the widget layout always exists)
// show [boolean]
this.css.visibility=show?_show:_hide
// ================================================================================
function Widget_getWidth()
// return [int] the widget width in pixels
return this.layer.offsetWidth
// ================================================================================
function Widget_getHeight()
// return [int] the widget height in pixels
return this.layer.offsetHeight
// ================================================================================
function Widget_setHTML(s)
// Set the widget HTML
// s [String] the new HTML
var o=this
if (o.layer)
o.layer.innerHTML=s
o.initialHTML=s
// ================================================================================
function Widget_setDisplay(d)
// Show/hide a widget (the widget takes no space if d is false)
// d [boolean]
if (this.css)
this.css.display=d?&&:&none&
// ================================================================================
function Widget_isDisplayed()
if(this.css.display == &none&)
return false
return true
// ================================================================================
function Widget_setDisabled(d)
// Disable a widget (its becomes insensitive to key or mouse actions)
// d [boolean]
if (this.layer)
this.layer.disabled=d
// ================================================================================
function Widget_resize(w,h)
// Resize a widget
// w [int optional] new width
// h [int optional] new height
if (w!=null) this.css.width=''+(Math.max(0,w))+'px';if (h!=null) this.css.height=''+(Math.max(0,h))+'px';
// ================================================================================
function Widget_setTooltip(tooltip)
// Set the widget tooltip
// tooltip [String]
this.layer.title=tooltip
// ================================================================================
function Widget_initialized()
// Return true if the widget is initialized
return this.layer!=null
// ================================================================================
// ================================================================================
// OBJECT newGrabberWidget (Constructor)
// Class to add grabber for resizing zones
// ================================================================================
// ================================================================================
function newGrabberWidget(id,resizeCB,x,y,w,h,isHori,buttonCB,tooltip)
// CONSTRUCTOR
the id for DHTML processing
// resizeCB [Function] callback when grabber is moved
initial abscissa
initial ordinate
initial width
initial height
if true, moves horizontally, else vertically
o=newWidget(id)
o.resizeCB=resizeCB
o.min=null
o.max=null
o.isHori=isHori
o.preloaded=new Image
o.preloaded.src=_skin+&../resizepattern.gif&
o.buttonCB=buttonCB
o.allowGrab=true
o.collapsed=false
o.isFromButton=false
o.showGrab=GrabberWidget_showGrab
o.setCollapsed=GrabberWidget_setCollapsed
o.tooltipButton=tooltip
o.getHTML=GrabberWidget_getHTML
o.enableGrab=GrabberWidget_enableGrab
o.setMinMax=GrabberWidget_setMinMax
if (window._allGrabbers==null)
window._allGrabbers=new Array
o.index=_allGrabbers.length
_allGrabbers[o.index]=o
o.buttonLyr=null
o.setButtonImage=GrabberWidget_setButtonImage
o.getImgOffset=GrabberWidget_getImgOffset
// ================================================================================
function GrabberWidget_setCollapsed(collapsed,tooltip)
this.collapsed=collapsed
this.setButtonImage(false,tooltip)
// ================================================================================
function GrabberWidget_getImgOffset(isRollover)
// PRIVATE
var o=this
if (o.isHori)
o.dx=(o.collapsed?12:0)+(isRollover?6:0)
o.dy=(o.collapsed?12:0)+(isRollover?6:0)
// ================================================================================
function GrabberWidget_setButtonImage(isRollover,tooltip)
// PRIVATE
var o=this
o.getImgOffset(isRollover)
o.tooltipButton=tooltip
if (o.layer)
if (o.buttonLyr==null)
o.buttonLyr=getLayer(&grabImg_&+o.id)
if (o.buttonLyr)
changeSimpleOffset(o.buttonLyr,o.dx,o.dy,null,tooltip)
// ================================================================================
function GrabberWidget_enableGrab(bEnable)
var o=this
o.allowGrab=bEnable
if (o.css)
o.css.cursor=o.allowGrab?(o.isHori?_resizeW:_resizeH):&default&
// ================================================================================
function GrabberWidget_getHTML()
// returns [String] widget HTML
var o=this
var cr=o.isHori?_resizeW:_resizeH
var moveableCb='onselectstart=&return false& ondragstart=&return false& onmousedown=&'+_codeWinName+'.GrabberWidget_down(event,\''+o.index+'\',this);&'
var imgG=_ie?('&img onselectstart=&return false& ondragstart=&return false& onmousedown=&'+_codeWinName+'.eventCancelBubble(event)& border=&0& hspace=&0& vspace=&0& src=&'+_skin+'../transp.gif& id=&modal_'+o.id+'& style=&z-index:10000;display:position:top:0left:0width:1height:1cursor:'+cr+'&&'):('&div onselectstart=&return false& ondragstart=&return false& onmousedown=&'+_codeWinName+'.eventCancelBubble(event)& border=&0& hspace=&0& vspace=&0& id=&modal_'+o.id+'& style=&z-index:10000;display:position:top:0left:0width:1height:1cursor:'+cr+'&&&/div&')
return getBGIframe('grabIframe_'+o.id)+imgG+'&table cellpadding=&0& cellspacing=&0& border=&0& '+moveableCb+' id=&'+o.id+'& style=&overflow:position:left:'+o.x+'top:'+o.y+'width:'+o.w+'height:'+o.h+'cursor:'+cr+'&&&tr&&td&&/td&&/tr&&/table&'
// ================================================================================
function GrabberWidget_setMinMax(min,max)
// Set the range in pixels
// min [int] minimum value
// min [int] maximum value
this.min=min
this.max=max
// ================================================================================
function GrabberWidget_button(e,index,lyr)
// PRIVATE
var o=_allGrabbers[index]
o.isFromButton=true
lyr.onmouseup=eval('_curWin.'+_codeWinName+'.GrabberWidget_buttonup')
// ================================================================================
function GrabberWidget_buttonover(e,index,lyr)
// PRIVATE
var o=_allGrabbers[index]
o.setButtonImage(true)
// ================================================================================
function GrabberWidget_buttonout(e,index,lyr)
// PRIVATE
var o=_allGrabbers[index]
o.setButtonImage(false)
// ================================================================================
function GrabberWidget_buttonup(e)
// PRIVATE
GrabberWidget_up(e)
// ================================================================================
function GrabberWidget_showGrab()
var o=this,mod=o.mod,ifr=o.iframe,stl=o.layer.style,st=mod.style
ifr.setDisplay(true)
// ================================================================================
function GrabberWidget_down(e,index,lyr)
// PRIVATE
var o=_allGrabbers[index]
window._theGrabber=o
if (o.mod==null)
o.mod=getLayer('modal_'+o.id)
o.iframe=newWidget('grabIframe_'+o.id)
o.iframe.init()
o.mod.onmousemove=eval('_curWin.'+_codeWinName+'.GrabberWidget_move')
o.mod.onmouseup=eval('_curWin.'+_codeWinName+'.GrabberWidget_up')
o.grabStartPosx=parseInt(lyr.style.left)
o.grabStartPosy=parseInt(lyr.style.top)
o.grabStartx=eventGetX(e)
o.grabStarty=eventGetY(e)
var mod=o.mod,ifr=o.iframe,stl=o.layer.style,st=mod.style
stl.backgroundImage='url(\''+_skin+'../resizepattern.gif\')'
o.prevZ=stl.zIndex
stl.zIndex=9999
ifr.css.zIndex=9998
st.width='100%'
st.height='100%'
mod.style.display=&block&
var p=getPos(o.layer)
ifr.move(p.x,p.y)
ifr.resize(o.getWidth(),o.getHeight())
if (!o.isFromButton)
o.showGrab()
return false
// ================================================================================
function GrabberWidget_move(e)
// PRIVATE
var o=_theGrabber,lyr=o.layer,mod=o.mod
if (o.isFromButton)
if (o.isHori)
var x = eventGetX(e), ox=o.grabStartx
if ((x & ox - 3) || (x & ox + 3))
o.isFromButton = false
var Y = eventGetY(e), oy=o.grabStarty
if ((y & oy - 3) || (y & oy + 3))
o.isFromButton = false
if (!o.isFromButton)
o.showGrab()
if (!o.isFromButton)
if (o.allowGrab)
var x=o.isHori?Math.max(0,o.grabStartPosx-o.grabStartx+eventGetX(e)):null
var y=o.isHori?null:Math.max(0,o.grabStartPosy-o.grabStarty+eventGetY(e))
if (o.isHori)
if (o.min!=null) x=Math.max(x,o.min)
if (o.max!=null) x=Math.min(x,o.max)
if (o.min!=null) y=Math.max(y,o.min)
if (o.max!=null) y=Math.min(y,o.max)
eventCancelBubble(e)
o.move(x,y)
getPos(o.layer)
if (o.buttonCB)
var bCss=o.buttonLyr.style
if (bCss.display!=&none&)
bCss.display=&none&
o.iframe.move(x,y)
// ================================================================================
function GrabberWidget_up(e)
var o=_theGrabber,lyr=o.layer,mod=o.mod,stl=lyr.style
stl.backgroundImage=''
stl.zIndex=o.prevZ
var ifr=o.iframe
ifr.move(-100,-100)
ifr.resize(1,1)
ifr.setDisplay(false)
eventCancelBubble(e)
var st=mod.style
st.display=&none&
st.width='0px'
st.height='0px'
if (o.buttonCB)
o.buttonLyr.style.display=&&
if (o&&(o.isFromButton))
if (o.buttonCB)
o.buttonCB()
o.isFromButton=false
if (o.allowGrab&&(!o.isFromButton))
if (o.resizeCB)
o.resizeCB(parseInt(lyr.style.left),parseInt(lyr.style.top))
// ================================================================================
// ================================================================================
// OBJECT ButtonWidget (Constructor)
// Class for building push buttons
// ================================================================================
// ================================================================================
function newButtonWidget(id,label,cb,width,hlp,tooltip,tabIndex,margin,url,w,h,dx,dy,imgRight,disDx,disDy)
// CONSTRUCTOR
[String] button ID
[String Optional] button label
[int optional] : text zone minimal width
// tooltip
[String Optional] button tooltip
// tabIndex [int Optional] for 508/IE : tab index for keyboard navigation
[String Optional] : the combined image url
[int Optional] the visible image part width
[int Optional] the horizontal offset in image
[int Optional] the vertical offset in image
: [int - optional]
horizontal offset for disabled state
: [int - optional]
vertical offset for disabled state
var o=newWidget(id)
o.label=label
o.width=width
o.tooltip=tooltip
o.tabIndex=tabIndex
o.isGray=false
o.isDefault=false
o.txt=null
o.icn=null
o.margin=margin?margin:0
o.extraStyle=&&
o.isDelayCallback =
o.disDx=(disDx!=null)?disDx:dx
o.disDy=(disDy!=null)?disDy:dy
o.imgRight=imgRight?true:false
o.getHTML=ButtonWidget_getHTML
o.setDisabled=ButtonWidget_setDisabled
o.setText=ButtonWidget_setText
o.changeImg=ButtonWidget_changeImg
o.oldInit=o.init
o.init=ButtonWidget_init
o.isDisabled=ButtonWidget_isDisabled
o.setDefaultButton=ButtonWidget_setDefaultButton
o.executeCB=ButtonWidget_executeCB
o.setTooltip=ButtonWidget_setTooltip
o.setDelayCallback=ButtonWidget_setDelayCallback
o.instIndex=ButtonWidget_currInst
ButtonWidget_inst[ButtonWidget_currInst++]=o
// ================================================================================
ButtonWidget_inst=new Array
ButtonWidget_currInst=0
function ButtonWidget_getHTML()
// returns [String] widget HTML
with (this)
var clk=_codeWinName+'.ButtonWidget_clickCB('+this.instIndex+');&'
var clcbs= 'onclick=&'+clk+'& '
clcbs+= 'ondblclick=&'+clk+'& '
var isDefaultSty=(this.isDefault && !this.isGray);
//add onkeydown for dialog default action (Enter)
clcbs+= 'onkeydown=& return '+_codeWinName+'.ButtonWidget_keydownCB(event,'+this.instIndex+');& '
var url1=_skin+&button.gif&,addPar=' style=&'+extraStyle+'cursor:'+_hand+';margin-left:'+margin+' margin-right:'+margin+' &'+clcbs+' ',tip=attr('title', tooltip),idText=&theBttn&+id, idIcon=&theBttnIcon&+
var bg=backImgOffset(url1,0,isDefaultSty?105:42);
var lnkB='&a '+attr('id',idText)+' '+tip+' '+attr('tabindex',tabIndex)+' href=&javascript:void(0)& class=&wizbutton& role=&button&&'
var l=(label!=null)
var im=(this.url?('&td align=&'+(l?(this.imgRight?'right':'left'):'center')+'& style=&'+bg+'& width=&'+(!l&&(width!=null)?width+6:w+6)+'&&'+(l?'':lnkB)+simpleImgOffset(url,w,h,this.isGray?disDs:dx,this.isGray?disDy:dy,idIcon,null,(l?'':tooltip),'cursor:'+_hand)+(l?'':'&/a&')+'&/td&'):'')
// Justin... I've change the button left and right to use backImgOffset because IE would not hide the simpleImgOffset once it had been displayed in the cancel dialog.
return '&table onmouseover=&return true& '+attr('id',id)+' '+addPar+' border=&0& cellspacing=&0& cellpadding=&0&&&tr valign=&middle&&'+
'&td height=&21& width=&5& style=&' + backImgOffset(url1,0,isDefaultSty?63:0)+'&&&/td&'+
(this.imgRight?'':im)+
(l?('&td '+attr(&width&,width)+ attr('id',&theBttnCenterImg&+id)+' align=&center& class=&'+(this.isGray?'wizbuttongray':'wizbutton')+'& style=&padding-left:3padding-right:3'+bg+'&&&nobr&'+lnkB+label+'&/a&&/nobr&&/td&'):'')+
(this.imgRight?im:'')+
'&td height=&21& width=&5& style=&' + backImgOffset(url1,0,isDefaultSty?84:21)+'&&&/td&&/tr&&/table&';
function ButtonWidget_setDelayCallback(value) {
this.isDelayCallback = (value == true);
// ================================================================================
function ButtonWidget_setDisabled(d)
// Enable/Disable
// s [boolean] if true disable the button
// returns [void]
var o=this,newCur=d?'default':_hand
o.isGray=d
if (o.layer)
var newClassName=d?'wizbuttongray':'wizbutton'
// Ensure the button state hasn't changed to avoid unnecessary processing
// The text className is a safe way to do the test
if (o.txt.className!=newClassName)
o.txt.className=newClassName
o.txt.style.cursor=newCur
o.css.cursor=newCur
changeSimpleOffset(o.icn,o.isGray?o.disDx:o.dx,o.isGray?o.disDy:o.dy)
o.icn.style.cursor=newCur
if(o.isDefault) //default button style
var isDefaultSty=!d,url=_skin+&button.gif&;
changeSimpleOffset(o.leftImg,0,isDefaultSty?63:0,url);
changeOffset(o.centerImg,0,isDefaultSty?105:42,url);
changeSimpleOffset(o.rightImg,0,isDefaultSty?84:21,url);
// ================================================================================
function ButtonWidget_setDefaultButton()
if (o.layer)
var isDefaultSty = !o.isGray,url=_skin+&button.gif&;
changeSimpleOffset(o.leftImg,0,isDefaultSty?63:0,url);
changeOffset(o.centerImg,0,isDefaultSty?105:42,url);
changeSimpleOffset(o.rightImg,0,isDefaultSty?84:21,url);
o.isDefault=
// ================================================================================
function ButtonWidget_isDisabled()
return this.isGray
// ================================================================================
function ButtonWidget_setText(str)
// Changes the button text
// str [String] the new button text
// returns [void]
this.txt.innerHTML=convStr(str)
function ButtonWidget_setTooltip(tooltip)
// Set the widget tooltip
// tooltip [String]
var o=this
o.tooltip=tooltip
o.layer.title=tooltip
if (o.txt)
o.txt.title=tooltip
if (o.icn)
o.icn.title=tooltip
// ================================================================================
function ButtonWidget_init()
// Inits the button
// returns [void]
var o=this
o.oldInit()
o.txt=getLayer('theBttn'+this.id)
o.icn=getLayer('theBttnIcon'+this.id)
o.leftImg=getLayer('theBttnLeftImg'+this.id)
o.centerImg=getLayer('theBttnCenterImg'+this.id)
o.rightImg=getLayer('theBttnRightImg'+this.id)
// reset if already initialized
var newClassName=o.isGray?'wizbuttongray':'wizbutton'
if (o.txt.className!=newClassName)
o.setDisabled(o.isGray)
// ================================================================================
function ButtonWidget_changeImg(dx,dy,disDx,disDy,url,tooltip)
var o=this
if (url) o.url=url
if (dx!=null) o.dx=dx
if (dy!=null) o.dy=dy
if (disDx!=null) o.disDx=disDx
if (disDy!=null) o.disDy=disDy
if (tooltip!=null) o.tooltip=tooltip
if (o.icn)
changeSimpleOffset(o.icn,o.isGray?o.disDx:o.dx,o.isGray?o.disDy:o.dy, o.url, o.tooltip)
// ================================================================================
function ButtonWidget_clickCB(index)
// PRIVATE internal click event handler
var btn=ButtonWidget_inst[index]
if (btn && !btn.isGray) {
if(btn.isDelayCallback)
setTimeout(&ButtonWidget_delayClickCB(&+index+&)&,1);
ButtonWidget_delayClickCB(index);
// ================================================================================
function ButtonWidget_delayClickCB(index)
// PRIVATE internal click event handler
var btn=ButtonWidget_inst[index]
btn.executeCB();
if (btn.cb)
if (typeof btn.cb!=&string&)
eval(btn.cb)
// ================================================================================
function ButtonWidget_executeCB()
// PRIVATE internal click event handler
var o=this
if (typeof o.cb!=&string&)
eval(o.cb)
// =====================================================...

我要回帖

更多关于 网吧收银系统操作 的文章

 

随机推荐