The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hello, id like a js code to make a "to the top" bar on the right side of the screen.
somehting like on http://groups.google.ca/group/alt.pc...0b935057feb408 |
|
#2
|
|||
|
|||
|
Look into the source code of this site and you know how to do.
|
|
#3
|
|||
|
|||
|
i already tryed
![]() i need the code code you try it
|
|
#4
|
||||
|
||||
|
the two Java Scripts:
HTML Code:
function getObjects() {
d = document.getElementById( 'topicfloat' );
t = document.getElementById( 'ln' ).offsetTop + 20;
}
var tot_img = null;
function log_tot() {
try {
if (window.tot_img)
return;
window.tot_img = new Image(1,1);
window.tot_img.src = "http://groups.google.com/groups?lnk=tot&n=" + Math.floor(Math.random() * 1000);
} catch(e) {
// Ignore
}
}
HTML Code:
<div style="position: absolute; top:0; right:0; z-index:3; display:none; float:right;border-bottom:1px solid #ffcc33;border-left:1px solid #ffcc33; background:#fff4c2; padding:3px;cursor:pointer;" id="topicfloat" onclick="window.scrollTo(0,0);log_tot();"><strong> Topic: Does vBulletin v3.0.0 support foreign languages?</strong> - <a href="javascript:;" style="color:#0000cc">go to top</a></div> |
|
#5
|
|||
|
|||
|
whoot..... where do i put that? (so tis on every page) the header?
and can you amke that work 4 my forum? (www.frozencreations.net) i see you just copyed the source...? lol... u must have done it different /; |
|
#6
|
||||
|
||||
|
Wrap the JS in
HTML Code:
<script language="JavaScript" type="text/JavaScript"> <!-- ... //--> </script> |
|
#7
|
|||
|
|||
|
no, it dosent, and it still has googles info in it /; could u try? and config it 2 go with vb?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|