Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Sidebar for a theme I'm working on
Topic Started: May 17 2014, 02:45 PM (638 Views)
JJEmpire
Member Avatar
Do I desire to learn the motive behind this insanity?
[ *  *  *  * ]
I'm looking to set up a sidebar that scrolls with you throughout the page. What I'm thinking of is something like the sidebar on the "Unknown" theme that's currently usable on this site, complete with the profile and the submenu links being on there. How would I be able to set something like that up for the theme I'm working on?

Also, a few more questions:

1: Would I be able to set up the sidebar to have shortcuts that works like the submenu links, but would only be on the sidebar for that specific theme? I mean shortcuts that leads to topics, forum posts and so on; basically anything with a URL.

2: Could the submenu links on the sidebar, including the shortcuts, have icons next to them? I'm thinking of an specific image set for each submenu link and shortcut, probably one that animates itself (like hovering back and forth) when the link is highlighted.

3: Could announcements be placed on the sidebar? I'm thinking either announcements that can be modified by an administrator, or announcements that lists the latest topic in any given forum.

Any help with all of this is appreciated!
Offline Profile Quote Post Goto Top
 
JJEmpire
Member Avatar
Do I desire to learn the motive behind this insanity?
[ *  *  *  * ]
Is there anyone who can help? I really need this for the theme I'm working on.
Offline Profile Quote Post Goto Top
 
Jason
Member Avatar
Member
[ *  *  *  *  * ]
Have you tried using Cory's sidebar - http://if.invisionfree.com/topic/5115906/1/

You can change position:absolute to position:fixed in the CSS which will keep it in the same place when scrolling.

I would suggest setting up a test board and adding it to the theme you are working on there so people can help you if you get stuck :)
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Here's how to create a custom HTML link:
Code: HTML
 
<a href="URL">Text</a>
Here's how to create a custom HTML image:
Code: HTML
 
<img src="URL" alt="" />
I have a Active Topics in Sidebar code as well, if you would rather add custom HTML to that through the script.

If you want it to scroll all the way from top to bottom, you may need to apply the margin to other elements as well and move the HTML.

You can create a sidebar link hover like this:
Code:
 
#sidebar a:hover {
background: url(URL) no-repeat;
}
Offline Profile Quote Post Goto Top
 
JJEmpire
Member Avatar
Do I desire to learn the motive behind this insanity?
[ *  *  *  * ]
Thank you, both of you! I'll see how it goes from here.

EDIT: Though, one more thing: since it'll be easy to just put links in the sidebar and replace the submenu links with it, how do I go about "removing" the sidebar cleanly?

EDIT #2: Additionally, how can I see about moving the Admin CP, Report CP, Preferences, Inbox, your profile and the log-out option (along with the register option for guests) to the sidebar?
Edited by JJEmpire, May 20 2014, 07:28 PM.
Offline Profile Quote Post Goto Top
 
-The-
Member Avatar
#the { display: none; }
[ *  *  *  *  * ]
Try putting the <!--HEADER--> bit inside the sidebar code.
Offline Profile Quote Post Goto Top
 
JJEmpire
Member Avatar
Do I desire to learn the motive behind this insanity?
[ *  *  *  * ]
I tried with the <!--SUBMENU--> and the <!--TOPMENU-->, and it worked, so I'm happy for now. Thanks!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply