my site http://yourfreepicture.com using tentacle theme but when mouse over button "@" on submenu, it not show sys_menu(home, login, logout). Please tell me how to fix or how to insert sys_menu above or below sub_menu. I like this theme, please help me. Thanks
Did you edit template.html of this theme?
if yes then add these lines to themes/tentacle/template.html before </head> tag
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
If you have already those lines on your template.html then it should be old injection code issue by your host
http://yourfreepicture.com/themes/tentacle/template.html shows that the JavaScript section Sami has refered to is missing. Don't edit out stuff you don't understand. If you do, make sure everything is still working as expected. If it doesn't undo your edit.
can i edit source code to put sys_menu before or after sub_menu ? i don't want to use javascript like this theme, if can plz tell me how to do. Thanks very much
Sure, edit themes/yourtheme/template.html to re-locate the menus. Not related to your initial question. Please respect the "one question per thread" policy that you agreed to respect when signing up. Resolve your thread if the initial issue has been fixed by replying accordingly.