I have been around for a while looking for workable ways of putting a html code or java script into post in blogger. That is to show the code or script text in the post rather than executing it. So there are many ways, I found. But none of them I found working so far, including the following:
<a onclick=javascript:showMessage() href="#" >Test</a>Then, I landed on a page explaining the role a third party web service. The page is called Centricle and its service is to add necessary attributes to the code so that the code will appear and read as text.
<script language="JavaScript">function showMessage(){alert("Is working in post?");}</script>
The steps are very simple.






0 comments:
Post a Comment