Hi. I´m currently trying to create an editable region so that a client can insert the code of a twitter timeline and another to insert the code of a google map. the codes are:
I´ve tried with editable regions of text, textarea and richtext using the "source" option but pasting the codes results in the code snippets displayed in the page instead of the actual timeline or map. Any help? have anybody tried this?
- Code: Select all
<a class="twitter-timeline" href="https://twitter.com/arturojmontero" data-widget-id="397169666931437568">Tweets by @arturojmontero</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- Code: Select all
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.ve/maps/ms?msa=0&msid=215832304540451945187.0004eab40d13e6bdb80e2&ie=UTF8&t=h&ll=10.466836,-66.815621&spn=0,0&output=embed"></iframe><br /><small>Ver <a href="https://maps.google.co.ve/maps/ms?msa=0&msid=215832304540451945187.0004eab40d13e6bdb80e2&ie=UTF8&t=h&ll=10.466836,-66.815621&spn=0,0&source=embed" style="color:#0000FF;text-align:left">En 123 tu pagina web</a> en un mapa más grande</small>
I´ve tried with editable regions of text, textarea and richtext using the "source" option but pasting the codes results in the code snippets displayed in the page instead of the actual timeline or map. Any help? have anybody tried this?