fsiebert Posted December 9, 2011 Share Posted December 9, 2011 Hi, I am trying to make it so only the post titles appear on the homepage, while the body only appears once you click on the title. Here is the body of my page, <body> <div id="container"> <a id="AHeader" href="http://www.francissiebert.com/">{Description}</a> <div id="spacer"></div>{block:Posts} {block:Text} <a id="AHeader2" href="{PermaLink}">{Title}</a> {/block:Text} {Body}{/block:Posts} </div><!—End container—></body>] Thank you. Link to comment Share on other sites More sharing options...
niche Posted December 9, 2011 Share Posted December 9, 2011 Are you going to create the links manually, or dynamically? Link to comment Share on other sites More sharing options...
thescientist Posted December 10, 2011 Share Posted December 10, 2011 I've never used tumblr so I'm not sure how it'S integrated with your homepage, but in my mind it would be easiest if the title element and the content/body element had a unique relationship to each other, like a direct sibling relationship, so that way you could just use DOM methods to target the content/body element when any title is clicked. Also of course, you want to have all the content/body elements hidden on load first. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.