Login To Blogger Go To > Design > Edit HTML.
and mark the tick box "Expand Widget Templates"
Then, find (CTRL+F) this code in the template.
</head>
And immediately before it, paste this code:<script type="text/javascript">
function selectAll()
{
document.form1.demo.focus();
document.form1.demo.select();
}
</script>
Now click Save Templste.function selectAll()
{
document.form1.demo.focus();
document.form1.demo.select();
}
</script>
Then, Go To > Design > Page Elements.
Simply add a Gadget of HTML/JavaScript type.
add this code in to it:
<form name="form1" >
<textarea cols="25" rows="10" name="demo">
INSERT YOUR CONTENT HERE
</textarea>
<input type="button" name="selectit" value="Select All" onclick="selectAll ();">
</form>
Note : Remember to replace INSERT YOUR CONTENT HERE with your real content.<textarea cols="25" rows="10" name="demo">
INSERT YOUR CONTENT HERE
</textarea>
<input type="button" name="selectit" value="Select All" onclick="selectAll ();">
</form>
Now you are done.
1 comments so far:
nice tutorial..thanks buddy.
Post a Comment