Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 15 users online :: 0 Registered, 0 Hidden and 15 Guests :: 1 Bot
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
how can I delete widget's and navigation's boutton
Page 1 of 1 • Share
Hi @sohab,
Go to Admin Panel > Modules > JavaScript codes management > [FA EDGE] ALL.JS
If you do not want to edit the code, please paste it here using the code tags.
Otherwise, find and remove this :
Then find and remove this :
Once you've removed these two plugins, save the script and those two buttons should be removed.
Go to Admin Panel > Modules > JavaScript codes management > [FA EDGE] ALL.JS
If you do not want to edit the code, please paste it here using the code tags.
Otherwise, find and remove this :
- Code:
/* -- 00. fa_initForumModules -- */
// initiate the toggler for the widget columns
function fa_initForumModules(column_id) {
var column = document.getElementById(column_id), menu;
if (column) {
column.insertAdjacentHTML('afterbegin', '<div class="title module_column_title">Widget Menu</div>');
menu = document.createElement('A');
menu.href = '#';
menu.title = 'Toggle widget menu';
menu.className = 'widget_menu column_button_' + column_id + ' color-secondary';
menu.onclick = function() {
var column = document.getElementById(/left/.test(this.className) ? 'left' : 'right');
$([this, column])[/active/.test(this.className) ? 'removeClass' : 'addClass']('active');
return false;
};
document.body.appendChild(menu);
}
};
// give active panels a very high z-index so they display above other panels and buttons
// forumotion replaces any z-index above 1000 w/999 in the stylesheet, so this must be applied via JS
document.write('<style type="text/css">'+
'.module_column, .widget_menu { z-index:30000; }'+
'.module_column.active, .widget_menu.active { z-index:99999; }'+
'</style>');
Then find and remove this :
- Code:
/* -- 05. fae_sticky_nav_panel -- */
// adds a sticky navigation for quick use when the navbar isn't visible
$(function() {
window.fae_sticky = {
// various user options
navbar : 'navbar',
position : 'left',
title : 'Quick Navigation',
tooltip : 'Toggle quick navigation',
additionalHTML : '<div class="nav-actions"><a href="javascript:fae_sticky.copyURL();" title="Copy BBCode URL"><i class="fa fa-link"></i></a>' + ( _userdata.user_level == 1 ? '<a href="/admin" title="Admin Panel"><i class="fa fa-wrench"></i></a>' : '' ) + '<a href="#top" title="Top of page"><i class="fa fa-chevron-up"></i></a><a href="#bottom" title="Bottom of page"><i class="fa fa-chevron-down"></i></a></div>',
alwaysVisible : false,
// copy page URL as bbcode
copyURL : function() {
window.prompt('Copy the BBCode URL below. (CTRL+C)', '[url=' + window.location + ']' + document.title + '[/url]');
},
// listen for changes in the navbar's bottom rect
scroll : function() {
var rect = fae_sticky.navbar.getBoundingClientRect(),
position = fae_sticky.node[0].style[fae_sticky.position];
if (rect.bottom <= fae_sticky.offset[fae_sticky.tb_state] && position == '-30px') {
fae_sticky.node[0].style[fae_sticky.position] = '';
} else if (rect.bottom > fae_sticky.offset[fae_sticky.tb_state] && position != '-30px') {
fae_sticky.node[0].style[fae_sticky.position] = '-30px';
$(fae_sticky.node).removeClass('active');
}
},
// offsets for when the toolbar is hidden / shown
offset : {
fa_hide : 0,
fa_show : 30
}
};
// nodes used in the module
fae_sticky.node = [
// button
$('<a class="widget_menu column_button_' + fae_sticky.position + ' color-secondary" />').attr({
href : '#',
id : 'fa_sticky_nav_button',
style : fae_sticky.position + ':-30px;',
title : fae_sticky.tooltip
}).click(function() {
$(fae_sticky.node)[/active/.test(this.className) ? 'removeClass' : 'addClass']('active');
return false;
})[0],
// panel
$('<div id="fae_sticky_nav_panel" class="module_column column_' + fae_sticky.position + ' color-secondary" />')
.html('<div class="title module_column_title">' + fae_sticky.title + '</div><div class="module_inner"></div>')[0]
];
fae_sticky.navbar = document.getElementById(fae_sticky.navbar); // get the old navbar
// then clone its contents and add it to the sticky panel
$('.module_inner', fae_sticky.node[1]).append($('a.mainmenu', fae_sticky.navbar).clone()).append(fae_sticky.additionalHTML);
$(document.body).append(fae_sticky.node);
if (!fae_sticky.alwaysVisible) {
fae_sticky.tb_state = my_getcookie('toolbar_state') || (_userdata.activate_toolbar ? 'fa_show' : 'fa_hide');
fae_sticky.scroll();
$(window).scroll(fae_sticky.scroll);
$(function() {
$('#fa_hide, #fa_show').click(function() {
fae_sticky.tb_state = this.id;
});
});
} else {
fae_sticky.node[0].style.left = '';
}
});
Once you've removed these two plugins, save the script and those two buttons should be removed.
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum