Mostly I want to do this for the hover effect that was achieved in the link.
Thanks!
$(function(){
var title = ['charizard','squirtle','snorlax'];
var image = ['imageforcharizard.gif','imageforsquirtle.gif','imageforsnorlax.gif'];
$('.field_uneditable').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<title.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).html(oldhtml);
});});
$(function(){
var pokemon = ['charizard','merlin','snorlax'];
var pokeimage = ['http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif'];
$('.postbody').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<pokemon.length;i++){
oldhtml=oldhtml.replace('['+pokemon[i]+']','<img src="'+pokeimage[i]+'">');};
$(this).html(oldhtml);
});});
$(function(){
var title = ['charizard','merlin','snorlax'];
var image = ['http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif'];
$('.postbody').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<pokemon.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).html(oldhtml);
});
$('.field_uneditable').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<title.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).html(oldhtml);
});
});
$(function(){
var title = ['charizard','merlin','snorlax'];
var image = ['http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif','http://static.pokemon-vortex.com/images/pokemon/Charizard.gif']; $('.postbody').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<title.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).html(oldhtml);
});
$('.field_uneditable').each(function(){
var oldhtml = "";
oldhtml = $(this).html();
for(var i = 0;i<title.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).html(oldhtml);
});
$('.postprofile').each(function(){
var oldhtml = "";
oldhtml = $(this).find('dd:contains(Achievements)').html();
for(var i = 0;i<title.length;i++){
oldhtml=oldhtml.replace('['+title[i]+']','<img src="'+image[i]+'" title="'+title[i]+'">');};
$(this).find('dd:contains(Achievements)').html(oldhtml);
});
});