The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

toggle signature

3 posters

Go down

Solved toggle signature

Post by FL.ux 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
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 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
avatar
Guest
Guest


Back to top Go down

Solved Re: toggle signature

Post by FL.ux 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
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 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
kirk
Forumaster

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

Back to top Go down

Solved Re: toggle signature

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

i want it to be like in the tut.. but with green border.
FL.ux
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 December 24th 2011, 4:50 pm

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


Back to top Go down

Solved Re: toggle signature

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

can i make one with round corners???
FL.ux
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 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;
avatar
Guest
Guest


Back to top Go down

Solved Re: toggle signature

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

topic solved!
FL.ux
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 December 26th 2011, 5:59 am

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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