Dynamic Notice JS
-
Hello again,
Im trying to take advantage of the Dynamic Notice object.
However i cant get it to work with JS expressions.
I’ve tried mulitple including the code from the documentation;
{# if (typeof data.uni_cpo_width !=== 'undefined' && data.uni_cpo_width > 100) { print 'The width is too big!'; } #}When i go to the JavaScript console in chrome i see a syntax error related to the JS in the Dynamic Notice.
Im not at all experienced in coding but pretty sure ive tried some solutions that should be working. On the other hand im not completely sure what the Dynamic Notice will allow.
Is it possible to hide and show elements with JS in the Dynamic Notice?
Will the Dynamic Notice run the script automatically or do i need to call the script with a event?
Any kind of feedback is appreciated. Would like to make certain that its not some kind of bug before trying more. Been trying to make it work for two days now.
Thank you!
The page I need help with: [log in to see the link]
The topic ‘Dynamic Notice JS’ is closed to new replies.