Splitting Content in two div-s. On the Same Page?
-
Is it possible to use separate the content on either side of the more tag into two individual divs (even if it means a dirty WP hack). I’ve got a basic idea of how my new blog will feel + function:
See Static HTML Version of Template Here. Doesn’t have to be ajax, doesn’t have to be clever. Just tell me where I’m going wrong.
I really like the idea of a short excerpt being visible at all times. A simple Headline and a link to the rest of the story. I don’t believe its necessary to have the user jumping all over my domain to find the rest of the story – so I’d like “on click” (through the magic of ajax / a sliding div) the_content to become visable. In a Seperate DIV – there’s my problem.
I’ve tried a dozen plugins, the closest I’ve got is with AWP- although it seems so bulky for what I’m trying to do:
<div class="excerpt"> Here's the twenty word excerpt or something... <a href="#">Read On...</a> </div> <div id="rest-of-content"> ... blah, here's the rest of the post (notice I don't want to repeat the excerpt if poss. </div>
on my test page it is made possible with moo tools’ slide.fx, all very straightforward because its HTML.
after porting to a test WordPress blog: See Test Version of WordPress Template Here and implementing all manner of plugins and wordpress trickery I’ve hit a brick wall. help me obi-wan kenobi- you’re my only hope. etc.
—-
as i mentioned- i know there are great plugins that split the excerpt / crop it down to a certain amount of words, even ajax-ify the content so it appears inline- that’s great! but i’m having difficulties with separating them into two DIVS, not just separating them.
– Callum
- The topic ‘Splitting Content in two div-s. On the Same Page?’ is closed to new replies.