Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

wrtoll
Ecommerce Template Expert

USA
764 Posts

Pre-sales questions only
(More Details...)

Posted - 11/18/2021 :  12:08:45  
Hello
I am using Dreamviewer CS6
I am using the Premium Generic version
When I open the default.asp Design view I see all this code like the a command is not closed
Is this normal?
It even does this with the original default.asp
Warren

Product Categories


/* <![CDATA[ */
<% if menuid=0 then response.write "var curmen=[];var lastmen=[];var em=[];var emt=[];"
writemenuscripts()
response.write "em["&menuid&"]={"&left(arrayem,len(arrayem)-1)&"};emt["&menuid&"]=[];curmen["&menuid&"]=0;"&vbCrLf
response.write "addsubsclass("&menuid&",0,'"&menustyle&"')"&vbCrLf
response.write "/* ]]> */" end if displayectmenu="" end function function writemenuscripts() if menustyle<>"verticalmenu2" AND popmenuscripts="" then popmenuscripts=TRUE %> function closepopdelay(menid){ var re=new RegExp('ect\\d+_'); var theid=menid.replace(re,''); var mennum=menid.replace('ect','').replace(/_\d+/,''); for(var ei in emt[mennum]){ if(ei!=0&&emt[mennum][ei]==true&&!insubmenu(ei,mennum)){ document.getElementById('ecttop'+mennum+"_"+ei).style.display='none'; emt[mennum][ei]=false; // closed } } } function closepop(men){ var mennum=men.id.replace('ect','').replace(/_\d+/,''); lastmen[mennum]=curmen[mennum]; curmen[mennum]=0; setTimeout("closepopdelay('"+men.id+"')",1000); } function getPos(el){ for (var lx=0,ly=0; el!=null; lx+=el.offsetLeft,ly+=el.offsetTop, el=el.offsetParent){ }; return{x:lx,y:ly}; } function openpop(men,ispopout){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); curmen[mennum]=theid; if(lastmen[mennum]!=0) closepopdelay('ect'+mennum+'_'+lastmen[mennum]); if(mentop=document.getElementById('ecttop'+mennum+'_'+theid)){ var px=getPos(men); if(em[mennum][theid]==0&&!ispopout){ mentop.style.left=px.x+'px'; mentop.style.top=(px.y+men.offsetHeight-1)+'px'; mentop.style.display=''; }else{ mentop.style.left=(px.x+men.offsetWidth-1)+'px'; mentop.style.top=px.y+'px'; mentop.style.display=''; } emt[mennum][theid]=true; // open } } function closecascade(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); curmen[mennum]=0; for(var ei in emt[mennum]){ if(ei!=0&&emt[mennum][ei]==true&&!insubmenu(ei,mennum)){ for(var ei2 in em[mennum]){ if(em[mennum][ei2]==ei){ document.getElementById('ect'+mennum+"_"+ei2).style.display='none'; } } } } emt[mennum][theid]=false; // closed return(false); } function opencascade(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); if(emt[mennum][theid]==true) return(closecascade(men)); curmen[mennum]=theid; for(var ei in em[mennum]){ if(em[mennum][ei]==theid){ document.getElementById('ect'+mennum+'_'+ei).style.display='block'; emt[mennum][theid]=true; // open } } return(false); } function ectChCk(men){ return(hassubs(men)?opencascade(men):true) } function hassubs(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); for(var ei in em[mennum]){ if(em[mennum][ei]==theid) return(true); } return(false); } function insubmenu(mei,mid){ if(curmen[mid]==0)return(false); curm=curmen[mid]; maxloops=0; while(curm!=0){ if(mei==curm)return(true); curm=em[mid][curm]; if(maxloops++>10) break; } return(false); } function addsubsclass(mennum,menid,menutype){ for(var ei in em[mennum]){ men=document.getElementById('ect'+mennum+'_'+ei); if(menutype=='verticalmenu2') men.onclick=function(){return(ectChCk(this))}; else{ men.onmouseover=function(){openpop(this,menutype=='verticalmenu3'?true:false)}; men.onmouseout=function(){closepop(this)}; } if(hassubs(men)){ if(men.className.indexOf('ectmenuhassub')==-1)men.className+=' ectmenuhassub'+(mennum+1); } } }

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 11/19/2021 :  07:48:33  
Hi Warren,
Within DW go to edit >preferences > invisible elements and uncheck the checkbox for 'show contents of included file'




*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 11/19/2021 07:49:00

wrtoll
Ecommerce Template Expert

USA
764 Posts

Pre-sales questions only
(More Details...)

Posted - 11/19/2021 :  10:18:40  
Thank you so much ,that worked
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000