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.
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.
- The topic ‘My new theme! Ajax & Vertical posts’ is closed to new replies.