Create a fixed position for a help button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mpretorius1995
    New Member
    • Jan 2012
    • 2

    #1

    Create a fixed position for a help button

    Ok, hi guys, i really need your help here,

    I have the following code :

    Code:
    <!-- http://www.LiveZilla.net Chat Button Link Code --><a href="javascript:void(window.open('http://www.warehouseshop.co.za/liveZilla/livezilla.php?reset=true','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))"><img src="http://www.warehouseshop.co.za/liveZilla/image.php?id=03" width="191" height="62" border="0" alt="LiveZilla Live Help"></a><noscript><div><a href="http://www.warehouseshop.co.za/liveZilla/livezilla.php?reset=true" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">var script = document.createElement("script");script.type="text/javascript";var src = "http://www.warehouseshop.co.za/liveZilla/server.php?request=track&output=jcrpt&reset=true&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);</script><!-- http://www.LiveZilla.net Tracking Code -->
    Now, i need that code for a help button from livezilla,
    But the thing is i need it to be in any one of the four corners of the page and stay there even when scrolling,
    I prefer it to be in the top left position, Please guys help me out over here? if you know, please like give me the complete code i can use, as i am seriously noob with html, will be much appreciated!! thax
  • Mpretorius1995
    New Member
    • Jan 2012
    • 2

    #2
    Ok, i figured it out, for anyone that needs this... i used this :

    Code:
    <!-- http://www.LiveZilla.net Chat Button Link Code --><a href="javascript:void(window.open('http://www.warehouseshop.co.za/liveZilla/livezilla.php','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))"><img src="http://www.warehouseshop.co.za/liveZilla/image.php?id=03" style="position: fixed; top: 0; left: 0;" width="191" height="62" border="0" alt="LiveZilla Live Help"></a><noscript><div><a href="http://www.warehouseshop.co.za/liveZilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">var script = document.createElement("script");script.type="text/javascript";var src = "http://www.warehouseshop.co.za/liveZilla/server.php?request=track&output=jcrpt&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);</script><!-- http://www.LiveZilla.net Tracking Code -->
    <title><?php echo $title; ?></title>
    All i did was add this.
    Code:
     style="position: fixed; top: 0; left: 0;"
    To the visual image, and now it works.

    Comment

    Working...