![](https://xisto.com/discuss/uploads/set_resources_4/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
iGuest
Members-
Content Count
72,093 -
Joined
-
Last visited
-
Days Won
5
Everything posted by iGuest
-
Is there anybody here that can recomend a good book about MySQL... please... not so advanced! A good introduction to MySQL.Regards,davidw :roll:
-
OK Here is a example page. http://forums.xisto.com/no_longer_exists/ In fact ,addEvent function in this script is very useful,it can replace some Event script, for example window.onload=make;Replace to: addEvent(window, "load", make);It both works well in Mozilla and IE.
-
can i see a live example please?
-
Atcually you can get it at zymic.com Personally I like the templates by zymic and also they have a tut about making a template...I'm sure you guys like them a lot.. :wink:
-
I have made it better.The Code can also work well both in Mozilla and IE now. addEvent(window, "load", make);var rate = 20; var act = 0; var elmH = 0; var elmS = 128; var elmV = 255; var clrOrg; var TimerID; function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; }else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; }else { return false; }}function getParent(el, pTagName){ if (el == null) return null; else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase()) // Gecko bug, supposed to be uppercase return el; else return getParent(el.parentNode, pTagName);}function make(){ if(!document.createElementNS) { document.createElementNS = function(ns,elt) { return document.createElement(elt); } } if(!document.links) { document.links = document.getElementsByTagName("a"); } for (var ti=0;ti<document.links.length;ti++) { var lnk = document.links[ti]; addEvent(lnk,"mouseover",doRainbowAnchor); addEvent(lnk,"mouseout",stopRainbowAnchor); addEvent(lnk,"focus",doRainbowAnchor); addEvent(lnk,"blur",stopRainbowAnchor); }}function doRainbowAnchor(e) { if (act != 1) { if (window.event && window.event.srcElement) { obj = window.event.srcElement; } else if (e && e.target) { obj = e.target; } if (!obj) return; if (obj.nodeType == 3) { // obj is a textnode -- ascend parents until we hit a link obj = getParent(lnk,"A"); } if (!obj) return; act = 1; clrOrg = obj.style.color; TimerID = setInterval("ChangeColor(obj)",100); }}function stopRainbowAnchor(e) { if (act != 0) { if (window.event && window.event.srcElement) { obj = window.event.srcElement; } else if (e && e.target) { obj = e.target; } if (!obj) return; if (obj.nodeType == 3) { // lnk is a textnode -- ascend parents until we hit a link obj = getParent(obj,"A"); } if (!obj) return; obj.style.color = clrOrg; clearInterval(TimerID); act = 0; }}function ChangeColor(obj) { obj.style.color = makeColor(); }function makeColor() { if (elmS == 0) { elmR = elmV; elmG = elmV; elmB = elmV; } else { t1 = elmV; t2 = (255 - elmS) * elmV / 255; t3 = elmH % 60; t3 = (t1 - t2) * t3 / 60; if (elmH < 60) { elmR = t1; elmB = t2; elmG = t2 + t3; } else if (elmH < 120) { elmG = t1; elmB = t2; elmR = t1 - t3; } else if (elmH < 180) { elmG = t1; elmR = t2; elmB = t2 + t3; } else if (elmH < 240) { elmB = t1; elmR = t2; elmG = t1 - t3; } else if (elmH < 300) { elmB = t1; elmG = t2; elmR = t2 + t3; } else if (elmH < 360) { elmR = t1; elmG = t2; elmB = t1 - t3; } else { elmR = 0; elmG = 0; elmB = 0; } } elmR = Math.floor(elmR); elmG = Math.floor(elmG); elmB = Math.floor(elmB); clrRGB = '#' + elmR.toString(16) + elmG.toString(16) + elmB.toString(16); elmH = elmH + rate; if (elmH >= 360) elmH = 0; return clrRGB; }
-
lol nareth, thats an intreresting tale
-
Mozilla Firefox
-
d12,dr.dre and snoop dogg
-
For me the best song is bastino - jedinaI believe that you don't know it, beacuse it's a croatian song.
-
Thanks for doing your googling, wangsoft, it looks like you have a lot of free time! I recommend you do the same with Bohemian Rhapsody, and check what this song has achieved, as I can't be arsed to do it - it's too much stuff. Probably one worth mentioning the Best British Single of All Time, by the Guiness World of Records. Not as good as all those polls from north-american radios, I reckon, but what the heck... You'll see that THIS side of the Atlantic (as I've stated in my post)BoRhap ranks much better than Stairway in generic polls. Don't get me wrong, I DO like Stairway To Heaven, know the guitar from begin to end, but even inside the Led Zeppelin catalogue are much better songs. It's a great great tune, but isn't genius, like BoRhap. It's like comparing Verdi's "Spring" to Bach's "Tocatta and Fugue in D Minor".Cheers
-
COKE! 8) If you live in the South (USA) then you're gonna like coke, if you live in the north then your gonna like pepsi lolalso these crapy Commercials that say they can't taste the diff between the 2, they are all lieing, there is a BIG diff between the 2 and coke just rocks lol
-
how many times did you saw your favorite movies ?
iGuest replied to iGuest's topic in General Discussion
White chicks - 5 timesI,robot -3 timesFast and furious - 2 times -
Dodgeball..... I watched it at the cinema.. And it was really boring
-
White Chicks is the best comedy ever!!!!
-
Once a month...
-
For me is it White Chicks
-
This is the best game ever! And it's not boring...
-
Sims 2 is not only for girls! I like this game to
-
you never spammed
-
they are all bad if you wanna live healthy
-
my fav computer is the one with 5 teraflops(speed, 1 tf=100ghz) wich stands in my huge basementi can run a 3d simulation of earth on it
-
Canon products are the best ! ... They have the best quality/price relation ...It all depends how much money are you able to spend ...About the place I can't help you , never been in NY ....