Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-08 00:39:43

cargan
Member
From: Uk, Exeter
Registered: 2004-03-18
Posts: 10

need help with javascript in permlink

Hallo guys, my brains dryed out and I simply cannt figure out how to put javascript function in permanent link. What i have got is <code><txp:if_custom_field name=“aaa”><td><txp:permlink><txp:custom_field name=“aaa” />…</txp:permlink></td></txp:if_custom_field></code> how to put this <code><a href=“newpage.htm“onClick=“newwindow();return false”>blabla</a></code> thanks for your time. this is not going to be used to frustrate user!

Last edited by cargan (2005-11-08 00:43:15)

Offline

#2 2005-11-08 01:19:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: need help with javascript in permlink

<code><txp:if_custom_field name=“aaa”></code>
<code> <td><a href=”<txp:permlink />” onclick=“newwindow(); return false;”><txp:custom_field name=“aaa” /></a></td></code>
<code></txp:if_custom_field></code>

Offline

Board footer

Powered by FluxBB