Misc Customizations

From eStyleCentral Help
(Difference between revisions)
Jump to: navigation, search
(To edit the separators in the menu bar:)
Current revision (04:34, 19 December 2012) (view source)
 
(One intermediate revision not shown.)
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.

Current revision

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 Settings -> "HTML Inserts" -> 4) http and https sections:

<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>

Replace http://www.efcmailserver.com/wiki/images/e/e6/Separator.gif with the full url to your own separator image.

Personal tools