Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
dynamically generated content not working with jquery ui [resolved]
this one is really strange. i am trying out jquery ui tabs. if i type out the content area manually, it works. but when i generate the content using article_custom, it doesn’t flip the tabs:
<div id="tabs">
<ul>
<txp:article_custom section="articles" limit="3">
<li><a href="#tabs-<txp:article_id />">
<txp:title /></a></li>
</txp:article_custom>
</ul>
<!-- here is the content -->
<txp:article_custom section="articles" limit="3">
<div id="#tabs-<txp:article_id />"> <!-- here was the culprit -->
<p>test <txp:article_id /> </p>
</div>
</txp:article_custom>
</div>
regarding the flipping: the three content divs show up on the page (limit=“3”). if it’s working properly, only one should show up
edit: the culprit was the pound sign in the div id
Last edited by mrtunes (2010-09-13 01:15:04)
Offline