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
5 posters

    Topic sidebar

    avatar
    Skhectic28
    Forumember


    Posts : 156
    Reputation : 4
    Language : English

    Solved Topic sidebar

    Post by Skhectic28 Wed 15 Feb 2012 - 21:36

    Is it possible to make a sidebar which scrolls outwards on the homepage which contains information within it.
    Can someone provide me the code if this is possible.

    Thanks in advance.
    Giooo
    Giooo
    Forumember


    Male Posts : 155
    Reputation : 8
    Language : English, Greek
    Location : Virginia

    Solved Re: Topic sidebar

    Post by Giooo Wed 15 Feb 2012 - 22:01

    You mean like the one here on The Support Forum?
    avatar
    XxForumGirlxX
    Forumember


    Female Posts : 193
    Reputation : 7
    Language : English
    Location : USA

    Solved Re: Topic sidebar

    Post by XxForumGirlxX Wed 15 Feb 2012 - 22:11

    Under tips and tricks, go to like members have a control panel, use that code but instead of /profile and stuff, put the link of the post.

    I hope we can mark this as solved Smile
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: Topic sidebar

    Post by Nera. Thu 16 Feb 2012 - 12:31

    Hi Skhectic28,

    Please show an example of what you mean.
    avatar
    Skhectic28
    Forumember


    Posts : 156
    Reputation : 4
    Language : English

    Solved Re: Topic sidebar

    Post by Skhectic28 Thu 16 Feb 2012 - 18:26

    avatar
    Skhectic28
    Forumember


    Posts : 156
    Reputation : 4
    Language : English

    Solved Re: Topic sidebar

    Post by Skhectic28 Sat 18 Feb 2012 - 16:41

    Bump, can anyone help me Smile
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: Topic sidebar

    Post by Nera. Sat 18 Feb 2012 - 17:18

    You can use this. In the HTML part where it says Content here you'll add your info.

    Add this to AP > Display > Colors > CSS:

    Code:
    .ljevo {
       position: fixed;
       top: 50px;
       left: 0;
       display: none;
       background: #000000;
       border:1px solid #111111;
       -moz-border-radius-topright: 20px;
       -webkit-border-top-right-radius: 20px;
       -moz-border-radius-bottomright: 20px;
       -webkit-border-bottom-right-radius: 20px;
       width: 330px;
       height: auto;
            padding: 15px;
       opacity: .5;
       color: white;
       }
    a.trigger {
        background: none repeat scroll 0 0 #333333;
        border: 1px solid #444444;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
        display: block;
        left: 0;
        opacity: 0.7;
        padding: 15px;
        position: fixed;
        text-decoration: none;
        top: 80px;
    }

    Than add this to your AP > Display > Homepage > Generalities > Message content:

    Code:
       <div class="ljevo">Content Here</div>
       <a class="trigger" href="#"><img src="http://www.apporacle.com/wp-content/themes/creativezodiac/gfx/blog_icons/icon_share.png" /></a>

    You'll need to add your social icons where it says 'content here'.

    And than go to AP > Modules > JS managment and mark enable JS.

    Create a new JS file and add this in it:

    Code:
    $(document).ready(function(){
    $(".trigger").click(function(){
    $(".ljevo").toggle("fast");
    $(this).toggleClass("active");
    return false;
    });
    });

    Example of it working on an Forumotion forum:

    Topic sidebar GMxu

    Thought you'll need to customise it a bit to make it look nicer.
    avatar
    Skhectic28
    Forumember


    Posts : 156
    Reputation : 4
    Language : English

    Solved Re: Topic sidebar

    Post by Skhectic28 Sat 18 Feb 2012 - 17:36

    How can I make the content box go next to the button.
    "Button-then info."
    avatar
    Skhectic28
    Forumember


    Posts : 156
    Reputation : 4
    Language : English

    Solved Re: Topic sidebar

    Post by Skhectic28 Sat 18 Feb 2012 - 17:58

    Nvm, Thx for the help Nera! Very Happy!
    Sanket
    Sanket
    ForumGuru


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

    Solved Re: Topic sidebar

    Post by Sanket Sat 18 Feb 2012 - 18:01

    Topic Solved & Locked

      Current date/time is Mon 23 Sep 2024 - 17:24