Coding-Spot

You are not connected. Please login or register

 
 
 

Toobar Fade effects when clicking "Welcome ***"

Message (Page 1 of 1)

#1

mioshi11

mioshi11
 
Advance Member

Posted April 29th 2013, 8:34 pm

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





#2

Mark

Mark
 
Administrator
Administrator

Posted April 29th 2013, 8: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();
    });
});

:):



https://coding-spot.darkbb.com


#3

mioshi11

mioshi11
 
Advance Member

Posted April 29th 2013, 8:39 pm

 
How about the image before the word notification??





#4

Mark

Mark
 
Administrator
Administrator

Posted April 29th 2013, 8: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"/>');
});

:):



https://coding-spot.darkbb.com


#5

mioshi11

mioshi11
 
Advance Member

Posted April 29th 2013, 8:48 pm

 
Thanks ^^ You can now lock this one ^^





#6

Mark

Mark
 
Administrator
Administrator

Posted April 29th 2013, 8:49 pm

 
Welcome! :):

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



https://coding-spot.darkbb.com


#7

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Similar topics

-

» jQuery Loading effects

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

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

Users browsing this forum: None