ToHeader 
Version
(last update on Aug 12, 2008)
Rating
Compatibility
Votes
0
Favoured
3
License
GPLv2.0
Non-Commercial
Type
Views
1045
Install and enable the ToHeader plugin and add for example the following code to one of your joomla articles (html editor disabled):
<toheader>
<script src="/jquery-1.2.6/dist/jquery.pack.js"/>
<script type="text/javascript">
$(document).ready(function(){
$("a").click(function(event){
event.preventDefault();
alert("Thanks for visiting- babu!");
});
});
</script>
</toheader>
This example only works when you install jquery.pack.js from www.jquery.com in directory
jquery-1.2.6/dist/ of your website.
The plugin works only with PHP v5 and after.







