User talk:Shadou

Hi and welcome to the wiki! (I know I'm a bit late, but still..) Could you please add credit notes to your user page. Something like "This user page has been inspired by User:Example1, User:Example2 and User:Example3." will be fine. -- (talk) 06:03, 20 August 2006 (CDT)


 * And could you please use the 'Show preview' button instead of the 'Save page' button. You are spamming the reent changes with your edits. :) --[[Image:Gem-icon-sm.png]] (talk) 06:05, 20 August 2006 (CDT)


 * Shit, sorry, I thought 'minor changes' would not spam the recent changes, sorry sorry. I'll use it from now on - while I have your attention, how do I get the custom signature thing to work correctly under preferences? I'd like to have my name and a little but can't seem to get it going


 * No problem. Really. I was just pointing it out as I had nothing better to do. People can ofcourse hide minor edits in the recent changes ifthey want, and it's good that you were marking all edits as minor, but some people like me don't hide minor edits as they want to see everythign happening in the wiki.
 * About the signature. Write the following in your 'Custom signature' field:  --Shadou  and check the 'Raw signature' checkbox. Then you can add the signature after your talk page comments with four tildes: ~ . --[[Image:Gem-icon-sm.png]]  (talk) 06:12, 20 August 2006 (CDT)
 * And if you have anything else to ask, just ask here or on my talk page. --[[Image:Gem-icon-sm.png]] (talk) 06:13, 20 August 2006 (CDT)
 * Thank you, Gem. I still seem to be having issues, though, it does not link to my User:Shadou page - see here: --Shadou 06:17, 20 August 2006 (CDT)
 * Doh, Forget that ^^. Thanks ;)
 * No problem. I just like to help people with their user pages and signtures as so many have problems with them. And the link does work. But remember that a link doesn't work if you use it on the page where it links. So if you tested on your user page, the link doesn't work. :D I hope you enjoy your time here in the wiki. --[[Image:Gem-icon-sm.png]]  (talk) 06:19, 20 August 2006 (CDT)

Kiwi
Ooooh a Kiwi, damn All Blacks beating our crappy Wallabies! --Xasxas256 06:28, 20 August 2006 (CDT)
 * All Blacks > your base. --Shadou 06:31, 20 August 2006 (CDT)
 * It's ok we beat you at everything else! :P --Xasxas256 06:33, 20 August 2006 (CDT)
 * Well, That's true. We are pretty crappy at everything apart from that oh so popular sport. ~Shadou 06:34, 20 August 2006 (CDT)
 * Heh heh, well I'm from down south so we don't really play the bum sniffing game, I did enjoy the world cup though, you know the Soccer, the real World Cup! I've probably watched far more Aussie vs Kiwi netball and cricket games than anything else. --Xasxas256 06:37, 20 August 2006 (CDT)
 * Ah, well we share a common dislike for that game, and a common like for a far superior game, one which clearly requires a certain level of skill and/or intelligence. It is nice to meet you, Xasxas256. ~Shadou 06:44, 20 August 2006 (CDT)
 * Ah you too mate, it's choice to meet you! :P :P --Xasxas256 06:46, 20 August 2006 (CDT)

Well, I finished my userpage
There we go, I've finished it - for now anyway. Much was stolen from Skuld, When I work out how to use these godforsaken mediawiki tables I'll get around to doing a new design of my own.
 * To-Do:
 * Add all characters
 * Shin Reijutsu
 * Shin Melandru
 * Mushin Ryu
 * Teinai Raiken
 * Shin Genjutsu
 * Redesign the entire thing.


 * Table open
 * Table close
 * Cell
 * Row
 * Heading cell

E.g. 2 x 2 table with 1 cell heading

Shows:

to add uhh.. thingies.. um these:, add them after the cell pipe, then end with another pipe if you need text after. Hope that isn't too confusing :) &mdash; Skuld 12:32, 20 August 2006 (CDT)
 * Makes sense, thanks Skuld - I'll get onto it right away ~Shadou 12:35, 20 August 2006 (CDT)

Javascript
Anyone know if I can embed javascript into guildwiki? I'm thinking of sandboxing a replacement template for the subst:skill bar, which uses javascript and/or css to create "popup" rollovers with the skills details. Any ideas?~Shadou 01:37, 21 August 2006 (CDT) pop.js

var dw_event = { add: function(obj, etype, fp, cap) { cap = cap || false; if (obj.addEventListener) obj.addEventListener(etype, fp, cap); else if (obj.attachEvent) obj.attachEvent("on" + etype, fp); },

remove: function(obj, etype, fp, cap) { cap = cap || false; if (obj.removeEventListener) obj.removeEventListener(etype, fp, cap); else if (obj.detachEvent) obj.detachEvent("on" + etype, fp); },

DOMit: function(e) { e = e? e: window.event; e.tgt = e.srcElement? e.srcElement: e.target; if (!e.preventDefault) e.preventDefault = function { return false; } if (!e.stopPropagation) e.stopPropagation = function { if (window.event) window.event.cancelBubble = true; } return e; } }

var RollTip = { followMouse: true, offX: 12, offY: 12, // duration of clipping animation showAni: 300, hideAni: 200, ID:"rolltipDiv", ready:false, timer:null, tip:null, init:function { var opok=(!window.opera || window.opera && opera.buildNumber && opera.buildNumber > 3800) ? true : false; if(document.createElement && document.body && typeof document.body.appendChild != "undefined" && opok){ var el=document.createElement("DIV"); el.id=this.ID; document.body.appendChild(el); this.showMult=el.offsetWidth/this.showAni/this.showAni; this.hideMult=el.offsetWidth/this.hideAni/this.hideAni; el.style.clip="rect(0, 0, 0, 0)"; el.style.visibility="visible"; this.ready=true; }	},	reveal:function(msg,e){if(this.timer){clearTimeout(this.timer);this.timer=0;}if(!this.rtready)return;this.tip=document.getElementById(this.ID);this.writeTip("");this.writeTip(msg);viewport.getAll;this.w=this.tip.offsetWidth;this.h=this.tip.offsetHeight;this.startTime=(new Date).getTime;this.positionTip(e);if(this.followMouse)dw_event.add(document,"mousemove",this.trackMouse,true);this.timer=setInterval("RollTip.rollOut",10);},rollOut:function{var elapsed=(new Date).getTime-this.startTime;if(elapsed<this.showAni){var cv=this.w-Math.round(Math.pow(this.showAni-elapsed,2)*this.showMult);this.clipTo(0,cv,this.h,0);}else{this.clipTo(0,this.w,this.h,0);clearInterval(this.timer);this.timer=0;}},

conceal:function { if(this.timer){ clearTimeout(this.timer); this.timer=0; }	this.startTime=(new Date).getTime; if(this.followMouse) dw_event.remove(document,"mousemove",this.trackMouse,true); this.timer=setInterval("RollTip.rollUp",10); },	rollUp:function { var elapsed=(new Date).getTime-this.startTime; if(elapsed<this.hideAni){ var cv=Math.round(Math.pow(this.hideAni-elapsed,2)*this.hideMult); this.clipTo(0,cv,this.h,0); } else { this.clipTo(0,0,this.h,0); clearInterval(this.timer); this.timer=0;this.tip=null; }	},	writeTip:function(msg) { if(this.tip&&typeof this.tip.innerHTML!="undefined")this.tip.innerHTML=msg; },	clipTo:function(top,rt,btm,lft) { if(this.tip&&this.tip.style) this.tip.style.clip="rect("+top+"px, "+rt+"px, "+btm+"px, "+lft+"px)"; }	}; //end of VAR RollTip.positionTip=function(e) { var x=e.pageX?e.pageX:e.clientX+viewport.scrollX; var y=e.pageY?e.pageY:e.clientY+viewport.scrollY; if(x+this.tip.offsetWidth+this.offX>viewport.width+viewport.scrollX) { x=x-this.tip.offsetWidth-this.offX; } else x=x+this.offX; if(y+this.tip.offsetHeight+this.offY>viewport.height+viewport.scrollY) { y=y-this.tip.offsetHeight-this.offY; if(y<viewport.scrollY)y=viewport.height+viewport.scrollY-this.tip.offsetHeight; } else y=y+this.offY; this.tip.style.left=x+"px"; this.tip.style.top=y+"px"; };	RollTip.trackMouse=function(e) { e=dw_event.DOMit(e); RollTip.positionTip(e); };

RollTip.rtready=true; var viewport = { getWinWidth: function { this.width = 0; if (window.innerWidth) this.width = window.innerWidth - 18; else if (document.documentElement && document.documentElement.clientWidth) this.width = document.documentElement.clientWidth; else if (document.body && document.body.clientWidth) this.width = document.body.clientWidth; }, getWinHeight: function  { this.height = 0; if (window.innerHeight) this.height = window.innerHeight - 18; else if (document.documentElement && document.documentElement.clientHeight) this.height = document.documentElement.clientHeight; else if (document.body && document.body.clientHeight) this.height = document.body.clientHeight; }, getScrollX: function  { this.scrollX = 0; if (typeof window.pageXOffset == "number") this.scrollX = window.pageXOffset; else if (document.documentElement && document.documentElement.scrollLeft) this.scrollX = document.documentElement.scrollLeft; else if (document.body && document.body.scrollLeft) this.scrollX = document.body.scrollLeft; else if (window.scrollX) this.scrollX = window.scrollX; }, getScrollY: function  { this.scrollY = 0; if (typeof window.pageYOffset == "number") this.scrollY = window.pageYOffset; else if (document.documentElement && document.documentElement.scrollTop) this.scrollY = document.documentElement.scrollTop; else if (document.body && document.body.scrollTop) this.scrollY = document.body.scrollTop; else if (window.scrollY) this.scrollY = window.scrollY; }, getAll: function  { this.getWinWidth; this.getWinHeight; this.getScrollX; this.getScrollY; } }

whatever.css

div#rolltipDiv { position:absolute; visibility:hidden; left:0; top:0; z-index:1000; width:350px; padding:3px; font-family: "Lucida Sans"; font-size:10px; background-color:#221E1F; border:1px solid white; }

whatever.html

function showRollTip(msg, e) { if ( typeof RollTip == "undefined" || !RollTip.ready ) return; RollTip.reveal(msg, e); }

function hideRollTip { if ( typeof RollTip == "undefined" || !RollTip.ready ) return; RollTip.conceal; } var1 = " message inside popup rollover ";

inside the page:

var1




 * I don't believe that you can get that working here and I don't even think that it should be allowed. Javascript can do bad things, you know. --[[Image:Gem-icon-sm.png]] (talk) 05:51, 21 August 2006 (CDT)
 * Ah, there is also a policy which practically says that the wiki is about content, not the way how it is represented. So we don't really want to have nice eye candy and such. Simple links to other articles are enough. --[[Image:Gem-icon-sm.png]] (talk) 05:52, 21 August 2006 (CDT)
 * We can use jscript, MediaWiki:Monobook.js. Just make sure it is readable and workable with javascript turned off &mdash; Skuld 06:14, 21 August 2006 (CDT)