Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-07-19 21:01:50
- girlvsworld
- New Member
- Registered: 2006-03-25
- Posts: 2
insert textpattern tag into javascript
Hi, I’m trying to set up a scrolling image navigation for a client using dhtml..I’ve set up the actual javascript as a form but would like to place the article tag within the javacript as such:
//specify menu content
var menucontents=<code>’<nobr><txp:article_custom category=“gallery_pic” limit=“1” /></nobr>’<code>
but it doesn’t work..if I take the tag out and just put the content in it works.
Anyone have any suggestions? Thank you.
Offline
Re: insert textpattern tag into javascript
try making it in the page rather than the form.
but…..it should work otherwise
Offline
Pages: 1