Javascript widget not showing

Post

Posted
Rating:
#3405 (In Topic #674)
Hello,

Attempting to add a javascript widget to the site and it would not show up.

Any pointers would be appreciated.

Not sure where the code bb-tags are here so not posting it to avoid violating any site rules.

Post

Posted
Rating:
#3407
To debug I'd look at the output HTML to confirm the code is there correctly, and I'd look in the browser's JS Console to look for any error messages.

Post

Posted
Rating:
#3422
Can't figure it out. Plug any of these widgets in and you will see what I'm talking about

Widget Link

Post

Posted
Rating:
#3425
I just tested and it was okay.

You'll need to provide exact step-by-step instructions (or a video) showing how you're trying to do it.

For example, if you just paste the raw HTML into the editor (WYSIWYG or not) that won't work, it has to be inside Comcode HTML tags or put in under the WYSIWYG source code view.

Additionally, if you're not doing as an admin it will not pass through, for security reasons.

Post

Posted
Rating:
#3427
I disabled wysiwyg editor and used inside semihtml code tags, tried regular source code view. Not showing up. Wondering if any other javascript could be causing it.

Post

Posted
Rating:
#3430
Ah, semihtml does fail for me. Use the html tag.
semihtml fails because the URL in the JS code is getting parsed into an automatic hyperlink.

Post

Posted
Rating:
#3434
Thank you very much. That did the trick.
0 guests and 0 members have recently viewed this.