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.

Toolbar custom links and `See all the notifications`box color

View previous topic View next topic Go down

Solved Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 11th 2013, 2:26 pm

Is it possible to put custom links in the toolbar?

And how do I change the background color of 'See all the notifications' box?


JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by Sanket on February 11th 2013, 2:52 pm

I don't believe you can add anything via the admin panel. Maybe, via javascript.

Add this to your css & check for the background color.
Code:
div#fa_toolbar.fa_fix div#fa_right.fa_tbMainElement ul#notif_list li.see_all {
    background-color: #ff0000 !important;
}

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 11th 2013, 11:23 pm

^
Thanks! It works!

I hope someone can help me about my first question.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 11th 2013, 11:28 pm

Rideem3 wrote:Custom links where?

On the toolbar. Very Happy

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 12:30 am

^
Beside the "Welcome" text. Another dropdown box where when they clicked it, all of my forums are in there. Like a shortcut.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 2:12 am

^
I tried to change the "Forums" text but then, the dropdown list stopped working.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 2:14 am

^
Code:
(function() {
  window.fmtabs = {
      add: function (name) {
        if (document.getElementById('logout')) $('#fa_menu').before('<div class="toolbar_name">' + name + '</div>');
      },
      list: function (name, html) {
        if (document.getElementById('logout')) {
            $('#fa_menu').before('<div id="toolbar_list_name_' + name + '" class="toolbar_list_name">' + name + '</div><div id="toolbar_list_' + name + '" class="toolbar_list">' + html + '</div>');
            $('#toolbar_list_name_' + name).click(function() {
              if (this.className == "toolbar_list_name") this.className += " active";
              else this.className = "toolbar_list_name";
              this.nextSibling.style.left = this.offsetLeft + 'px';
              this.nextSibling.style.top = this.offsetHeight + 'px';
              $(this.nextSibling).slideToggle();
            });
        }
      }
  };
})();
$(window).load(function() {
    fmtabs.list('Forum Shortcuts', '<a href="/f1-">Announcements and Updates</a><br /><a href="/f2-">Forum 2</a>');
});

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 2:20 am

^
This one?
Code:
$(window).load(function() {
    fmtabs.list('Forums', '<a href="/f1-">Forum 1</a><br /><a href="/f2-">Forum 2</a>');
});

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 2:22 am

Thanks!

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar custom links and `See all the notifications`box color

Post by JAN2XONLINE on February 12th 2013, 2:27 am

Yes. Very Happy

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.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