The Best Way To Embed The Tracking Code - Event Date: 18 Sep 2006 - 29 Dec 2006
Joined: 21 Oct 2005
Location: Stoke on Trent
Calendar Event: The Best Way To Embed The Tracking Code
Posted: 18 Sep 2006 at 9:31am
The recommended way of embedding the WhosOn code into your pages is to place the code just before the end BODY tag (the </BODY>). This will ensure that your page has fully loaded before the WhosOn code is called.
This has two benefits.
1. It means that when a visitor appears in WhosOn you can be sure they viewing the full page.
2. It ensures that your pages are not effected in any way if the WhosOn server is not running.
You can then position the 'click to chat' graphic on your page using a <DIV> tag.
<DIV style="position: absolute; left: 700px; top: 46px; width:168px; height:17px" id="whoson_live_help">
Here the code is at the end of the page before the </BODY> tag, but we are showing the Chat graphic at position 700 pixels left, 46 pixels top.
The other advantage of using a DIV to set the position is that most modern web page editors let you move the DIV block around your page using the mouse.. and you can easiliy move the graphic over existing page elements.
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum