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.

toggle signature

View previous topic View next topic Go down

Solved toggle signature

Post by FL.ux on December 24th 2011, 7:00 am

hi, i found this on the russian support forum.. i followed it but it's not working..

pls help me fast....


Last edited by pidot101 on December 26th 2011, 3:01 am; edited 1 time in total

FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Solved Re: toggle signature

Post by Guest on December 24th 2011, 8:15 am

viewtopic_body:
So, you need to find:
Code:
<div class="signature_div">
                        {postrow.displayed.SIGNATURE}
                    </div>
and replace with:
Code:
<br/><br/><br/><center>
<div><a href="javscript://" class="sig" style="text-decoration: none;"><img src="http://savepic.net/1189114.png" border="0" /> <span style="font-family:Times New Roman; font-size:18px;font-style:italic;">Открыть подпись</span></a>
                    <div class="signature_div">


          {postrow.displayed.SIGNATURE}

                    </div></div>
</center>
Save, then publish!

overall_footer:
Before </body> add this code:
Code:
<!--Сворачивание подписи-->
<script type="text/javascript">
jQuery(document).ready(function(){
  jQuery('.sig').click(function(){
      jQuery(this).parent().children('div.signature_div').slideToggle("slow");
      return false;
    });
  });
</script>
Save, then publish.

CSS Stylesheet:
Code:
.signature_div{
background-color: #FFFFFF;
display:none;
border:3px double #3A4B8A;
padding:5;
width: 98%;
}

That was for phpBB2. Hah, maybe I'll translate full tutorial for english support forum? Smile

Guest
Guest


Back to top Go down

Solved Re: toggle signature

Post by FL.ux on December 24th 2011, 12:33 pm

NVM... it wasn't working cause i forgot to allow signatures.... silly me Embarassed Razz

uhm , one question.. how can i edit the borders??

FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Solved Re: toggle signature

Post by kirk on December 24th 2011, 3:04 pm

well i am not sure what it is without seeing it,

But most likely right here in the css part.
all depends what you want to change it to as well?

border:3px double #3A4B8A;

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: toggle signature

Post by FL.ux on December 24th 2011, 4:18 pm

i want it to be like in the tut.. but with green border.

FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Solved Re: toggle signature

Post by Guest on December 24th 2011, 4:50 pm

Replace from stylesheet this: border:3px double #3A4B8A; to this: border:3px double #11FE11; Smile

Guest
Guest


Back to top Go down

Solved Re: toggle signature

Post by FL.ux on December 24th 2011, 4:54 pm

can i make one with round corners???

FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Solved Re: toggle signature

Post by Guest on December 24th 2011, 5:04 pm

Of course, after border:3px double #11FE11; add:
Code:
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;

Guest
Guest


Back to top Go down

Solved Re: toggle signature

Post by FL.ux on December 26th 2011, 3:00 am

topic solved!

FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Solved Re: toggle signature

Post by Sanket on December 26th 2011, 5:59 am

Topic Solved & Locked

Sanket
ForumGuru

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

http://webartzforum.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