Posted by : Shekhar™
Tuesday, 10 May 2011
first of all remove the reference to WebRupee javascript file (http://cdn.webrupee.com/js)
add reference to jQuery (http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.min.js)
download the plugin from here(minified version) > Ben Alman » jQuery replaceText: String replace for your jQueries!
and drop in clientscript directory on server and add reference just like you have reference to vbulletin-core.js
and add this code in vbulletin-core.js file
add reference to jQuery (http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.min.js)
download the plugin from here(minified version) > Ben Alman » jQuery replaceText: String replace for your jQueries!
and drop in clientscript directory on server and add reference just like you have reference to vbulletin-core.js
and add this code in vbulletin-core.js file
Code:
$(document).ready(function() {
$('body *').replaceText(/\b(Rs.)\b/gi, '<span class="WebRupee">$1<\/span>');
});