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.
The forum of the forums
4 posters

    Forum Chat - Toogle On/Off

    Devan
    Devan
    Forumember


    Male Posts : 282
    Reputation : 7
    Language : English
    Location : New Jersey

    Solved Forum Chat - Toogle On/Off

    Post by Devan August 4th 2013, 5:44 pm

    I just want to use the regular FM Chat (Not Any Pop-Up Chat). However, I want to know how I can get the chat to toggle on and off?


    Last edited by Devan on August 9th 2013, 5:42 pm; edited 1 time in total
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Forum Chat - Toogle On/Off

    Post by Sir. Mayo August 4th 2013, 8:27 pm

    The one that Comes default? Try this guide Here
    help.forumotion.com/t3343-the-chatbox
    Devan
    Devan
    Forumember


    Male Posts : 282
    Reputation : 7
    Language : English
    Location : New Jersey

    Solved Re: Forum Chat - Toogle On/Off

    Post by Devan August 5th 2013, 4:54 pm

    Exactly that one..I know all that but I just want to make it toggleable (on/off switch) (open/close)
    Derri
    Derri
    Helper
    Helper


    Male Posts : 8711
    Reputation : 638
    Language : English & Basic French
    Location : Scotland, United Kingdom

    Solved Re: Forum Chat - Toogle On/Off

    Post by Derri August 5th 2013, 5:24 pm

    So you don't want a pop out chat but you want to be able to hide it/open it??
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Forum Chat - Toogle On/Off

    Post by Sir. Mayo August 5th 2013, 5:25 pm

    Oh you mean like A Button on the side of your forum that says Chat and when its pressed it opens like a drawer and in the drawer is the chat!
    Devan
    Devan
    Forumember


    Male Posts : 282
    Reputation : 7
    Language : English
    Location : New Jersey

    Solved Re: Forum Chat - Toogle On/Off

    Post by Devan August 6th 2013, 11:00 pm

    Sir. Mayo wrote:Oh you mean like A Button on the side of your forum that says Chat and when its pressed it opens like a drawer and in the drawer is the chat!

     You got it..That Is it! Anyways, can someone tell me how I can do that. Ty in advance..
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Forum Chat - Toogle On/Off

    Post by Sir. Mayo August 9th 2013, 5:56 pm

    1. Go to your overall_header template, find the body part (<body>) and paste this below it: (Just edit the text inside the div id panel tag)

    Code:

       <div class="boddy"><div id="panel">
    <center><iframe frameborder="0" width="700" height="300" src="Http://Yourfourmurs/chatbox/" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="chatbox" style="border:#002EFF 1px solid;border-top:0px"></iframe></center
    <p class="slide"><a href="#" class="btn-slide">OPEN</a></p>
    </div>
     

    2. Inside the same template (overall_header), find the ending head tag (</head>), then paste this before the ending tag:


    Code:
       <script type="text/javascript" src="http://www.webdesignerwall.com/demo/jquery/jquery.js"></script>

     Â   <script type="text/javascript">
     Â   $(document).ready(function(){

     Â      $(".btn-slide").click(function(){
     Â         $("#panel").slideToggle("slow");
     Â         $(this).toggleClass("active"); return false;
     Â      });
     Â     
     Â       
     Â   });
     Â   </script>
    3. Put this on your CSS:

    Code:

     Â   .boddy {
     Â      margin: -8px auto;
     Â      padding: 0;
     Â      width: 570px;
     Â      font: 75%/120% Arial, Helvetica, sans-serif;
     Â   }
     Â   #panel {
     Â      background: #c3c3c3;
     Â      height: 200px;
     Â      display: none;
     Â   }
     Â   .slide {
     Â      margin: 0;
     Â      padding: 0;
     Â      border-top: solid 4px #373737;
     Â      background: url(http://img638.imageshack.us/img638/5051/tabwo.png) no-repeat center top;
     Â   }
     Â   .btn-slide {
     Â      background: url(http://img21.imageshack.us/img21/8233/whitearrown.gif) no-repeat right -50px;
     Â      text-align: center;
     Â      width: 144px;
     Â      height: 31px;
     Â      padding: 10px 10px 0 0;
     Â      margin: 0 auto;
     Â      display: block;
     Â      font: bold 120%/100% Arial, Helvetica, sans-serif;
     Â      color: #fff;
     Â      text-decoration: none;
     Â   }
     Â   .active {
     Â      background-position: right 12px;
     Â   }
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Forum Chat - Toogle On/Off

    Post by SLGray August 9th 2013, 6:17 pm

    Topic Solved & Locked



    Forum Chat - Toogle On/Off Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 13th 2024, 8:41 pm