PAuthor HTML Template with Javascript

Nov 14, 2010 at 9:51 AM

Is it possible to add logic into the html template using javascript, based on input values?

eg. if {Cat} == "Cars" then use some background else use another background ?? (obviously in js :p)

Apr 5, 2011 at 1:07 PM
Edited Apr 5, 2011 at 1:08 PM

I am also trying to use Javascript for creating charts within the HTML template, however PAuthor is creating images with blank pages.

I have cheked the template, which works fine when opened in Browser.

Any suggestions in this regard would be helpful.

Thanks,

Apr 5, 2011 at 1:24 PM

OMG .. just resolved it too.

Well was calling Javascript function ... onload earlier. Modified it to be in line code within BODY tag without any function call.

This worked.