Misc Customizations: Difference between revisions
New page: ==To edit the separators in the menu bar:== 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 Se... |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
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: | 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=" | <source lang="javascript"> | ||
<script> | <script> | ||
| 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> | ||
| Line 15: | Line 18: | ||
</source> | </source> | ||
Replace | Replace http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif with the full url to your own separator image. | ||
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.