Forum Moderators: open
<script type="text/javascript">
function SelectAll(id)
{
document.getElementById(id).focus();
document.getElementById(id).select();
}
</script>
<b><A NAME="help">help</A></b><br>
<b><A NAME="angular_momentum">Angular Momentum</A></b><br>
<A HREF="#help">Help With Embed Code</A><br>
<textarea id="angular_momentum" onClick="SelectAll('angular_momentum');" style="width:100%; height:20px;" >
<script type="text/javascript" src="http://-----.com/embed/angular_momentum.js"></script>
</textarea><br>
<textarea id="angular_momentum_frame" onClick="SelectAll('angular_momentum_frame');" style="width:100%; height:20px;" >
<iframe src="http://-----.com/embed/frame/?game=angular_momentum" width="550px" height="440px"></iframe>
</textarea>
<b><A NAME="assembler">Assembler</A></b><br>
<A HREF="#help">Help With Embed Code</A><br>
<textarea id="assembler" onClick="SelectAll('assembler');" style="width:100%; height:20px;" >
<script type="text/javascript" src="http://-----.com/embed/assembler.js"></script>
</textarea>
<textarea id="assembler_frame" onClick="SelectAll('assembler_frame');" style="width:100%; height:20px;" >
<iframe src="http://-----.com/embed/frame/?game=assembler" width="550px" height="400px"></iframe>
</textarea>
Any help is appreciated!
You should escape any tags inside the textarea tags:
<textarea id="angular_momentum_frame" onClick="SelectAll('angular_momentum_frame');" style="width:100%; height:20px;" >
<iframe src="http://-----.com/embed/frame/?game=angular_momentum" width="550px" height="440px"></iframe>
</textarea>
dc