[pmwiki-users] How to use embed code
The Editor
editor at fast.st
Sun Mar 5 20:04:11 CST 2006
I have a similar situation where I need to include a page in my site
with a button that opens a chat window using the window.open command
(javascript). I tried the suggestion of putting it into a markup in
my config file but it killed my site. Must be some syntax error.
Maybe someone can help me to spot it?
Markup('chatbox', 'directive',
'/\\(:chat://)/',
Keep("<input type='button' value=' Chat Now! '
onclick=/"window.open('http://www.chatzy.com/chatroom','chat','width=675,height=500,resizable=no,scrollbars=no,
toolbar=no,location=no,directories=no,status=no,menubar=no,
coyphistory=no')/"/>"));
I think I must not have escaped the quote marks in the text properly.
By the way, not to ask a dumb question but what language is this?
PHP?
Caveman
More information about the pmwiki-users
mailing list