MyBB Community Forums

Full Version: How to edit toggle button ??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to edit the toggle button ??

[Image: 1039720_535201986542491_1016621086_o.jpg]

Forum link - www.criczone.net

help pls

plss help Smile
It's not even hour from asking question so no need to 'bump' it by 2x "help pls" in post. And there is no answer probably because you didn't specify enough detail - what do you want exactly to edit?

Anyways, if the look of the button, edit a.paneltoggle in global.css of your theme.

If the functionality, edit
jQuery("a.panel_toggle").toggle(
	function() {
	    jQuery(this).stop(true, true).animate({
		backgroundColor: "#bdd6df",
		borderBottomLeftRadius: 0, 
		borderBottomRightRadius: 0,
		color: "#76868b"
		}, 200);
		jQuery("#panel").stop(true, true).fadeIn();
		},
		
	function() {
	    jQuery(this).stop(true, true).animate({
		backgroundColor: "#a2b9c1",
		borderBottomLeftRadius: 2, 
		borderBottomRightRadius: 2,
		color: "#fff"
		}, 200);
		jQuery("#panel").stop(true, true).fadeOut();
		}
);
in images/tranquil/scripts/package.js

If you want to remove the button, it's most likely in header template.
i want to edit the links showing in it..

[attachment=29573]
The question is completely irrelevant then, because it has nothing to do with the button...

The links are in the following templates: header_welcomeblock_guest, header_welcomeblock_member, header_welcomeblock_admin, header_welcomeblock_moderator
[Image: attachment.php?thumbnail=29573]

in this pic profile comments and all are damaged..i want to correct it and add a new link to it Smile

how can i do it ??
Could you create a test account for myself and private message me the details? I'll fix your problem. Smile