ars aranea. the web, the way we make it. | |
Post discussion# Sidebar SliderPosted: Dec 3, 2005, under WordPress, DHTML. Add a comment!This WordPress plugin makes block elements slide up and down as you scroll through a page, so you can always have the sidebar, for instance, within easy reach.
You can add a comment:
22 comments
| Important
Categories
Authoring
(1)Books (2)Cross platforms (2)DHTML (12)Graphical design (3)IT today (12)Morals&Politics (10)ODP (1)Random stuff (3)Romania (16)Security (7)SEO (2)Software (8)SQL (1)Standards (7)Technology (3)WordPress (4)[În română] (4)[This website] (2)Time-jump Syndication Need hosting?I've been a happy user of LunarPages since 2005. |
Copyright ©2005–2008 Zuavra | |
READ THIS IF YOU WANT ME TO HELP YOU FIND THE (X)HTML ELEMENTS.
Don't ask me about random themes! Give a link to a blog currently using the theme you are asking about. I need to see the XHTML for the blog pages in order to make a suggestion. I will NOT download arbitrary themes, install them, and test them.
I like this plugin and will test it in the future on a site with a lot of comments.
Thanks for your hard work
Thanks right back, I hope it helps you.
I am using the slider in a separate (non-WordPres) application, and it works great in IE, FireFox and Opera, but fails in Safari. I know you stated that it was not tested on the Mac, but I thought I would let you know that it is in fact not working. For some reason, the "wantedPosition" variable will not exceed 10. The slider moves just a little down the page and then stops and will not move any further down. I am going to try to debug when my friend loans me his old iMac.
Thanks, Bryan, I'd appreciate it. It doesn't look like I'm getting my hands on any kind of Mac anytime soon.
Just stumbled across your plugin and I'm wondering if it will work with zen minimalist? I saw someone else had asked once on wordpress.org but it doesn't look like they ever figured it out.
Jared: I think it should work. Try using id "menu" or "nav" as the slider, "main" or "content" as the container, and "footer" or "clearer" as breaker. I'm not sure why Zen Minimalist uses two tightly nested
<div>'s in some places, that's why I gave you two alternatives for the first two. I know why the footer uses the clearer, it's a method of "clearing floats" (google it if you're interested).Wow nice plugin!
I fairly new to wordpress and am still discovering all the cool features and addons.
I really like the expand/collapse you have setup on all the sections.
Is that a plugin too?
Janeth: yes, and you can find it here. Thanks for the props.
Hi,
thanks for this fine code! I use it outside Wordpress for another project and I am really happy with it. Good work!
Greetings
Robert
Thanks, Robert, glad you like it.
Awsome!
Thanks very much for the guide!
This is a very neat plugin.
This site is in use at Mainland Building Solutions. Which is a Drupal powered site. Thanks for the script.
I'm very glad it was of help.
Thanks Skippy for a nice plugin and detailed documentation. I not able to get it work on my WP blog which uses a lot of plugins and the theme has two sidebars. I am sure everything is installed fine as I tried with some table tags as you had suggested and the left sidebar was moving but the content went below the sidebar and would also move down when the sidebar moved. I think I am not able to identify the container and slide properly. Can you please help to solve this and suggest what should I use as containers and sliders to make both my left and right sidebars move. My site url is linked to my name. Thanks in advance.
Ok I tried many ways and got it to work. But only one thing. When I scroll down, the two sidebars do scroll with me but kind of lag behind. The top parts of the sidebars don't come down with me and I can only see their middle and end parts. But when I scroll up again a fair bit, then the top of the two sidebars becomes visible. Please help me to solve this Sticky. Your help will be greatly appreciated.
SG: that's how they're supposed to work, it's the whole gist of this plugin. :) The point is to be able to see the sidebar content "naturally": you scroll when it's higher than the visible part of the window, it scrolls when it's smaller.
If the sliding boxes stood always aligned with the top of the window, and they were higher than the window, you'd never see their bottom part. Many sliding scripts do that, I'm afraid, it's one thing I didn't like and which made me write this one instead.
If you mean "wait until they hit bottom and then show their lower parts" then I'm afraid that's not a desired effect. The intention was to get to any part of the sidebar with as little scrolling as possible. If I had to go to the bottom of the page to see their lower ends then it kind of defeats the purpose.
I'm glad you could make it work and that you find it useful. If I may make a suggestion: decrease the sliding speed somewhat. If the sliding boxes suddenly teleport wherever you go it may confuse people. I've noticed that they need some visual feedback, it helps them to actually see the boxes follow them.
Hello, Skippy. I found your plugins through the WP website and I must say that I really loved them all
I installed the Sidebar Slider in a theme with particular attributes (the breaker was the footer id in some pages, but needed to be the comments id in others), but I found a way to work it out easily, with all your wonderful explanations
I also installed the Smiley JS Buttons and it's working flawlessly!
The next step is to install the JS Toggle Boxes, wich is another great plugin.
Thank you very much for all this!
Thanks, Juliano, it's very nice to receive feedback like this. :)
Hey Skippy! I just installed your Sidebar Slider on my Wordpress 2.2.1 and it works just fine with only a slight bit of code modification - namely I was getting an encapsulation error from the slide_add call, so here's what I did:
.
THAT'S WHEN I RECEIVED THE ENCAPSULATION ERROR, so I replaced the "{ }" with "( )" and removed the additional description text, put div tags around the code and was left with this:
So that worked for ONE SIDE! YEAH!!!
I do have to work on the break as the "footer" break doesn't seem to stop it at the end. Otherwise, It all works great and I can confirm that your code (changed only in one place) works great on Wordpress 2.2.1 for everyone to enjoy.
Thank you for your excellent work on this wiget!! A++ to you!
Thanks Dan, especially for taking the time to do a walkthrough.
I am building a site and needed this exact function for the sidebar on some pages. Thank you for a simple and clean solution!