';
else ttl=pars['title'];
// if (ttl.indexOf('Winkie')>0) debugger;
ttl0=ttl.replace(/\'/g,"'");
ttl0=ttl0.replace(/\"/g,""");
// 05/31/19: uncomment 2 lines below.
ttl0=ttl0.replace(/'/g,"\\'");
ttl0=ttl0.replace(/"/g,'\\"');
var p=location.pathname.substr(0,location.pathname.lastIndexOf('/')+1);
if (pars['url']) {
if (location.protocol=='https:' &&
pars['url'].substr(0,4)!='http' &&
pars['url'].substr(0,11)!='javascript:'){
var h='';
if (pars['url'].substr(0,1)!='/')
h+=p;
}
else var h='';
var htm=''+ttl+''
li.innerHTML=htm;
}
else if (pars['scene'] && pars['window']) {
if (p.indexOf('scenes/')<0) p+='scenes/';
// 11/12/19: Use mousedown instead of click so touch works properly
// 12/12/19: No! Can't swipe screen up/down over menu.
// Change back to click
var el = document.createElement('a');
// el.href = p+pars['scene']+
// (pars['scene'].indexOf('?')>-1?'&':'?')+
// 'win='+pars['window'];
el.style.display="block";
el.style.cursor="pointer";
ax_addEvent(el,'click',(function(w,s,lev,ttl0) {
return function(ev) {
//console.log('MOUSEDOWN: '+w+'>'+s);
// if (lev>1)
ev.preventDefault(); // Prevents underlying clk
setActiveWinWWO_index_8(this,lev,ttl0);
windowView(w,s,'/1/',this);
return false;
}
})(pars['window'],pars['scene'],lev,ttl0),false);
li.appendChild(el);
el.innerHTML=ttl;
}
else {
var htm='
'+ttl+'
';
li.innerHTML=htm;
}
if (pars['buildonly']=='Y' && window.name != 'PG')
ul.removeChild(li);
// ul.appendChild(li);
if (menu) {
li.childMenu=doMenuWWO_index_8(lev+1,menu,li);
}
// 07/19/19: If touch, show 1 vert menu max (votersedge)
if (!('ontouchstart' in window)) {
ax_addEvent(li,'mouseover',function(ev) {
var el=ev.currentTarget;
if (el.childMenu) el.childMenu.style.display="block";
el.className=clsName+' '+clsName+'Hover';
},false);
// if (!('ontouchstart' in window)) { // 02/16/19: NO mobile
// Disables touch on vert menu
ax_addEvent(li,'mouseout',function(ev) {
var el=ev.currentTarget;
if (el.childMenu) el.childMenu.style.display="none";
if (el != objWWO_index_8.activeWin) el.className=clsName;
},false);
}
else if (lev==1) { // Touch - first level
var eventType=''; //pointerdown, touchstart, mousedown
ax_addEvent(li,'mousedown',function(ev) {
// ev.stopPropagation();
// ev.preventDefault();
navMenuIgnoreWWO_index_8=true;
if (eventType=='' || eventType==ev.type) {
eventType=ev.type;
var el=ev.currentTarget;
if (navMenuOpenWWO_index_8)
navMenuOpenWWO_index_8.style.display='none';
if (el.childMenu) {
var cel=el.childMenu;
if (cel.style.display=='none') {
cel.style.display="block";
el.className=clsName+' '+clsName+'Hover';
navMenuOpenWWO_index_8=cel;
//console.log('LI MOUSEDOWN: block');
}
else {
cel.style.display='none';
el.className=clsName;
navMenuOpenWWO_index_8='';
//console.log('LI MOUSEDOWN: none');
}
}
}
},false);
ax_addEvent(li,'mouseup',function(ev) {
navMenuIgnoreWWO_index_8=false;
},100,false);
};
if (lev==1 && sep && j'
sli.separator=true;
ul.appendChild(sli);
}
}
// Position all child menus
// kids=ul.getElementsByTagName('li');
for (j=0;j0 && bb>0 && bt>0) { // Collapse border
// 07/27/19: Apply to first element also (Plan B profile)
if (bb>0 && bt>0) { // Collapse border
li.style.marginTop=-bt+'px';
}
if (kids[j].childMenu) {
var menu=kids[j].childMenu;
if (lev==1) {
var marT=parseInt('0'+ax_getStyle(li,'paddingBottom'));
var marL=-parseInt('0'+ax_getStyle(li,'paddingLeft'));
}
else {
var pr=parseInt('0'+ax_getStyle(li,'paddingRight'));
var pb=parseInt('0'+ax_getStyle(li,'paddingBottom'));
var blr=parseInt('0'+ax_getStyle(li,'borderLeft'))+
parseInt('0'+ax_getStyle(li,'borderRight'));
var marL=li.offsetWidth-pr-blr-1;
var marT=-li.offsetHeight+pb+bb;
}
menu.style.marginLeft=(marL)+'px';
menu.style.marginTop=(marT)+'px';
menu.style.display='none';
}
}
return ul;
};
nav=typeof navNode_WWO_index_8=='object'?navNode_WWO_index_8:parent.navNode_WWO_index_8;
mn=nav.getElementsByTagName('objects')[0].getElementsByTagName('menu')[0];
doMenuWWO_index_8(1,mn,objWWO_index_8,'|');
}
// 10/05/17: Bump parent container's z-Index so vert nav works
var el=document.getElementById('WWO_index_8');
while (el.offsetParent) {
el=el.offsetParent;
el.style.zIndex=1000;
}
//})();
if ('ontouchstart' in window) { // 11/20/19: create event to close
ax_addEvent(document.body,'mousedown',function() {
if (navMenuOpenWWO_index_8 && !navMenuIgnoreWWO_index_8) {
navMenuOpenWWO_index_8.style.display='none';
navMenuOpenWWO_index_8='';
navMenuIgnoreWWO_index_8=false;
}
},200);
}
Protect your family with products designed to PAY YOU in case of a medical emergency, sickness or accident.
Protect your children with Whole Life insurance. Many offer guarantee returns on investment.
Protect your loved ones with Life Insurance to help pay for those un-expected moments in life...
Privacy Policy
sharonwp4schoolboard@gmail.com * 619-327-9519
P.O. Box 880286 San Diego, CA 92168-0286
Terms & Conditions
*