Side change button?
3 posters
Page 1 of 1
Side change button?
Hi, how do I get the button change sides? (That is in the picture)
http://img4.fotos-hochladen.net/uploads/ddfes97khzvp.png
http://img4.fotos-hochladen.net/uploads/ddfes97khzvp.png
Re: Side change button?
hi go
Administration Panel → Modules Tab → Javascript codes management → Create a new javascript
Step 2:
Call it whatever you like and set its placement to all pages.
Step 3:
Once you have done that, you will need to add the following code into 'Javascript Code' field (your forum version ONLY):
phpBB 3
Administration Panel → Modules Tab → Javascript codes management → Create a new javascript
Step 2:
Call it whatever you like and set its placement to all pages.
Step 3:
Once you have done that, you will need to add the following code into 'Javascript Code' field (your forum version ONLY):
phpBB 3
- Code:
var CopyrightNotice = 'All rights reserved to the
developer A7medvirus version works phpbb3 Allowed to amend the code by
www.ahlamontada.com .';
function setprofile(loc) {
if (loc=='left') {
$('.postprofile').css({'float':'left','border-left':'none','border-right':'1px solid #c8c8c8'});
$('.postbody').css('float','right');
}
//a7medvirus
else {
$('.postprofile').css({'float':'right','border-left':'1px solid #c8c8c8','border-right':'none'});
$('.postbody').css('float','left');
}
}
//a7medvirus
function toggleprofile() {
var x = my_getcookie('prloc');
if (x=='left') {
x='right';
}
else {
x='left';
}
my_setcookie('prloc',x,true);
setprofile(x);
}
//a7medvirus
$(function() {
if ($('.addthis_button')[0]) {
$('.addthis_button').eq(0).before('<button class="button2"
title="Toggle post profile location"
onclick="toggleprofile();"><img style="padding:0px 2px;"
src="http://2img.net/i/fa/edit.png" /></button> • ');
var x = my_getcookie('prloc');
if (x == null) {x = 'left';}
my_setcookie('prloc',x,true);
setprofile(x);
}
});
//Remember that copyright a7medvirus
Re: Side change button?
Thanks, but now the lines, the profile box separates the contribution gray .. how do I change it?
(Look please at my Forum)
(Look please at my Forum)
Re: Side change button?
Since the topic appears to be solved i will now mark and lock the thread.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Similar topics
» Change Quote Button, Edit Button and more into the text
» How to Change Like/+ Button,
» How do I change the button image ?
» Change the look of your like / dislike button's.
» Quick Button Change
» How to Change Like/+ Button,
» How do I change the button image ?
» Change the look of your like / dislike button's.
» Quick Button Change
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum