By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,714 Members | 1,195 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,714 IT Pros & Developers. It's quick & easy.

Create a fixed position for a help button

P: 2
Ok, hi guys, i really need your help here,

I have the following code :

Expand|Select|Wrap|Line Numbers
  1. <!-- 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 -->
  2.  
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
Jan 15 '12 #1

✓ answered by Mpretorius1995

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

Expand|Select|Wrap|Line Numbers
  1. <!-- 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 -->
  2. <title><?php echo $title; ?></title>
  3.  
All i did was add this.
Expand|Select|Wrap|Line Numbers
  1.  style="position: fixed; top: 0; left: 0;"
  2.  
To the visual image, and now it works.

Share this Question
Share on Google+
1 Reply


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

Expand|Select|Wrap|Line Numbers
  1. <!-- 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 -->
  2. <title><?php echo $title; ?></title>
  3.  
All i did was add this.
Expand|Select|Wrap|Line Numbers
  1.  style="position: fixed; top: 0; left: 0;"
  2.  
To the visual image, and now it works.
Jan 16 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.