[pmwiki-users] Embed Sporcle

Steve Glover steve.glover at ed.ac.uk
Tue Mar 15 05:51:09 CDT 2011

Hi Mark,

> How would I embed this code that sporcle give me...
> <iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" id="spFrame" src="http://www.sporcle.com/framed/?gid=38ae49c090c&pid=0cbc0c029d4bc453d24975f38c84dc18" width="860"></iframe><script type="text/javascript">function rIF(ht){document.getElementById("spFrame").height=parseInt(ht)+40;}</script>
> This is the quiz http://www.sporcle.com/games/DesTech/materials

I know nothing about sporcle ;-)

However, I think if you want to embed an iframe in a page, (:html:) is 
your friend:

(:html:)<iframe parameters="whatever..."></iframe>(:htmlend:)

At a guess, you could include your script in there, too, and any CSS 
will need to go in the appropriate file for that part of your wiki.

Hoping this helps,


> Thanks
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Steve Glover: SDSS, EDINA, Causewayside House, 160 Causewayside EH9 1PR
e:steve.glover at ed.ac.uk t:0131 650 2908 f:0131 650 3308 m:07961 446 902

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

More information about the pmwiki-users mailing list