Hi all
I worked the last two days on my very own theme. I was tired of the long columns and all that scrolling at the frontpage. In my first attempt to write a vertical scrolling JavaScript i failed on all the bugs and browser issues. Also the whole design was buggy in IE cause i was using alot float-left/right, position etc..
Frustrated, i was checking out the wordpress.org site once again and stumbled over that vertical scrolling in the “themes� section and thought: “hey, that’s exactly what i was looking for and yes, it’s crossbrowser compatible�. that was the point for me to get started. I quickly put together some basic index loop and started testing. i had fast success. it’s now possible to navigate the last 10 posts vertical, using the links going from 1 to 10 above the frame.
Since i needed to get rid of the ugly default scrollbars, i used overflow:hidden and put in a horizontal-scroll javascript on the left of that iframe with all the post in it. Problem solved, looking good, working on IE and FF. ;)
AJAX; I was impressed by that renovatio theme from “fx� and thought on how to implement that type of navigation into my kinda "static scrolling" thing (fixed width/height). the intention was the combination of both to get the most out of the new compact design. it worked out! I simply put my iframe + navigation into the AJAX container. This way it gets replaced if someone is using the normal AJAX links from the sidebar. :)
The comment_popup_links within the iframe gave me a small headache. Of course i didn’t want to load the comments in the iframe. Wild thoughts… but then i remembered an HTML-tag called “BASE� and that was my solution. Instead of modifyin the wordpress functions i simply use [BASE target=�_parent�]. That way all plain HREF links are now targeting the container and not the frame.
Where are all the other links like “categorys�?
I thought they are of not worth to be seen FIRST. Visitors mostly come for the new posts and not for the old ones. I put Archive, Categorys and Blogroll into a second & hidden sidebar, which makes my theme basicly consist of three columns. You can access that “old stuff� part by clicking on “more…� at the left sidebar.
ENOUGH! :) i will stop talking "binary" now.
Please head over to my website located at http://www.m3nt0r.de/blog/ and tell me how you like it and if you enjoyed the navigation, colors, etc…
Thanks for your time in advance.
If you wanna know more details, contact me at any time. I made a copy of this Topic on my Page with commments enabled: http://www.m3nt0r.de/blog/?page_id=191
PS: i'm german, excuse typos etc.. :) my site is in german aswell. i hope you get the feeling for it anyways.