Site logo

Archived topic

Java in Widgets?

5 replies · Started by Dave on March 15, 2017

Viewing posts 1–6 of 6

Hey guys, I don't know if you can answer this, but I am using the plugin Enhanced Text Widget to place javascript in a widget. The script is:

'<script src="http://www.clackamasfire.com/volunteers/members/BurnStatusController.php?action=burnStatusScript" type="text/javascript"></script>'

When I place the script, it appears runs the script properly but it overflows outside the widget element. I try to contain it with CSS but nothing seems to work. How can I get the script output back inside the confines of the widget? Attached is an image showing the issue.

Script Outside Widget

Thanks!
- Dave

Does the javascript give the element a fixed width? I would have to see it in action to know what's going on.

Yup I think thats it. Its a script with CSS wdith of 320px. If I change it to 100% it should be good. I just need access to the script which another developer is working on.

Hey, other question real quick - when creating sections on a Page, is there a way to duplicate a section like you can with pages and posts (with a plugin)?

Thanks!

- Dave

Hi Dave,

Unfortunately currently there is no way to duplicate the sections other than copying and pasting.

This has been requested a couple times though perhaps Tom will consider it :)

Bummer, ok thanks guys!

Glad we could help :)

This archived topic is closed to new replies.