Awesome.bb Navigation bar

Go down

Awesome.bb Navigation bar Empty Awesome.bb Navigation bar

Post by Aizen the Virtuoso on September 9th 2019, 1:59 pm

Is there a way to add more buttons in awesome.bb navigation bar?

I found no way trough administration panel (headers and navigation option is disabled)

Thanks in advance.
Aizen the Virtuoso
Aizen the Virtuoso
New Member

Posts : 14
Reputation : 2
Language : english

http://narutoninjaway.forumotion.me/

Back to top Go down

Awesome.bb Navigation bar Empty Re: Awesome.bb Navigation bar

Post by SLGray on September 9th 2019, 7:24 pm

Are those additions to external sites?  If yes, you can add them to the footer links at the bottom.


Awesome.bb Navigation bar Slgray10

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

Male Posts : 46310
Reputation : 3257
Language : English
Location : United States

https://help.forumotion.com/

Back to top Go down

Awesome.bb Navigation bar Empty Re: Awesome.bb Navigation bar

Post by Occultist on September 9th 2019, 8:12 pm

For probably nonexistent reasons, the navbar is inserted through javascript. To add a new link, you would need a code like this one:
Code:
var name="Link to x";
var url="google.com";
;function l(e,ev,c){e.addEventListener(ev,function(f){c(f)})};
var d=document;
;function q(e){
return d.querySelector(e);
}
;l(d, "DOMContentLoaded", function(){
var m=q("#main-menu>ul");
var e=d.createElement("li");
e.innerHTML='<a href="'+url+'"><span>"'+name+'"</span></a>';
m[1].appendChild(e);
});
The first line is the text of the link and the second line is the link itself.

This whole code would have been one or 2 lines of html if the navbar was added in the templates. Crying or Very sad

Edit:Let me know if you need to add more than one link and I will edit the code for that Wink
Occultist
Occultist
Forumember

Posts : 124
Reputation : 33
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

Awesome.bb Navigation bar Empty Re: Awesome.bb Navigation bar

Post by Aizen the Virtuoso on September 9th 2019, 8:23 pm

Thanks you very much Occultist and also Gray for response.
Aizen the Virtuoso
Aizen the Virtuoso
New Member

Posts : 14
Reputation : 2
Language : english

http://narutoninjaway.forumotion.me/

Back to top Go down

Awesome.bb Navigation bar Empty Re: Awesome.bb Navigation bar

Post by APE on September 10th 2019, 12:59 am

Is this now solved @Aizen the Virtuoso


Awesome.bb Navigation bar Left1212Awesome.bb Navigation bar Center11Awesome.bb Navigation bar Right112
Awesome.bb Navigation bar Ape_b110
Awesome.bb Navigation bar Ape1010
APE
APE
Administrator
Administrator

Male Posts : 14673
Reputation : 1599
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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