General developer forum

Using bootstrap code in a Moodle plugin

Picture of Richard Jones
Using bootstrap code in a Moodle plugin
Particularly helpful MoodlersPlugin developers

I have a plugin that displays an iframe within a bootstrap 3 collapsible panel (similar to this:  Clicking a link will toggle the panel. 

It works for me across major browsers but another user reports an issue.

Is there a better Moodle way to achieve this?  I noticed the Moodle CSS "hide" class is described as "obsolete" and the html/css general guidelines project is noted to be dead.

The iframe is used because it is displaying an embedded Moodle page (from the same site) within it.

Advice gratefully received.

Average of ratings: -