The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to remove the topbar

View previous topic View next topic 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

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.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.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.


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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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://img.photobucket.com/albums/v328/stardragon588/x.jpg" 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>

SarkZKalie
Forumember

Male Posts : 447
Reputation : 78
Language : English

http://rotavn.nstars.org/

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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.

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.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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