Coding-Spot

You are not connected. Please login or register

 
 

Toobar Fade effects when clicking "Welcome ***"

Message (Page 1 of 1)


 
Advance Member

Posted on Mon Apr 29, 2013 1:34 pm

 
Is it possible to do that??
Toobar Fade effects when clicking "Welcome ***"



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 1:35 pm

 
Create a Javascript (Check to all pages):
Code:
$(window).load(function () {
    $('#fa_welcome').click(function () {
        $('#fa_menulist').fadeToggle();
    });
});
$(window).load(function () {
    $('#fa_notifications').click(function () {
        $('#notif_list').fadeToggle();
    });
});

:):



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Mon Apr 29, 2013 1:39 pm

 
How about the image before the word notification??



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 1:42 pm

 
Add to JS Management (All page):
Code:
$(window).load(function(){
var x = document.getElementById('fa_usermenu').getElementsByTagName('img')[0].src;
document.getElementById('fa_notifications').insertAdjacentHTML('afterbegin', '<img style="margin-bottom: -3px;" src="IMAGELINKHERE"/>');
});

:):



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Mon Apr 29, 2013 1:48 pm

 
Thanks ^^ You can now lock this one ^^



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 1:49 pm

 
Welcome! :):

Since the problem is solved, i'll locked this and move to archive section. :D:
~ Locked and Moved



View user profile http://coding-spot.darkbb.com


#7

Sponsored content


 

Posted Today at 2:26 pm

 





Message (Page 1 of 1)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None