* Lordeagle Please Admin is there any code to move not remove xtgem authentication panel, button or link that floats up and down the page depending on browser.
2015-06-12 12:28 · (0)
* Graham * Lordeagle
<xt:auth />
<script>document.getElementById("xt_auth_iframe").style.position="absolute";</script>

Copy code

This will cause the auth bar to stay in the top right instead of floating
It can be extended to position the auth bars iframe in other positions
The <xt:auth> makes sure the auth code is before the javascript on the page
2015-06-13 03:15 · (0)
* Graham * Lordeagle Here is a javascript that will control all the css of the xt auth iframe
it is set with the default values
you cannot alter or get the the actual content of the iframe
all you can do is change it's appearance and position
<div id="auth"><xt:auth /></div>
<script>
  var auth=document.getElementById("auth");
  var style=auth.getElementsByTagName("style");
  var iframe=auth.getElementsByTagName("iframe");
  style[0].innerHTML="html { padding-top: 26px; } #xt_auth_iframe { position: fixed; top: 0; left: 0; background: transparent; }"
  iframe[0].style.width="100%";
  iframe[0].style.border="0";
  iframe[0].style.height="26px";
  </script>

Copy code
2015-06-13 07:45 (edited 2015-06-13 07:46 by Graham ) · (0)
* Lordeagle * Graham Thanks So much Mr Graham! Its realy helpful.
Please Sir What will I to stop my forum from redirecting me to my homepage when i spent up to 5mins typing what to post and the post won't be posted instead i will be directed to the homepage the forum is http://eaglenet.xtgem.com
2015-06-13 10:07 · (0)
* Ekonime I want to move, but css styles keep in original
2017-01-07 04:36 · (0)

Online: Guests: 1