Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    I need to add another tab to a site that I didn't build, and is a js nightmare. I need to add a link for "Property and Casualty" under the "Solutions" tab, under "individual Benefits". I know I need to modify the iemenu.js, I just have no clue what the coding should be...can someone help me out?

    The site is: www.fallick.com (it's the owners last name lol)

    Here's the code *I think* is what needs to be added to..

    Alpha( 94Group001frmt008395px;\"808319$11 096%spacer0136210TEAM976%spacer 11!808319$11#0about.htm96%\" width=0136210976%\" width=11!2808319$11196%spacer0 136210APPROACH 976%spacer11!2808319$11#1app roach.htm96%\" width=0136210976%\" width=11!4808319$11296%spacer0 136210CONTACT976%spacer11!4808319 $11#2contact.htm96%\" width=0136210976%\" width=11!6808319$11396%spacer0 136210OUTREACH976%spacer11!6808319 $11#3outreach.htm96%\" width=0136210976%\" width=11>!Group00200154155 opacity:0.94 Alpha( 94Group002frmt00154155px;\"8015419$1 1496%spacer01313310PRODUCTS & SERVICES9147%spacer11!8015419$11 #4products-services.htm96%\" width=013133109147%\" width=11!28015419$11596%spacer0 1313310EMPLOYEE BENEFITS9147%spacer11!28015419$11 #5eb.htm96%\" width=013133109147%\" width=11!48015419$11696%spacer0 1313310HR CONSULTING9147%spacer11!48015419$11 #6hr-consulting.htm96%\" width=013133109147%\" width=11!68015419$11796%spacer0 1313310GROUP ADMINISTRATION 9147%spacer11!68015419$11#7g roup-admin.htm96%\" width=013133109147%\" width=11!88015419$11896%spacer0 1313310ONLINE SERVICES 9147%spacer11!88015419$11#8o nline-services.htm96%\" width=013133109147%\" width=11!108015419$11996%spacer 01313310401K SERVICES9147%spacer11!108015419$11 #9/fvasset/index.htm96%\" width=013133109147%\" width=11!128015419$111096%spacer 01313310INDIVIDUAL BENEFITS9147%spacer11!128015419$11 #10 OnClick=\"cFrame.execURL(\'https://www.ehealthinsurance.com/ehi...blank\&#39;);\"><img style=\"position:absolute;top:96%\" width=013133109147%\" width=11>!Group0030013895 opacity:0.94 Alpha( 94Group003frmt0013895px;\"8013819$11 1196%spacer01311710HSA & HRA CENTER9131%spacer11!8013819$11 #11hsa.htm96%\" width=013117109131%\" width=11!28013819$111296%spacer 01311710PAYROLL CENTER9131%spacer11!28013819$11 #12payroll.htm96%\" width=013117109131%\" width=11!48013819$111396%spacer 01311710COBRA9131%spacer11!480138 19$11#13cobra.htm96%\" width=013117109131%\" width=11!68013819$111496%spacer 01311710HEALTHCARE UPDATES9131%spacer11!68013819$11 #14healthcareupdates.htm96%\" width=013117109131%\" width=11>!>"),'%'+'%REL%%',rimPath));close();}E xpand('');SetUpEvents();

  2.  

  3. #2
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    I'm continuing to try, but I just can't get this coding to work. Anyone out there that can lend some assistance? Any help would be MUCH apprecaited! thanks...

  4. #3
    Senior Member Harmonic's Avatar
    Join Date
    Jan 2011
    Location
    Toronto
    Posts
    291
    Member #
    26468
    Liked
    23 times
    I tried to help you on the other thread, but this code is such a hectic mess to figure out. Can you post the full JS menu code like you did in the other thread?

  5. #4
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    Yeah, you're telling me! I can't thank you enough for the help on my last issue and your continued help with this mess! I'm no js guru, and even if I was, like you said this is just a mess.

    I didn't post the whole code because there is a 10K character max on the forum. I will post half on this thread and the balance on another or two, whatever it takes...

    THANKS in advance!

    var nTCode=[];var AnimStep=0;var AnimHnd=0;var NSDelay=0;var MenusReady=false;var smHnd=0;var mhdHnd=0;var lsc=null;var imgObj=null;var IsContext=false;var IsFrames=false;var dxFilter=null;var AnimSpeed=35;var TimerHideDelay=200;var smDelay=150;var rmDelay=15;var scDelay=0;var cntxMenu='';var DoFormsTweak=true;var mibc=0;var mibm;var mibs=50;var nsOWH;var mFrame;var cFrame=self;var om=[];var nOM=0;var mX;var mY;var BV=parseFloat(navigator.appVersion.indexOf("MSIE") >0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);var BN=navigator.appName;var nua=navigator.userAgent;var IsWin=(nua.indexOf('Win')!=-1);var IsMac=(nua.indexOf('Mac')!=-1);var KQ=(BN.indexOf('Konqueror')!=-1&&(BV>=5))||(nua.indexOf('Safari')!=-1);var OP=(nua.indexOf('Opera')!=-1&&BV>=4);var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP);var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP);var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM||KQ);if(nua.indexOf("Netscape/8.1")!=-1) document.open=new Function('');if(IE&&!SM&&(BV>5))try{document.execC ommand("BackgroundImageCache",false,true);}catch(x ){;};var IX=(IE&&IsWin&&!SM&&!OP&&(BV>=5.5)&&(dxFilter!=nul l)&&(nua.indexOf('CE')==-1));if(!frames.self){frames.self=window;frames.top =top;}var lmcHS=null;var tbNum=0;var fx=0;function GetCurCmd(e){var cc=e;while(cc.id==""){cc=cc.parentElement;if(cc==n ull) break;}return cc;}function HoverSel(mode,e){var mc;var lc;if(nOM==0) return false;ClearTimer("smHnd");if((om[1].pHS != lmcHS)&&om[1].pHS){if(lmcHS) hsHoverSel(1,0,1);lmcHS=om[1].pHS;SwapMC(mode,om[1].pHS);}if(mode==0){if(om[nOM].sc!=null) HoverSel(1);if(nOM>1) if(om[nOM-1].sc!=null){om[nOM-1].ssc=om[nOM-1].sc;SwapMC(1,om[nOM-1].sc);}mc=GetCurCmd(e);if(scDelay){if(!mc.onmouseou t) mc.onmouseout=new Function("if(nOM)om[nOM].hsm=window.setTimeout(\"HideSubMenus('"+mc.id+"') \",scDelay)");for(var i=1;i<=nOM;i++) ClearTimer("om["+i+"].hsm");}else HideSubMenus(mc.id);om[nOM].sc=mc;if(nOM>1) if(om[nOM-1].id != gpid(mc)) SwapMC(0,om[nOM-1].ssc);FixCursor(mc);}else{mc=(mode==1)?om[nOM].scm[nOM].op;om[nOM].sc=null;}SwapMC(mode,mc);return true;}function HideSubMenus(id){var mc=GetObj(id,mFrame);if(nOM>1){if(mc==om[nOM-1].sc) return false;while(true){if(!nOM) return false;if(gpid(mc)==om[nOM].id) break;Hide();}if(nOM&&scDelay) mc.onmouseover();}}function SwapMC(mode,mc){var id=mc.id.substr(1);var n1=GetObj((mode!=0?"O":"N")+id);n1.style.visibilit y="hidden";var n2=GetObj((mode==0?"O":"N")+id);n2.style.visibilit y="inherit";if(mode==0&&!n1.c){n1.c=true;n1=(BV<5? n1.all.tags("DIV"):n1.getElementsByTagName("DIV"))[0];if(n1) (BV<5?n2.all.tags("DIV"):n2.getElementsByTagName(" DIV"))[0].innerHTML=n1.innerHTML;}}function Hide(chk){var m;var cl=false;ClearTimer("mhdHnd");ClearTimer("AnimHnd" );if(chk)if(InMenu()) return false;if(nOM){m=om[nOM];if(m.sc!=null){if(IE) HoverSel(1);if(NS) NSHoverSel(1);}if(m.op!=null){if(IE) HoverSel(3);if(NS) NSHoverSel(3);}ToggleMenu(m,"hidden");ClearTimer(" om[nOM].hsm");nOM--;cl=(nOM==0);if(cl) imgObj=null;}if(cl||chk){ClearTimer("smHnd");if(tb Num&&lmcHS) if(!lmcHS.disable){if(IE) hsHoverSel(1);if(NS) hsNSHoverSel(1);}window.setTimeout("if(!lmcHS)wind ow.status=''",TimerHideDelay);}if((nOM>0||lmcHS)&& !InSelMenu()) mhdHnd=window.setTimeout("Hide(1)",TimerHideDelay/20);return true;}function ToggleMenu(m,s){if(IX) if(document.readyState=="complete"&&(m.getAttribut e("filters")!=null||BV>7)){if(!m.fs){m.fsn=m.filte rs.length;m.style.filter=dxFilter+m.style.filter;m .fs=true;}for(var i=0;i<m.filters.length-m.fsn;i++){m.filters.apply();m.style.visibility=s;m.filters.play();}}m.style.visibility=s;if(s=="hidden"&&!IX &&!NS) m.style.left=m.style.top="0px";FormsTweak(s=="visi ble"?"hidden":"visible");}function ShowMenu(mName,x,y,isc,hsimg,algn){if(!algn) algn=0;var f=["ShowMenu2('"+mName+"',"+x+","+y+","+isc+",'"+hsim g+"',"+algn+")"];ClearTimer("smHnd");if(isc){if(nOM==0) return false;lsc=om[nOM].sc;f[1]="if(nOM)if(lsc==om[nOM].sc)";f[2]=smDelay;}else{if(nOM>0) if(om[1].id==mName) return false;ClearTimer("mhdHnd");if(algn<0&&!lmcHS) return false;f[1]="HideAll(1);";f[2]=mDelay();}smHnd=window.setTimeout(f[1]+f[0],f[2]);return true;}function ShowMenu2(mName,x,y,isc,hsimg,algn){var xy;x=pri(x);y=pri(y);var Menu=GetObj(mName);if(!Menu) return false;if(Menu==om[nOM]) return false;if(NS) Menu.style=Menu;if(AnimHnd&&nOM>0){AnimStep=100;vo id(0);}FixPNG(Menu);Menu.op=nOM>0?om[nOM].sc:null;Menu.sc=null;imgObj=null;if(isc){if(!NS) HideSubMenus(om[nOM].sc.id);xy=GetSubMenuPos(Menu,algn);var gs=om[nOM].gs;if(gs) xy[1]+=pri(gs.top);}else{if(algn<0&&!lmcHS) return false;Menu.pHS=lmcHS;xy=(algn<0?GetHSPos(x,y,NS?Me nu.w:Menu.offsetWidth,NS?Menu.h:Menu.offsetHeight,-algn):[x,y]);if(hsimg){var hss=hsimg.split("|");imgObj=NS?FindImage(cFrame.do cument,hss[0]):cFrame.document.images[hss[0]];if(imgObj){if(hss[1]&2) xy[0]=AutoPos(Menu,imgObj,algn)[0]+(IsFrames?GetLeftTop()[0]:0)+MacOffset()[0];if(hss[1]&1) xy[1]=AutoPos(Menu,imgObj,algn)[1]+(IsFrames?GetLeftTop()[1]:0)+MacOffset()[1];}}}if(xy){x=xy[0];y=xy[1];}var pWH=[GetWidthHeight()[0]+GetLeftTop()[0],GetWidthHeight()[1]+GetLeftTop()[1]];if(IE) with(Menu.style){if(SM) display="none";left=FixPos(x,pri(width),pWH[0],0)+"px";top=FixPos(y,pri(height),pWH[1],1)+"px";}if(NS){Menu.moveToAbsolute(FixPos(x,Menu .w,pWH[0],0),FixPos(y,Menu.h,pWH[1],1));}Menu.style.zIndex=1000+tbNum+nOM;om[++nOM]=Menu;if(!NS) FixCommands(mName);if(SM) Menu.style.display="inline";if(!NS||(NS&&Menu.styl e.clip.width==0)){AnimStep=0;void(0);AnimHnd=windo w.setTimeout("void(0)",10);}ToggleMenu(Menu,'visib le');IsContext=false;smHnd=0;return true;}function mDelay(){return rmDelay/(nOM==0&&scDelay>0?4:1);}function MacOffset(f){var mo=[0,0];if(!f) f=mFrame;if(IsMac&&IE&&!SM&&!KQ&&(BV>=5)) mo=[pri(f.document.body.leftMargin),pri(f.document.bod y.topMargin)];return mo;}function aNaN(n){n=pri(n);return isNaN(n)?0:n;}function GetSubMenuPos(mg,a){var x;var y;var pg=om[nOM];var sc=(NS?pg.sc:GetObj("O"+pg.sc.id.substr(1)));if(NS ){pg.offsetLeft=pg.left;pg.offsetTop=pg.top;pg.off setWidth=pg.w;pg.offsetHeight=pg.h;mg.offsetWidth= mg.w;mg.offsetHeight=mg.h;sc.offsetLeft=sc.left;sc .offsetTop=sc.top;sc.offsetWidth=sc.clip.width;sc. offsetHeight=sc.clip.height;}var lp=pg.offsetLeft+sc.offsetLeft;var tp=pg.offsetTop+sc.offsetTop;switch(a){case 0:x=lp;y=tp+sc.offsetHeight;break;case 1:x=lp+sc.offsetWidth-mg.offsetWidth;y=tp+sc.offsetHeight;break;case 2:x=lp;y=tp-mg.offsetHeight;break;case 3:x=lp+sc.offsetWidth-mg.offsetWidth;y=tp-mg.offsetHeight;break;case 4:x=lp-mg.offsetWidth;y=tp;break;case 5:x=lp-mg.offsetWidth;y=tp+sc.offsetHeight-mg.offsetHeight;break;case 6:x=lp+sc.offsetWidth;y=tp;break;case 7:x=lp+sc.offsetWidth;y=tp+sc.offsetHeight-mg.offsetHeight;break;case 8:x=lp-mg.offsetWidth;y=tp+(sc.offsetHeight-mg.offsetHeight)/2;break;case 9:x=lp+sc.offsetWidth;y=tp+(sc.offsetHeight-mg.offsetHeight)/2;break;case 10:x=lp+(sc.offsetWidth-mg.offsetWidth)/2;y=tp-mg.offsetHeight;break;case 11:x=lp+(sc.offsetWidth-mg.offsetWidth)/2;y=tp+sc.offsetHeight;break;}return [x,y];}function FixCommands(mName,t){var b;var en=true

  6. #5
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    ;var m=GetObj(mName);var wh;if(!m.fixed){m.fixed=true;if(!t) t=0;if(IE&&(!SM||OP)) en=(document.compatMode=="CSS1Compat");if(en&&t>0& &(!SM||OP)){b=GetBorderSize(tbS[t]);tbS[t].width=Math.abs(aNaN(tbS[t].width)-b[0])+"px";tbS[t].height=Math.abs(aNaN(tbS[t].height)-b[1])+"px";}var sd=(BV<5?m.all.tags("DIV"):m.getElementsByTagName( "DIV"));for(var i=0;i<(sd.length);(t>0?i+=2:i++)){sd.noWrap=true;if(en) with(sd.style){b=GetBorderSize(sd.style);if(pri(width)&&pri(height)){width=pri(widt h)-b[0]+"px";height=pri(height)-b[1]+"px";}}}}}function InTBHotSpot(){var m=(imgObj?imgObj:lmcHS);var tp=[0,0];var tbb;if(!m) return false;if(imgObj) if(imgObj.name.indexOf("dmbHSdyna")!=-1){imgObj=null;return false;}var x=mX;var y=mY;if(!imgObj){if(IE){if(BV<5&&!IsMac) m.parentNode=m.parentElement;}else m.parentNode=m.parentLayer;var i=m.parentNode.id.substr(5);tp=getTBPos(i);if(IE) m=m.style;}else{m.left=GetImgXY(imgObj)[0];m.top=GetImgXY(imgObj)[1];if(NS) m.clip=m;}var l=pri(m.left)+tp[0];var r=l+(IE?pri(m.width):m.clip.width);var t=pri(m.top)+tp[1];var b=t+(IE?pri(m.height):m.clip.height);if(IsFrames&& !NS){x-=GetLeftTop()[0];y-=GetLeftTop()[1];}return ((x>=l&&x<=r)&&(y>=t&&y<=b));}function InMenu(){var m=om[nOM];if(!m) return false;else if(IE) m=m.style;var l=pri(m.left);var r=l+(IE?pri(m.width):m.clip.width);var t=pri(m.top);var b=t+(IE?pri(m.height):m.clip.height);return ((mX>=l&&mX<=r)&&(mY>=t&&mY<=b));}function SetPointerPos(e){if(IE){if(!SM){if(mFrame!=cFrame| |event==null){var cfe=cFrame.window.event;var mfe=mFrame.window.event;if(IE&&IsMac) cfe=(cfe.type=="mousemove"?cfe:null);if(IE&&IsMac) mfe=(mfe.type=="mousemove"?mfe:null);if(mfe==null& &cfe==null) return;e=(cfe?cfe:mfe);}else e=event;}mX=e.clientX+lt[0];mY=e.clientY+lt[1];ClearTimer("cFrame.iefwh");cFrame.iefwh=window.se tTimeout("lt=GetLeftTop()",100);}if(NS){mX=e.pageX ;mY=e.pageY;}}function InSelMenu(){var nOMb=nOM--;for(;nOM>0;nOM--) if(om[nOM].sc!=null) break;var im=InMenu();nOM=nOMb;return im||InMenu();}function IsOverMenus(){return (lmcHS||imgObj?InTBHotSpot()nOM==1?!(om[nOM].sc!=null):false))||(nOM>0?InSelMenu():false);}fun ction HideMenus(e){SetPointerPos(e);if(!IsOverMenus()&&m hdHnd==0) mhdHnd=window.setTimeout("mhdHnd=0;if(!IsOverMenus ())Hide()",TimerHideDelay);}function FormsTweak(state){var fe;if(IE&&(!SM||OP)&&DoFormsTweak){var m=om[nOM];if((BV>=5.5)&&!OP&&m&&!KQ) cIF(state=="visible"?"hidden":"visible");else if(nOM==1) for(var f=0;f<mFrame.document.forms.length;f++) for(var e=0;e<mFrame.document.forms[f].elements.length;e++){fe=mFrame.document.forms[f].elements[e];if(fe.type) if(fe.type.indexOf("select")==0) fe.style.visibility=state;}}}function cIF(state){var mfd=mFrame.document;if(mfd.readyState=="complete") {if((mfd.getElementsByTagName("SELECT").length==0) &&(mfd.getElementsByTagName("IFRAME").length==0 )) return;var m=om[nOM];var iname=m.id+"iframe";var i=GetObj(iname,mFrame);if(!i){i=mfd.createElement( "?");i.id=iname+"pobj";mfd.body.insertBefore(i);i= mfd.createElement("IFRAME");if(location.protocol== "https:") i.src="/ifo.htm";i.id=iname;i.style.position="absolute";i. style.filter="progidXImageTransform.Microsoft.Alpha(opacity=0)";mfd.ge tElementById(iname+"pobj").insertBefore(i);}with(i .style){m=m.style;left=m.left;top=m.top;width=m.wi dth;height=m.height;zIndex=m.zIndex-1;visibility=state;}}}function execURL(url,tframe){var d=100;if(mibc&&!NS){d+=mibs * mibc;if(lmcHS) mibm=lmcHS;if(nOM) for(var n=nOM;n>0;n--) if(om[n].sc){mibm=om[n].sc;break;}if(mibm){mibm.n=mibc;BlinkItem();}}else HideAll();execURL2(escape(_purl(url)),tframe);}fun ction BlinkItem(){if(!mibm) return;mibm.bs=!Math.abs(mibm.bs);SwapMC(mibm.bs,m ibm);mibc--;if(mibc>=0) window.setTimeout("BlinkItem()",mibs);else{mibc=mi bm.n;mibm=null;HideAll();}}function execURL2(url,tframe){var w=eval("windo"+"w.ope"+"n");url=rStr(unescape(url) );if(url.indexOf("javascript:")!=url.indexOf("vbsc ript:")) eval(url);else{switch(tframe){case "_self":if(IE&&!SM&&!KQ&&(BV>4)){var a=mFrame.document.createElement("A");a.href=url;mF rame.document.body.appendChild(a);a.click();}else mFrame.location.href=url;break;case "_blank":w(url,tframe);break;default:var f=rStr(tframe);var fObj=(tframe=='_parent'?mFrame.parent:eval(f));if( typeof(fObj)=="undefined") w(url,f.substr(8,f.length-10));else fObj.location.href=url;break;}}}function rStr(s){s=xrep(s,"%1E","'");s=xrep(s,"\x1E","'");i f(OP&&s.indexOf("frames[")!=-1) s=xrep(s,String.fromCharCode(s.charCodeAt(7)),"'") ;return xrep(s,"\x1D","\x22");}function HideAll(dr){var o=lmcHS;if(dr) lmcHS=null;Hide();while(nOM>0) Hide();lmcHS=o;}function tHideAll(){ClearTimer("mhdHnd");mhdHnd=window.setT imeout("mhdHnd=0;if(!InSelMenu())HideAll();",Timer HideDelay);}function GetLeftTop(f){if(!f) f=mFrame;if(IE) if(SM) return [OP?f.pageXOffset:f.scrollX,OP?f.pageYOffset:f.scro llY];else{var b=GetBodyObj(f);return (b?[b.scrollLeft,b.scrollTop]:[0,0]);}if(NS) return [f.pageXOffset,f.pageYOffset];}function GetWidthHeight(f){if(!f) f=mFrame;if(NS||SM){return [SM?Math.min(Math.min(f.innerWidth,document.body.cl ientWidth),document.documentElement.clientWidth):f .innerWidth,f.innerHeight];}else{var b=GetBodyObj(f);return (b?[b.clientWidth,b.clientHeight]:[0,0]);}}function GetBodyObj(f){if(!f.bo) f.bo=(f.document.compatMode=="BackCompat"||BV<6||I sMac)?f.document.body:f.document.documentElement;r eturn f.bo;}function GetBorderSize(s){return [(s.borderLeftStyle==""||s.borderLeftStyle=="none"? 0ri(s.borderLeftWidth))+(s.borderRightStyle==""||s. borderRightStyle=="none"?0ri(s.borderRightWidth)),(s.borderTopStyle==""||s.b orderTopStyle=="none"?0ri(s.borderTopWidth))+(s.borderBottomStyle==""||s. borderBottomStyle=="none"?0ri(s.borderBottomWidth))];}function AutoPos(m,img,arl){var x=GetImgXY(img)[0];var y=GetImgXY(img)[1];var iWH=GetImgWH(img);var mW=(NS?m.w:m.offsetWidth);var mH=(NS?m.h:m.offsetHeight);switch(arl){case 0:y+=iWH[1];break;case 1:x+=iWH[0]-mW;y+=iWH[1];break;case 2:y-=mH;break;case 3:x+=iWH[0]-mW;y-=mH;break;case 4:x-=mW;break;case 5:x-=mW;y-=mH-iWH[1];break;case 6:x+=iWH[0];break;case 7:x+=iWH[0];y-=mH-iWH[1];break;case 8:x-=mW;y+=(iWH[1]-mH)/2;break;case 9:x+=iWH[0];y+=(iWH[1]-mH)/2;break;case 10:x+=(iWH[0]-mW)/2;y-=mH;break;case 11:x+=(iWH[0]-mW)/2;y+=iWH[1];break;}return [x,y];}function GetImgXY(img){var x;var y;if(NS){y=GetImgOffset(cFrame,img.name,0,0);x=img .x+y[0];y=img.y+y[1];}else{y=getOffset(img);x=y[0];y=y[1];}return [x,y];}function GetImgWH(img){return [pri(img.width),pri(img.height)];}function getOffset(img){var xy=[img.offsetLeft,img.offsetTop];var ce=img.offsetParent;while(ce!=null){xy[0]+=ce.offsetLeft;xy[1]+=ce.offsetTop;ce=ce.offsetParent;}return xy;}function ShowContextMenu(e){if(IE){SetPointerPos(e);IsConte xt=true;}else if(e.which==3){IsContext=true;mX=e.x;mY=e.y;}if(Is Context){HideAll();cFrame.ShowMenu2(cntxMenu,mX-1,mY-1,false);return false;}return true;}function SetUpEvents(){nOM=0;if(!SM) onerror=errHandler;if(!mFrame) mFrame=cFrame;if(typeof(mFrame)=="undefined"||(NS& &(++NSDelay<2))) window.setTimeout(

  7. #6
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    "SetUpEvents()",10);else{IsFrames=(cFrame!=mFrame) ;if(NS){mFrame.captureEvents(Event.MOUSEMOVE);mFra me.onmousemove=HideMenus;if(cntxMenu!=""){mFrame.w indow.captureEvents(Event.MOUSEDOWN);mFrame.window .onmousedown=ShowContextMenu;}nsOWH=GetWidthHeight ();window.onresize=rHnd;PrepareEvents();}if(IE){do cument.onmousemove=HideMenus;mFrame.document.onmou semove=document.onmousemove;if(cntxMenu) mFrame.document.oncontextmenu=ShowContextMenu;if(I sFrames) mFrame.window.onunload=new Function("mFrame=null;SetUpEvents()");cFrame.lt=[0,0];if(tbNum==0) window.onscroll=GetLeftTop;}MenusReady=true;}retur n true;}function errHandler(sMsg,sUrl,sLine){if(sMsg.substr(0,16)!= "Access is denied"&&sMsg!="Permission denied"&&sMsg.indexOf("cursor")==-1&&sMsg.substr(0,16)!="Member not found") alert("Java Script Error\n"+ "\nDescription:"+sMsg+ "\nSource:"+sUrl+ "\nLine:"+sLine);return true;}function FixPos(v,s,r,k){var n;if(nOM==0||k==1) n=(v+s>r)?r-s:v;else n=(v+s>r)?pri(om[nOM].style.left)-s:v;return (n<0)?0:n;}function ClearTimer(t,f){if(!f) cFrame.f=cFrame;if(eval(t)) eval("cFrame.f.clearTimeout("+t+");"+t+"=0");}func tion xrep(s,f,n){if(s) s=s.split(f).join(n);return s;}function FixPNG(d){if(IE&&!SM&&(BV<7)&&(!d.fixPNG)){var img;var sd=d.getElementsByTagName("DIV");for(var i=0;i<sd.length;i++) if(sd.style.backgroundImage){img=sd.style.backgroundImage;img=img.substr(4,img.length-5);if(img.toLowerCase().indexOf(".png")!=-1){sd.style.filter="progidXImageTransform.Microsoft.AlphaImageLoader(src='"+ img+"',sizingMethod='scale')";sd.style.backgroundImage="";}}d.fixPNG=true;}}functi on FixCursor(mc){if(!OP){var os=GetObj("O"+mc.id.substr(1)).style;var s=os.cursor;if(s=="") os.cursor=(BV<6?"hand":s.split("cursor:url(")[1].split(")")[0]);}}function GetObj(oName,f,sf,r){var obj=null;if(!f) if(IsFrames&&tbNum){if(!sf) sf=window.parent;for(var i=0;i<sf.frames.length;i++){f=sf.frames;if(!(obj=GetObj(oName,f))&&f.length) if(obj=GetObj(oName,null,f,true)){f=obj[1];obj=obj[0];}if(obj) break;}if(obj){f.cFrame=cFrame;if(tbNum>0){if(NS) f.hsNSHoverSel=hsNSHoverSel;else f.hsHoverSel=hsHoverSel;}f.execURL=execURL;}}else f=mFrame;if(NS) obj=f.document.layers[oName];else{obj=(BV>=5?f.document.getElementById(oName): f.document.all[oName]);if(obj) if(obj.id!=oName) obj=null;}return r?[obj,f]bj;}function gpid(o){return (BV>=5?o.parentNode.parentNode.id.parentElement.parentElement.id);}if(IE) with(document){open();write(xrep(Expand("<div id=\"Group001008395 opacity:0.94 Alpha( 94Group001frmt008395px;\"808319$11 096%spacer0136210TEAM976%spacer 11!808319$11#0about.htm96%\" width=0136210976%\" width=11!2808319$11196%spacer0 136210APPROACH 976%spacer11!2808319$11#1app roach.htm96%\" width=0136210976%\" width=11!4808319$11296%spacer0 136210CONTACT976%spacer11!4808319 $11#2contact.htm96%\" width=0136210976%\" width=11!6808319$11396%spacer0 136210OUTREACH976%spacer11!6808319 $11#3outreach.htm96%\" width=0136210976%\" width=11>!Group00200154155 opacity:0.94 Alpha( 94Group002frmt00154155px;\"8015419$1 1496%spacer01313310PRODUCTS & SERVICES9147%spacer11!8015419$11 #4products-services.htm96%\" width=013133109147%\" width=11!28015419$11596%spacer0 1313310EMPLOYEE BENEFITS9147%spacer11!28015419$11 #5eb.htm96%\" width=013133109147%\" width=11!48015419$11696%spacer0 1313310HR CONSULTING9147%spacer11!48015419$11 #6hr-consulting.htm96%\" width=013133109147%\" width=11!68015419$11796%spacer0 1313310GROUP ADMINISTRATION 9147%spacer11!68015419$11#7g roup-admin.htm96%\" width=013133109147%\" width=11!88015419$11896%spacer0 1313310ONLINE SERVICES 9147%spacer11!88015419$11#8o nline-services.htm96%\" width=013133109147%\" width=11!108015419$11996%spacer 01313310401K SERVICES9147%spacer11!108015419$11 #9/fvasset/index.htm96%\" width=013133109147%\" width=11!128015419$111096%spacer 01313310INDIVIDUAL BENEFITS9147%spacer11!128015419$11 #10 OnClick=\"cFrame.execURL(\'https://www.ehealthinsurance.com/ehi...blank\&#39;);\"><img style=\"position:absolute;top:96%\" width=013133109147%\" width=11>!Group0030013895 opacity:0.94 Alpha( 94Group003frmt0013895px;\"8013819$11 1196%spacer01311710HSA & HRA CENTER9131%spacer11!8013819$11 #11hsa.htm96%\" width=013117109131%\" width=11!28013819$111296%spacer 01311710PAYROLL CENTER9131%spacer11!28013819$11 #12payroll.htm96%\" width=013117109131%\" width=11!48013819$111396%spacer 01311710COBRA9131%spacer11!480138 19$11#13cobra.htm96%\" width=013117109131%\" width=11!68013819$111496%spacer 01311710HEALTHCARE UPDATES9131%spacer11!68013819$11 #14healthcareupdates.htm96%\" width=013117109131%\" width=11>!>"),'%'+'%REL%%',rimPath));close();}E xpand('');SetUpEvents();

  8. #7
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    function Expand(c){var x;x="#FFFFFF";c=xrep(c,"",x);x="#FF9900";c=xrep(c ,"",x);x="#CC6600";c=xrep(c,"",x);x="\" style=\"position:absolute;top:";c=xrep(c,"",x);x= "px;left:";c=xrep(c,"",x);x="px;width:";c=xrep(c, "",x);x="px;height:";c=xrep(c,"",x);x="px;visibi lity:hidden;";c=xrep(c," ",x);x="progidXImageTransform.Microsoft.";c=xrep(c," ",x);x="opa city=";c=xrep(c," ",x);x=")\"><div id=\"";c=xrep(c,"",x);x=";background-color:";c=xrep(c,"",x);x="px;white-space:nowrap;font-family:";c=xrep(c,"",x);x=";font-size:";c=xrep(c,"",x);x="px;font-weight:normal;font-style:normal;text-decoration:none;color:";c=xrep(c,"",x);x=";\" id=N";c=xrep(c,"",x);x=" OnMouseOver=\"cFrame.HoverSel(0,this);\"><img style=\"position:absolute;top:";c=xrep(c,"",x);x= "px;\" src=\"";c=xrep(c,"",x);x=".gif\" width=";c=xrep(c,"",x);x=" height=";c=xrep(c,"",x);x="><div style=\"position:absolute;top:";c=xrep(c,"",x);x= "px;\" align=left>";c=xrep(c,"",x);x=";cursor:default;vi sibility:hidden;\"";c=xrep(c,"",x);x="</div></div";c=xrep(c,"",x);x=" OnClick=\"cFrame.execURL(\'%%REP%%";c=xrep(c,"",x );x="\',\'_self\');\"><img style=\"position:absolute;top:";c=xrep(c,"",x);x ="><div id=\"";c=xrep(c,"",x);x="</div><img style=\"position:absolute;top:";c=xrep(c,"",x);x =";filter:";c=xrep(c," ",x);x="></div";c=xrep(c,"!",x);x=" id=O";c=xrep(c,"#",x);x="Tahoma";c=xrep(c,"$",x) ;x="%%REL%%";c=xrep(c,"%",x);return c;}function pri(n){return parseInt(n,10)}


    Ok, there it all is, in all it's glorious mess!

    Let me know if there is anything else you need, or any other way I can assist you - thank you!
    -Dre

  9. #8
    Senior Member Harmonic's Avatar
    Join Date
    Jan 2011
    Location
    Toronto
    Posts
    291
    Member #
    26468
    Liked
    23 times
    damn the headache.

    First find this code:
    Code:
    OnClick=\"cFrame.execURL(\'https://www.ehealthinsurance.com/ehi/Alliance?allid=Fal27408\',\'_blank\');\"><img style=\"position:absolute;top:96%\" width=013133109147%\" width=11>
    Add add
    Code:
    %spacer01311710Property and Casualty9131%spacer11!8013819$11#11prop_cas.htm96%\" width=013117109131%\
    to the end.

    This will link to a page called prop_cas.html that you will need to create and link to.

    Going to be honest. Doubt this will work though. Hopefully it will give you something to work with though. Good luck

  10. #9
    Member
    Join Date
    Nov 2010
    Posts
    30
    Member #
    25042
    Sorry for the delayed response! I tried that and as you expected it doesn't work. Thanks for your help! - I am still looking for some more solutions.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:16 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com