User talk:Quinn

Revision as of 11:22, 23 March 2013 by Quinn (talk | contribs)

Hi,

Could u delete my pages Template:ForLoop and Template:ForLoopHelper ? It was test, i want to simulate for loop, but its impossible :( . In theoretical base its possible, but wiki blocks it... Thank u :) // Sarevok (talk) 20:03, 7 February 2013 (CET)


Hello,

I finished a locator for maps, if u want it, u can copy from my page http://myspace.aspone.cz/js.htm , its a simply js function - will be good for maps as red forest, when friends go on metins. Did u think about ACESSKEYS? :)

Sarevok (talk) 08:55, 20 February 2013 (CET)

How does it work? Quinn () 15:39, 20 February 2013 (CET)


U have universal standard function in javascript
function pozice(width, height, object) {
var x=Math.round(event.offsetX.valueOf()*width.valueOf()/(object.width.valueOf()-1));
var y=Math.round(event.offsetY.valueOf()*height.valueOf()/(object.height.valueOf()-1));
object.title=x+', '+y;
}

To picture u add it throught action onmove

<img src="mapa.png" alt="obrazek" onmousemove="pozice(800, 600, this)" />

This function has 3 variables, first is width, second height, third is standard pointer to object. So u as user edit only first two. In its simplest terms u put to this function coords from right bottom corner. After it when u will have mouse on picture of map, it will write u correctly ingame coords on every point of this map. It counts it from the width and height (right bottom coord).


ACESSKEY is good thing too, u can add to object key from keyboard, for example, to link of monster u can add acesskey="m" and when u push alt+m, u go to this link without searching on the site => its really comfortable for better users.

Could u delete page Switch ? thanx
I tried to make button, which will hide/unhide blocks/elements without JS on page (css display:none), but its impossible. I dont find any dynamic parameter for it, this wiki is a little static [[File:{{{1}}}|link=]] .
Sarevok (talk) 13:42, 21 March 2013 (CET)

Deleted [[File:{{{1}}}|link=]] I think that the only way how to affect this wiki's JS is edit MediaWiki:Common.js. Quinn () 15:46, 21 March 2013 (CET)
I think its not exactly true, but I dont want affect anything throught JS. I tried it throught some dynamic parameter, because wiki is normally based on php (throught something like history, counter, manipulation throught link and so). JS interaction work on localhost and php (wiki)/asp/jsp... interaction work on server. JS is very unsave thing, work something throught JS is really bad, many users turn it off. Throught JS work many unsave application as BeEF, LOIC and so. Do u have some experience with extensions counter and tag? Sarevok (talk) 12:36, 22 March 2013 (CET)
No, I don't have experiences with those two. I don't see any meaningful use. Quinn () 11:22, 23 March 2013 (CET)