Misc Customizations: Difference between revisions
No edit summary |
|||
| Line 10: | Line 10: | ||
return html.replace(/\|/g, '<img src="http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif" alt="" >'); | return html.replace(/\|/g, '<img src="http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif" alt="" >'); | ||
}); | }); | ||
anylinkcssmenu.init("anchorclass"); | |||
}); | }); | ||
</script> | </script> | ||
Latest revision as of 04:34, 19 December 2012
edit
To replace to the "|" character in the menu bar with your own custom image you can use the following code. Paste this code into your General Settings -> "HTML Inserts" -> 4) http and https sections:
<source lang="javascript">
<script> $(document).ready(function(){
$('.head3').html(function(i,html) {
return html.replace(/\|/g, '<img src="http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif" alt="" >');
});
anylinkcssmenu.init("anchorclass");
}); </script>
</source>
Replace http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif with the full url to your own separator image.