To have one button on a page place this code at top:
- Code: Select all
<script language="javascript" type="text/javascript" src="http://www.liveadmin.net/client/liveadmin.php?key=SITE_KEY"></script>
where SITE_KEY is the site key and this code where button should be visible:
- Code: Select all
<span id='liveadmin'></span>
But if you want to add two of them with SITE_KEY_1 and SITE_KEY_2 place this at the top:
- Code: Select all
<script language="javascript" type="text/javascript" src="http://www.liveadmin.net/client/liveadmin.php?key=SITE_KEY_1&tag=liveadmin_btn_1"></script>
<script language="javascript" type="text/javascript" src="http://www.liveadmin.net/client/liveadmin.php?key=SITE_KEY_2&tag=liveadmin_btn_2"></script>
and then first button using:
- Code: Select all
<span id='liveadmin_btn_1'></span>
and second button using:
- Code: Select all
<span id='liveadmin_btn_2'></span>
Regards
Farhad Malekpour