Message With Visitor's Name On HP

Don Von Alpha Dom
by Don Von Alpha Dom · 2 posts
12 years ago in General
Posted 12 years ago · Author
Code
<script type="text/javascript">
if(document.getElementById("mininav-avname")) {
  var AviName = document.getElementById("mininav-avname").innerHTML;
  var AviMsg = "Edit here for logged in users message " + AviName + " And here";
document.write(AviMsg);
}
else {
  var VisMsg = "Edit here for non-logged in users message";
document.write(VisMsg);
}
</script>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT