view release on metacpan or search on metacpan
applications/htmlroot/JSFX_Browser.js
applications/htmlroot/JSFX_Falling.js
applications/htmlroot/JSFX_Fireworks.js
applications/htmlroot/JSFX_Fireworks2.js
applications/htmlroot/JSFX_Halloween.js
applications/htmlroot/JSFX_Layer.js
applications/htmlroot/md5.js
applications/htmlroot/overlib.js
applications/htmlroot/overlib_anchor.js
applications/htmlroot/overlib_centerpopup.js
applications/htmlroot/overlib_crossframe.js
applications/htmlroot/overlib_cssstyle.js
applications/htmlroot/overlib_debug.js
applications/htmlroot/overlib_exclusive.js
applications/htmlroot/overlib_followscroll.js
applications/htmlroot/overlib_hideform.js
applications/htmlroot/overlib_setonoff.js
applications/htmlroot/overlib_shadow.js
applications/htmlroot/PopupWindow.js
applications/htmlroot/TimeParserValidator.js
applications/htmlroot/JSFX_Fireworks.js view on Meta::CPAN
*/
JSFX.Firework = function(fwNo, theImages)
{
var imgName = "fw"+fwNo;
var htmlStr = "<IMG SRC='"+theImages[0].src+"' NAME='"+imgName+"'>"
//Call the superclass constructor
this.superC = JSFX.Layer;
this.superC(htmlStr);
this.frame = 0;
this.state = "OFF";
this.fwImages = theImages;
this.imgName = imgName;
}
JSFX.Firework.prototype = new JSFX.Layer;
JSFX.Firework.prototype.animate = function()
{
if(this.state == "ON")
{
this.frame++
if(this.frame == this.fwImages.length)
{
this.frame = 0;
this.state = "OFF";
this.hide();
}
else
{
this.images[this.imgName].src = this.fwImages[this.frame].src;
}
}
else if(this.state == "OFF")
{
if(Math.random() > 0.95)
{
var x=Math.floor(Math.random()*(JSFX.Browser.getMaxX()-100) );
var y=Math.floor(Math.random()*(JSFX.Browser.getMaxY()-100) );
this.moveTo(x,y);
this.show();
applications/htmlroot/JSFX_Fireworks2.js view on Meta::CPAN
*/
JSFX.Firework = function(fwNo, theImages)
{
var imgName = "fw"+fwNo;
var htmlStr = "<IMG SRC='"+theImages[0].src+"' NAME='"+imgName+"'>"
//Call the superclass constructor
this.superC = JSFX.Layer;
this.superC(htmlStr);
this.frame = 0;
this.state = "OFF";
this.fwImages = theImages;
this.imgName = imgName;
this.ay = 0.2;
this.resizeTo(2,2);
}
JSFX.Firework.prototype = new JSFX.Layer;
JSFX.Firework.prototype.getMaxDy = function()
{
applications/htmlroot/JSFX_Fireworks2.js view on Meta::CPAN
{
dist += dy;
dy+=ay;
}
return -dy;
}
JSFX.Firework.prototype.animate = function()
{
if(this.state == "ON")
{
this.frame++
if(this.frame == this.fwImages.length)
{
this.frame = 0;
this.state = "OFF";
this.hide();
}
else
{
this.images[this.imgName].src = this.fwImages[this.frame].src;
}
}
else if(this.state == "OFF")
{
this.dy = this.getMaxDy();
this.dx = Math.random()*-8 + 4;
this.dy += Math.random()*3;
this.clip(0,0,3,3);
this.setBgColor(Math.random()>.33 ? Math.random()>.33 ? "#FF0000" : "#00FF00" : "#0000FF");
applications/htmlroot/cgi-bin/getHelpPlugin.pl view on Meta::CPAN
# <script type="text/javascript">
# <!--
# function openHelpPluginFilename(theUrl){
# location.href = theUrl;
# }
# //-->
# </script>
# <a href="javascript:openHelpPluginFilename('$htmlHelpPluginFilename');" target="_blank">$htmlHelpPluginFilename</a>
#HTML
} else {
print '<iframe src="', $htmlHelpPluginFilename, '" width="100%" height="1214" more="" ATTRIBUTES=""></iframe>', "\n";
}
print '</td></tr></table>', "\n";
}
$dbh->disconnect or $rv = error_trap_DBI(*STDOUT, "Sorry, the database was unable to add your entry.", $debug, $pagedir, $pageset, $htmlHelpPluginTitle, $subTitle, 3600, '', $sessionID);
}
print '<BR>', "\n";
}
applications/htmlroot/cgi-bin/perfparse.pl view on Meta::CPAN
# Debug information
print "<pre>pagedir : $pagedir<br>pageset : $pageset<br>debug : $debug<br>CGISESSID : $sessionID<br>URL ... : $urlAccessParameters</pre>" if ( $debug eq 'T' );
unless ( defined $errorUserAccessControl ) {
print_header (*STDOUT, $pagedir, $pageset, $htmlTitle, $subTitle, 3600, '', 'F', '', $sessionID);
print '<br>', "\n", '<table WIDTH="100%" border=0><tr><td class="HelpPluginFilename">', "\n";
if ( ! defined $userType or $userType == 0 ) {
print '<font size="+1">You don\'t have enough permissions!</font>', "\n";
} else {
print '<iframe src="'. ${HTTPSURL} . $PERFPARSECGI .'" width="100%" height="640" more="" ATTRIBUTES=""></iframe>', "\n";
}
print '</td></tr></table>', "\n";
print '<BR>', "\n";
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_legend (*STDOUT);
print '</BODY>', "\n", '</HTML>', "\n";
applications/htmlroot/overlib.js view on Meta::CPAN
if (typeof ol_fgbackground=='undefined') var ol_fgbackground="";
if (typeof ol_bgbackground=='undefined') var ol_bgbackground="";
if (typeof ol_padxl=='undefined') var ol_padxl=1;
if (typeof ol_padxr=='undefined') var ol_padxr=1;
if (typeof ol_padyt=='undefined') var ol_padyt=1;
if (typeof ol_padyb=='undefined') var ol_padyb=1;
if (typeof ol_fullhtml=='undefined') var ol_fullhtml=0;
if (typeof ol_vpos=='undefined') var ol_vpos=BELOW;
if (typeof ol_aboveheight=='undefined') var ol_aboveheight=0;
if (typeof ol_capicon=='undefined') var ol_capicon="";
if (typeof ol_frame=='undefined') var ol_frame=self;
if (typeof ol_timeout=='undefined') var ol_timeout=0;
if (typeof ol_function=='undefined') var ol_function=null;
if (typeof ol_delay=='undefined') var ol_delay=0;
if (typeof ol_hauto=='undefined') var ol_hauto=0;
if (typeof ol_vauto=='undefined') var ol_vauto=0;
if (typeof ol_closeclick=='undefined') var ol_closeclick=0;
if (typeof ol_wrap=='undefined') var ol_wrap=0;
if (typeof ol_followmouse=='undefined') var ol_followmouse=1;
if (typeof ol_mouseoff=='undefined') var ol_mouseoff=0;
if (typeof ol_closetitle=='undefined') var ol_closetitle='Close';
applications/htmlroot/overlib.js view on Meta::CPAN
var o3_fullhtml=0;
var o3_vpos=BELOW;
var o3_aboveheight=0;
var o3_capicon="";
var o3_textfont="Verdana,Arial,Helvetica";
var o3_captionfont="Verdana,Arial,Helvetica";
var o3_closefont="Verdana,Arial,Helvetica";
var o3_textsize="1";
var o3_captionsize="1";
var o3_closesize="1";
var o3_frame=self;
var o3_timeout=0;
var o3_timerid=0;
var o3_allowmove=0;
var o3_function=null;
var o3_delay=0;
var o3_delayid=0;
var o3_hauto=0;
var o3_vauto=0;
var o3_closeclick=0;
var o3_wrap=0;
applications/htmlroot/overlib.js view on Meta::CPAN
////////
// PUBLIC FUNCTIONS
////////
// overlib(arg0,...,argN)
// Loads parameters into global runtime variables.
function overlib() {
if (!olLoaded || isExclusive(overlib.arguments)) return true;
if (olCheckMouseCapture) olMouseCapture();
if (over) {
over = (typeof over.id != 'string') ? o3_frame.document.all['overDiv'] : over;
cClick();
}
// Load defaults to runtime.
olHideDelay=0;
o3_text=ol_text;
o3_cap=ol_cap;
o3_sticky=ol_sticky;
o3_background=ol_background;
o3_close=ol_close;
applications/htmlroot/overlib.js view on Meta::CPAN
o3_fgclass=ol_fgclass;
o3_bgclass=ol_bgclass;
o3_textfontclass=ol_textfontclass;
o3_captionfontclass=ol_captionfontclass;
o3_closefontclass=ol_closefontclass;
setRunTimeVariables();
fnRef = '';
// Special for frame support, over must be reset...
o3_frame = ol_frame;
if(!(over=createDivContainer())) return false;
parseTokens('o3_', overlib.arguments);
if (!postParseChecks()) return false;
if (o3_delay == 0) {
return runHook("olMain", FREPLACE);
} else {
o3_delayid = setTimeout("runHook('olMain', FREPLACE)", o3_delay);
applications/htmlroot/overlib.js view on Meta::CPAN
runHook("createPopup", FAFTER, lyrContent);
return true;
}
// Decides where we want the popup.
function placeLayer() {
var placeX, placeY, widthFix = 0;
// HORIZONTAL PLACEMENT, re-arranged to work in Safari
if (o3_frame.innerWidth) widthFix=18;
iwidth = windowWidth();
// Horizontal scroll offset
winoffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollLeft') : o3_frame.pageXOffset;
placeX = runHook('horizontalPlacement',FCHAIN,iwidth,winoffset,widthFix);
// VERTICAL PLACEMENT, re-arranged to work in Safari
if (o3_frame.innerHeight) {
iheight=o3_frame.innerHeight;
} else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval('o3_frame.'+docRoot+'.clientHeight')) {
iheight=eval('o3_frame.'+docRoot+'.clientHeight');
}
// Vertical scroll offset
scrolloffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollTop') : o3_frame.pageYOffset;
placeY = runHook('verticalPlacement',FCHAIN,iheight,scrolloffset);
// Actually move the object.
repositionTo(over, placeX, placeY);
}
// Moves the layer
function olMouseMove(e) {
var e = (e) ? e : event;
if (e.pageX) {
o3_x = e.pageX;
o3_y = e.pageY;
} else if (e.clientX) {
o3_x = eval('e.clientX+o3_frame.'+docRoot+'.scrollLeft');
o3_y = eval('e.clientY+o3_frame.'+docRoot+'.scrollTop');
}
if (o3_allowmove == 1) runHook("placeLayer", FREPLACE);
// MouseOut handler
if (hoveringSwitch && !olNs4 && runHook("cursorOff", FREPLACE)) {
(olHideDelay ? hideDelay(olHideDelay) : cClick());
hoveringSwitch = !hoveringSwitch;
}
}
applications/htmlroot/overlib.js view on Meta::CPAN
if (fnMark && o3_function) o3_text = o3_function();
if ((pf == 'o3_') && o3_wrap) {
o3_width = 0;
var tReg=/<.*\n*>/ig;
if (!tReg.test(o3_text)) o3_text = o3_text.replace(/[ ]+/g, ' ');
if (!tReg.test(o3_cap))o3_cap = o3_cap.replace(/[ ]+/g, ' ');
}
if ((pf == 'o3_') && o3_sticky) {
if (!o3_close && (o3_frame != ol_frame)) o3_close = ol_close;
if (o3_mouseoff && (o3_frame == ol_frame)) opt_NOCLOSE(' ');
}
}
////////
// LAYER FUNCTIONS
////////
// Writes to a layer
function layerWrite(txt) {
txt += "\n";
if (olNs4) {
var lyr = o3_frame.document.layers['overDiv'].document
lyr.write(txt)
lyr.close()
} else if (typeof over.innerHTML != 'undefined') {
if (olIe5 && isMac) over.innerHTML = '';
over.innerHTML = txt;
} else {
range = o3_frame.document.createRange();
range.setStartAfter(over);
domfrag = range.createContextualFragment(txt);
while (over.hasChildNodes()) {
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
applications/htmlroot/overlib.js view on Meta::CPAN
// checks positioning flags
function checkPositionFlags() {
if (olHautoFlag) olHautoFlag = o3_hauto=0;
if (olVautoFlag) olVautoFlag = o3_vauto=0;
return true;
}
// get Browser window width
function windowWidth() {
var w;
if (o3_frame.innerWidth) w=o3_frame.innerWidth;
else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval('o3_frame.'+docRoot+'.clientWidth'))
w=eval('o3_frame.'+docRoot+'.clientWidth');
return w;
}
// create the div container for popup content if it doesn't exist
function createDivContainer(id,frm,zValue) {
id = (id || 'overDiv'), frm = (frm || o3_frame), zValue = (zValue || 1000);
var objRef, divContainer = layerReference(id);
if (divContainer == null) {
if (olNs4) {
divContainer = frm.document.layers[id] = new Layer(window.innerWidth, frm);
objRef = divContainer;
} else {
var body = (olIe4 ? frm.document.all.tags('BODY')[0] : frm.document.getElementsByTagName("BODY")[0]);
if (olIe4&&!document.getElementById) {
body.insertAdjacentHTML("beforeEnd",'<div id="'+id+'"></div>');
applications/htmlroot/overlib.js view on Meta::CPAN
objRef.zIndex = zValue;
if (olIe4&&!olOp) objRef.left = objRef.top = '0px';
else objRef.left = objRef.top = -10000 + (!olNs4 ? 'px' : 0);
}
return divContainer;
}
// get reference to a layer with ID=id
function layerReference(id) {
return (olNs4 ? o3_frame.document.layers[id] : (document.all ? o3_frame.document.all[id] : o3_frame.document.getElementById(id)));
}
////////
// UTILITY FUNCTIONS
////////
// Checks if something is a function.
function isFunction(fnRef) {
var rtn = true;
if (typeof fnRef == 'object') {
applications/htmlroot/overlib_anchor.js view on Meta::CPAN
}
// Stub function for the runHook routine
function anchorPreface() {
if (!mrkObj) return;
rmrkPosition = getAnchorLocation(mrkObj);
}
// Get Reference Mark object
function getAnchorObjectRef(aObj) {
return getRefById(aObj, o3_frame.document) || getRefByName(aObj, o3_frame.document)
}
// Adapted to overlib from jwin by Jason Anderson -- http://www.jwinlib.com
function getAnchorLocation(objRef){
var mkObj, of, offsets, mlyr
mkObj = mlyr = objRef
offsets = [o3_anchorx, o3_anchory]
if (document.layers){
applications/htmlroot/overlib_crossframe.js view on Meta::CPAN
//\/////
//\ overLIB Crossframe Support Plugin
//\ This file requires overLIB 4.10 or later.
//\
//\ overLIB 4.05 - You may not remove or change this notice.
//\ Copyright Erik Bosrup 1998-2004. All rights reserved.
//\ Contributors are listed on the homepage.
//\ See http://www.bosrup.com/web/overlib/ for details.
// $Revision: 1.8 $ $Date: 2004/11/25 21:27:19 $
//\/////
//\mini
////////
// PRE-INIT
// Ignore these lines, configuration is below.
////////
if (typeof olInfo == 'undefined' || typeof olInfo.meets == 'undefined' || !olInfo.meets(4.10)) alert('overLIB 4.10 or later is required for the Cross Frame Support Plugin.');
else {
registerCommands('frame');
////////
// PLUGIN FUNCTIONS
///////
// Parses FRAME command
function parseFrameExtras(pf,i,ar) {
var k = i,v;
if (k < ar.length) {
if (ar[k] == FRAME) { v = ar[++k]; if(pf == 'ol_') ol_frame = v; else opt_FRAME(v); return k; }
}
return -1;
}
////////
// SUPPORT FUNCTIONS
////////
// Defines which frame we should point to.
function opt_FRAME(frm) {
o3_frame = frm;
over = createDivContainer('overDiv');
return 0;
}
// Get frame depth of nested frames
function frmDepth(thisFrame,ofrm) {
var retVal = '';
for (var i = 0; i<thisFrame.length; i++) {
if (thisFrame[i].length > 0) {
retVal = frmDepth(thisFrame[i],ofrm);
if (retVal == '') continue;
} else if (thisFrame[i] != ofrm) continue;
retVal = '[' + i + ']' + retVal;
break;
}
return retVal;
}
// Gets frame reference value relative to top frame
function getFrmRef(srcFrm,tgetFrm) {
var rtnVal = ''
if (tgetFrm != srcFrm) {
var tFrm = frmDepth(top.frames,tgetFrm)
var sFrm = frmDepth(top.frames,srcFrm)
if (sFrm.length == tFrm.length) {
l = tFrm.lastIndexOf('[')
if (l) {
while ( sFrm.substring(0,l) != tFrm.substring(0,l) )
l = tFrm.lastIndexOf('[',l-1)
tFrm = tFrm.substr(l)
sFrm = sFrm.substr(l)
}
}
var cnt = 0, p = '',str = tFrm
while ((k = str.lastIndexOf('[')) != -1) {
cnt++
str = str.substring(0,k)
}
for (var i = 0; i<cnt; i++) p = p + 'parent.'
rtnVal = p + 'frames' + sFrm + '.'
}
return rtnVal
}
function chkForFrmRef() {
if(o3_frame != ol_frame) fnRef = getFrmRef(ol_frame,o3_frame)
return true;
}
////////
// PLUGIN REGISTRATIONS
////////
registerCmdLineFunction(parseFrameExtras);
registerPostParseFunction(chkForFrmRef);
}
applications/htmlroot/overlib_followscroll.js view on Meta::CPAN
return -1;
}
// Function to support scroll feature (overloads default)
function scroll_placeLayer() {
var placeX, placeY, widthFix = 0;
// HORIZONTAL PLACEMENT
if (o3_frame.innerWidth) {
widthFix=Math.ceil(1.2*(o3_frame.outerWidth - o3_frame.innerWidth));
widthFix = (widthFix > 50) ? 20 : widthFix;
iwidth=o3_frame.innerWidth;
} else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval('o3_frame.'+docRoot+'.clientWidth'))
iwidth=eval('o3_frame.'+docRoot+'.clientWidth');
// Horizontal scroll offset
winoffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollLeft') : o3_frame.pageXOffset;
placeX = runHook('horizontalPlacement',FCHAIN,iwidth,winoffset,widthFix);
// VERTICAL PLACEMENT
if (o3_frame.innerHeight) iheight=o3_frame.innerHeight;
else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval('o3_frame.'+docRoot+'.clientHeight'))
iheight=eval('o3_frame.'+docRoot+'.clientHeight');
// Vertical scroll offset
scrolloffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollTop') : o3_frame.pageYOffset;
placeY = runHook('verticalPlacement',FCHAIN,iheight,scrolloffset);
// Actually move the object.
repositionTo(over,placeX,placeY);
if (o3_followscroll && o3_sticky && (o3_relx || o3_rely) && (typeof o3_draggable == 'undefined' || !o3_draggable)) {
if (typeof over.scroller=='undefined' || over.scroller.canScroll) over.scroller = new Scroller(placeX-winoffset,placeY-scrolloffset,o3_followscrollrefresh);
}
}
applications/htmlroot/overlib_followscroll.js view on Meta::CPAN
over.scroller.canScroll = 1;
if (over.scroller.timer) {
clearTimeout(over.scroller.timer);
over.scroller.timer=null;
}
}
// Find out how much we've scrolled.
function getPageScrollY() {
if (o3_frame.pageYOffset) return o3_frame.pageYOffset;
if (eval(docRoot)) return eval('o3_frame.' + docRoot + '.scrollTop');
return -1;
}
function getPageScrollX() {
if (o3_frame.pageXOffset) return o3_frame.pageXOffset;
if (eval(docRoot)) return eval('o3_frame.'+docRoot+'.scrollLeft');
return -1;
}
// Find out where our layer is
function getLayerTop(layer) {
if (layer.pageY) return layer.pageY;
if (layer.style.top) return parseInt(layer.style.top);
return -1;
}
function getLayerLeft(layer) {
applications/htmlroot/overlib_hideform.js view on Meta::CPAN
//\/////
//\ overLIB Hide Form Plugin
//\
//\ Uses an iframe shim to mask system controls for IE v5.5 or higher as suggested in
//\ http://dotnetjunkies.com/weblog/jking/posts/488.aspx
//\ This file requires overLIB 4.10 or later.
//\
//\ overLIB 4.05 - You may not remove or change this notice.
//\ Copyright Erik Bosrup 1998-2004. All rights reserved.
//\ Contributors are listed on the homepage.
//\ See http://www.bosrup.com/web/overlib/ for details.
// $Revision: 1.20 $ $Date: 2004/11/25 21:27:19 $
//\/////
//\mini
applications/htmlroot/overlib_hideform.js view on Meta::CPAN
wd = parseInt(o3_width);
ht = over.offsetHeight;
txt = backDropSource(wd,ht,zIdx++);
txt += '<div style="position: absolute; top: 0; left: 0; width: '+ wd+'px; z-index: ' + zIdx + ';">' + content + '</div>';
layerWrite(txt);
}
// Code for the IFRAME which is used in other places
function backDropSource(width, height, Z) {
return '<iframe frameborder="0" scrolling="no" src="javascript:false;" width="' + width + '" height="' + height + '" style="z-index: ' + Z + '; filter: Beta(Style=0,Opacity=0);"></iframe>';
}
// Hides SELECT boxes that will be under the popup
// Checking Gecko version number to try to include other browsers based on the Gecko engine
function hideSelectBox() {
if(olNs4 || olOp || olIe55) return;
var px, py, pw, ph, sx, sw, sy, sh, selEl, v;
if(olIe4) v = 0;
else {
v = navigator.userAgent.match(/Gecko\/(\d{8})/i);
if(!v) return; // return if no string match
v = parseInt(v[1]);
}
if (v < 20030624) { // versions less than June 24, 2003 were earlier Netscape browsers
px = parseInt(over.style.left);
py = parseInt(over.style.top);
pw = o3_width;
ph = (o3_aboveheight ? parseInt(o3_aboveheight) : over.offsetHeight);
selEl = (olIe4) ? o3_frame.document.all.tags("SELECT") : o3_frame.document.getElementsByTagName("SELECT");
for (var i=0; i<selEl.length; i++) {
if(!olIe4 && selEl[i].size < 2) continue; // Not IE and SELECT size is 1 or not specified
sx = pageLocation(selEl[i],'Left');
sy = pageLocation(selEl[i],'Top');
sw = selEl[i].offsetWidth;
sh = selEl[i].offsetHeight;
if((px+pw) < sx || px > (sx+sw) || (py+ph) < sy || py > (sy+sh)) continue;
selEl[i].isHidden = 1;
selEl[i].style.visibility = 'hidden';
}
applications/htmlroot/overlib_hideform.js view on Meta::CPAN
var selEl, v;
if(olIe4) v = 0;
else {
v = navigator.userAgent.match(/Gecko\/(\d{8})/i);
if(!v) return;
v = parseInt(v[1]);
}
if(v < 20030624) {
selEl = (olIe4) ? o3_frame.document.all.tags("SELECT") : o3_frame.document.getElementsByTagName("SELECT");
for (var i=0; i<selEl.length; i++) {
if(typeof selEl[i].isHidden != 'undefined' && selEl[i].isHidden) {
selEl[i].isHidden = 0;
selEl[i].style.visibility = 'visible';
}
}
}
}
// function gets the total offset properties of an element
applications/htmlroot/overlib_shadow.js view on Meta::CPAN
dpObj.bgColor = (bkSet == 1) ? null : o3_shadowcolor;
dpObj.background.src = (bkSet==2) ? null : o3_shadowimage;
dpObj.zIndex = 0;
aPos = posStr[1].split(';');
puObj.left = parseInt(aPos[0].split(':')[1]);
puObj.top = parseInt(aPos[1].split(':')[1]);
puObj.zIndex = 1;
} else {
puObj = (olIe4 ? o3_frame.document.all['PUContent'] : o3_frame.document.getElementById('PUContent'));
dpObj = (olIe4 ? o3_frame.document.all['backdrop'] : o3_frame.document.getElementById('backdrop'));
ht = puObj.offsetHeight;
dpObj.style.height = ht + 'px';
if (o3_shadowopacity) {
var op = o3_shadowopacity;
op = (op <= 100 ? op : 100);
setBrowserOpacity(op,dpObj);
}
}
applications/htmlroot/overlib_shadow.js view on Meta::CPAN
}
////////
// SUPPORT FUNCTIONS
////////
// Cleans up opacity settings if any.
function cleanUpShadowEffects() {
if (olNs4 || olOp) return;
var dpObj=(olIe4 ? o3_frame.document.all['backdrop'] : o3_frame.document.getElementById('backdrop'));
cleanUpBrowserOpacity(dpObj);
}
// multi browser opacity support
function setBrowserOpacity(op,lyr){
if (olNs4||!op) return; // if Ns4.x or opacity not given return;
lyr=(lyr) ? lyr : over;
if (olIe4&&typeof lyr.filters != 'undefined') {
lyr.style.filter='Alpha(Opacity='+op+')';
lyr.filters.alpha.enabled=true;
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
if (typeof ol_fgbackground=='undefined') var ol_fgbackground="";
if (typeof ol_bgbackground=='undefined') var ol_bgbackground="";
if (typeof ol_padxl=='undefined') var ol_padxl=1;
if (typeof ol_padxr=='undefined') var ol_padxr=1;
if (typeof ol_padyt=='undefined') var ol_padyt=1;
if (typeof ol_padyb=='undefined') var ol_padyb=1;
if (typeof ol_fullhtml=='undefined') var ol_fullhtml=0;
if (typeof ol_vpos=='undefined') var ol_vpos=BELOW;
if (typeof ol_aboveheight=='undefined') var ol_aboveheight=0;
if (typeof ol_capicon=='undefined') var ol_capicon="";
if (typeof ol_frame=='undefined') var ol_frame=self;
if (typeof ol_timeout=='undefined') var ol_timeout=0;
if (typeof ol_function=='undefined') var ol_function=null;
if (typeof ol_delay=='undefined') var ol_delay=0;
if (typeof ol_hauto=='undefined') var ol_hauto=0;
if (typeof ol_vauto=='undefined') var ol_vauto=0;
if (typeof ol_closeclick=='undefined') var ol_closeclick=0;
if (typeof ol_wrap=='undefined') var ol_wrap=0;
if (typeof ol_followmouse=='undefined') var ol_followmouse=1;
if (typeof ol_mouseoff=='undefined') var ol_mouseoff=0;
if (typeof ol_closetitle=='undefined') var ol_closetitle='Close';
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
var o3_fullhtml=0;
var o3_vpos=BELOW;
var o3_aboveheight=0;
var o3_capicon="";
var o3_textfont="Verdana,Arial,Helvetica";
var o3_captionfont="Verdana,Arial,Helvetica";
var o3_closefont="Verdana,Arial,Helvetica";
var o3_textsize="1";
var o3_captionsize="1";
var o3_closesize="1";
var o3_frame=self;
var o3_timeout=0;
var o3_timerid=0;
var o3_allowmove=0;
var o3_function=null;
var o3_delay=0;
var o3_delayid=0;
var o3_hauto=0;
var o3_vauto=0;
var o3_closeclick=0;
var o3_wrap=0;
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
////////
// PUBLIC FUNCTIONS
////////
// overlib(arg0,...,argN)
// Loads parameters into global runtime variables.
function overlib() {
if (!olLoaded || isExclusive(overlib.arguments)) return true;
if (olCheckMouseCapture) olMouseCapture();
if (over) {
over = (typeof over.id != 'string') ? o3_frame.document.all['overDiv'] : over;
cClick();
}
// Load defaults to runtime.
olHideDelay=0;
o3_text=ol_text;
o3_cap=ol_cap;
o3_sticky=ol_sticky;
o3_background=ol_background;
o3_close=ol_close;
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
o3_fgclass=ol_fgclass;
o3_bgclass=ol_bgclass;
o3_textfontclass=ol_textfontclass;
o3_captionfontclass=ol_captionfontclass;
o3_closefontclass=ol_closefontclass;
setRunTimeVariables();
fnRef = '';
// Special for frame support, over must be reset...
o3_frame = ol_frame;
if(!(over=createDivContainer())) return false;
parseTokens('o3_', overlib.arguments);
if (!postParseChecks()) return false;
if (o3_delay == 0) {
return runHook("olMain", FREPLACE);
} else {
o3_delayid = setTimeout("runHook('olMain', FREPLACE)", o3_delay);
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
runHook("createPopup", FAFTER, lyrContent);
return true;
}
// Decides where we want the popup.
function placeLayer() {
var placeX, placeY, widthFix = 0;
// HORIZONTAL PLACEMENT, re-arranged to work in Safari
if (o3_frame.innerWidth) widthFix=18;
iwidth = windowWidth();
// Horizontal scroll offset
winoffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollLeft') : o3_frame.pageXOffset;
placeX = runHook('horizontalPlacement',FCHAIN,iwidth,winoffset,widthFix);
// VERTICAL PLACEMENT, re-arranged to work in Safari
if (o3_frame.innerHeight) {
iheight=o3_frame.innerHeight;
} else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval('o3_frame.'+docRoot+'.clientHeight')) {
iheight=eval('o3_frame.'+docRoot+'.clientHeight');
}
// Vertical scroll offset
scrolloffset=(olIe4) ? eval('o3_frame.'+docRoot+'.scrollTop') : o3_frame.pageYOffset;
placeY = runHook('verticalPlacement',FCHAIN,iheight,scrolloffset);
// Actually move the object.
repositionTo(over, placeX, placeY);
}
// Moves the layer
function olMouseMove(e) {
var e = (e) ? e : event;
if (e.pageX) {
o3_x = e.pageX;
o3_y = e.pageY;
} else if (e.clientX) {
o3_x = eval('e.clientX+o3_frame.'+docRoot+'.scrollLeft');
o3_y = eval('e.clientY+o3_frame.'+docRoot+'.scrollTop');
}
if (o3_allowmove == 1) runHook("placeLayer", FREPLACE);
// MouseOut handler
if (hoveringSwitch && !olNs4 && runHook("cursorOff", FREPLACE)) {
(olHideDelay ? hideDelay(olHideDelay) : cClick());
hoveringSwitch = !hoveringSwitch;
}
}
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
if (fnMark && o3_function) o3_text = o3_function();
if ((pf == 'o3_') && o3_wrap) {
o3_width = 0;
var tReg=/<.*\n*>/ig;
if (!tReg.test(o3_text)) o3_text = o3_text.replace(/[ ]+/g, ' ');
if (!tReg.test(o3_cap))o3_cap = o3_cap.replace(/[ ]+/g, ' ');
}
if ((pf == 'o3_') && o3_sticky) {
if (!o3_close && (o3_frame != ol_frame)) o3_close = ol_close;
if (o3_mouseoff && (o3_frame == ol_frame)) opt_NOCLOSE(' ');
}
}
////////
// LAYER FUNCTIONS
////////
// Writes to a layer
function layerWrite(txt) {
txt += "\n";
if (olNs4) {
var lyr = o3_frame.document.layers['overDiv'].document
lyr.write(txt)
lyr.close()
} else if (typeof over.innerHTML != 'undefined') {
if (olIe5 && isMac) over.innerHTML = '';
over.innerHTML = txt;
} else {
range = o3_frame.document.createRange();
range.setStartAfter(over);
domfrag = range.createContextualFragment(txt);
while (over.hasChildNodes()) {
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
// checks positioning flags
function checkPositionFlags() {
if (olHautoFlag) olHautoFlag = o3_hauto=0;
if (olVautoFlag) olVautoFlag = o3_vauto=0;
return true;
}
// get Browser window width
function windowWidth() {
var w;
if (o3_frame.innerWidth) w=o3_frame.innerWidth;
else if (eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval('o3_frame.'+docRoot+'.clientWidth'))
w=eval('o3_frame.'+docRoot+'.clientWidth');
return w;
}
// create the div container for popup content if it doesn't exist
function createDivContainer(id,frm,zValue) {
id = (id || 'overDiv'), frm = (frm || o3_frame), zValue = (zValue || 1000);
var objRef, divContainer = layerReference(id);
if (divContainer == null) {
if (olNs4) {
divContainer = frm.document.layers[id] = new Layer(window.innerWidth, frm);
objRef = divContainer;
} else {
var body = (olIe4 ? frm.document.all.tags('BODY')[0] : frm.document.getElementsByTagName("BODY")[0]);
if (olIe4&&!document.getElementById) {
body.insertAdjacentHTML("beforeEnd",'<div id="'+id+'"></div>');
applications/htmlroot/snmptraps/include/js/overlib.js view on Meta::CPAN
top = left = -10000 + (!olNs4) ? 'px' : 0;
zIndex = zValue;
}
}
return divContainer;
}
// get reference to a layer with ID=id
function layerReference(id) {
return (olNs4 ? o3_frame.document.layers[id] : (document.all ? o3_frame.document.all[id] : o3_frame.document.getElementById(id)));
}
////////
// PLUGIN ACTIVATION FUNCTIONS
////////
// Runs plugin functions to set runtime variables.
function setRunTimeVariables(){
if (typeof runTime != 'undefined' && runTime.length) {
for (var k = 0; k < runTime.length; k++) {
runTime[k]();
lib/ASNMTAP/Asnmtap/Applications.pm view on Meta::CPAN
min=(v>=5.5?min:false);
var w=window.screen.width; var h=window.screen.height
var W=W||w; W=(typeof(W)=='string'?Math.ceil(parseInt(W)*w/100):W); W+=(brd*2+2)*c
var H=H||h; H=(typeof(H)=='string'?Math.ceil(parseInt(H)*h/100):H); H+=(tsz+brd+2)*c
var X=X||Math.ceil((w-W)/2)
var Y=Y||Math.ceil((h-H)/2)
var s=",width="+W+",height="+H
var CWIN=window.open(u,n,wNS+s,true)
CWIN.moveTo(X,Y)
CWIN.focus()
CWIN.setURL=function(u) { if (this && !this.closed) { if (this.frames.main) this.frames.main.location.href=u; else this.location.href=u } }
CWIN.closeIT=function() { if (this && !this.closed) this.close() }
return CWIN
}
function openPngImage(u,W,H,X,Y,n,b,x,t, m,r) {
var tH = '<font face=verdana color=#0000FF size=1>' + t + '<\\/font>';
var tW = ' ' + t;
var wB = '#0000FF';
var wBs = '#0000FF';
var wBG = '#000066';
plugins/templates/xml/ServletTestRunner-FailureError.xml view on Meta::CPAN
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite name ="be.asnmtap.common.businessservices.service.TestAsnmtapServiceRemote" tests="2" failures="1" errors="1" time="0.183">
<testcase name="testHeavyLoad1" time ="0.075">
<failure message="Service exception : Exception with tuxedocode -6001 - Cannot get a TUXEDO session - No session available" type="junit.framework.AssertionFailedError">
junit.framework.AssertionFailedError: ...
</failure>
</testcase>
<testcase name="testHeavyLoad2" time="0.05">
<error message="Exception with tuxedocode -6001 - Cannot get a TUXEDO session - No session available" type ="be.Asnmtap.common.businessservices.exceptions.AsnmtapServiceException">
be.Asnmtap.common.businessservices.exceptions.AsnmtapServiceException: ...
</error>
</testcase>
</testsuite>
</testsuites>