How to remove the topbar

Go down

Solved How to remove the topbar

Post by tonetone on January 24th 2015, 8:13 pm

Technical Details

Forum version : phpBB3
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : http://yeucotuong.123.st

Description of problem



Please help to remove the topbar in the Index.

Thank you,
tonetone


Last edited by tonetone on January 26th 2015, 2:38 am; edited 1 time in total
avatar
tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to remove the topbar

Post by SLGray on January 24th 2015, 10:44 pm

Administration Panel - Modules - Toolbar


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43077
Reputation : 3048
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to remove the topbar

Post by tonetone on January 25th 2015, 3:36 am

@SLGray wrote:Administration Panel - Modules - Toolbar
Already disable the toolbar but the top left still exist, I need keep the horizontal bar, just remove the top left in the red mark.

avatar
tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to remove the topbar

Post by _Twisted_Mods_ on January 25th 2015, 9:32 am

the forum url you gave us is not the same one in the images so its herd to help when we cant see the issue first hand
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: How to remove the topbar

Post by SarkZKalie on January 25th 2015, 4:09 pm

@_Twisted_Mods_ It's a portal, so you can try this link http://yeucotuong.123.st/forum
@tonetone search and remove some code in overall_header or overall_footer. I don't know 
CSS
Code:
<style type="text/css">
#topbar{
position:absolute;
border: 1px solid black;
padding: 2px;
background-color: black;
width: 87px;
visibility: hidden;
z-index: 100;
}
</style>
Javascript
Code:
<script type="text/javascript">

/***********************************************
* Floating Top Bar script- © Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document·cookie.length > 0) {
offset = document·cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document·cookie.indexOf(";", offset);
if (end == -1) end = document·cookie.length;
returnvalue=unescape(document·cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document·cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
   barheight=document.getElementById("topbar").offsetHeight
   var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
   var d = document;
   function ml(id){
      var el=d.getElementById(id);
      if (!persistclose || persistclose && get_cookie("remainclosed")=="")
      el.style.visibility="visible"
      if(d.layers)el.style=el;
      el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
      el.x = startX;
      if (verticalpos=="fromtop")
      el.y = startY;
      else{
      el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
      el.y -= startY;
      }
      return el;
   }
   window.stayTopLeft=function(){
      if (verticalpos=="fromtop"){
      var pY = ns ? pageYOffset : iecompattest().scrollTop;
      ftlObj.y += (pY + startY - ftlObj.y)/8;
      }
      else{
      var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
      ftlObj.y += (pY - startY - ftlObj.y)/8;
      }
      ftlObj.sP(ftlObj.x, ftlObj.y);
      setTimeout("stayTopLeft()", 10);
   }
   ftlObj = ml("topbar");
   stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
And HTML
Code:
<div id="topbar" style="visibility: visible; left: 30px; top: 305px;">
<a href="" onclick="closebar(); return false"><img src="http://illiweb.com/fa/pbucket.gif" border="0"></a>
<font color="white"><table border="1"><tbody><tr></tr><tr><th rowspan="2">Home <hr> Portal <hr>Members <hr> Groups</th><th colspan="2">Navigation Bar</th></tr><tr><td>Text Here</td><td>Other Text</td></tr></tbody></table></font>
</div>
avatar
SarkZKalie
Forumember

Male Posts : 735
Reputation : 110
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: How to remove the topbar

Post by _Twisted_Mods_ on January 25th 2015, 9:04 pm

on my screen your fm toolbar is still turned on .. and if you mean the black box i dont see it at all
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: How to remove the topbar

Post by tonetone on January 26th 2015, 2:36 am

@_Twisted_Mods_ wrote:on my screen your fm toolbar is still turned on .. and if you mean the black box i dont see it at all
yes, i talk about the black box.

@sarkzkalie01: thank you, i used almost the default template.
@_Twisted_Mods_: now my forum is Ok but I don't know why. Maybe have something wrong when i change many skin in a short time.

Topic lock.
avatar
tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to remove the topbar

Post by SLGray on January 26th 2015, 3:37 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43077
Reputation : 3048
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum