User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 68: Line 68:
:As for the gradient, basically, both Firefox and the WebKit browsers (Safari and Chrome) support "alpha masks", which you can kinda think of as images that you can put on top of/overlay on other images or text which make different parts of the lower image transparent to different extents. For a different analogy, they're more like those slides/transparencies that you'd use with the old fashioned overhead projectors, but rather than being completely clear, you can put any image on them that you want, and when you lay it over another slide/transparency, it would block out parts of the lower image. Anyway, in addition to that, WebKit supports the ability to create gradients programmatically, which can then be used as an alpha mask. So, that's what I did. It should work in both Safari and Chrome, I believe. Firefox will eventually get the ability to do it, I'm sure. And maybe in 10-15 years IE users (assuming it's even still around) might be able to enjoy it too. :P {{User:Aichon/Signature}} 17:08, 16 October 2010 (BST)
:As for the gradient, basically, both Firefox and the WebKit browsers (Safari and Chrome) support "alpha masks", which you can kinda think of as images that you can put on top of/overlay on other images or text which make different parts of the lower image transparent to different extents. For a different analogy, they're more like those slides/transparencies that you'd use with the old fashioned overhead projectors, but rather than being completely clear, you can put any image on them that you want, and when you lay it over another slide/transparency, it would block out parts of the lower image. Anyway, in addition to that, WebKit supports the ability to create gradients programmatically, which can then be used as an alpha mask. So, that's what I did. It should work in both Safari and Chrome, I believe. Firefox will eventually get the ability to do it, I'm sure. And maybe in 10-15 years IE users (assuming it's even still around) might be able to enjoy it too. :P {{User:Aichon/Signature}} 17:08, 16 October 2010 (BST)
::Oh man, that's fantastic, didn't realise it worked on Chrome too. -- {{User:DanceDanceRevolution/l}} 07:56, 18 October 2010 (BST)
::Oh man, that's fantastic, didn't realise it worked on Chrome too. -- {{User:DanceDanceRevolution/l}} 07:56, 18 October 2010 (BST)
:::If something works on Safari, 999 times out of 1000, it works on Chrome too, since Google used Apple's open source WebKit rendering engine as the basis for Chrome. I've run into a few things that work differently, especially since Chrome auto-updates with newer versions of WebKit whereas Safari users have to wait for Apple to push out updates, but they are almost always identical in terms of how they show things. {{User:Aichon/Signature}} 09:12, 18 October 2010 (BST)


==Yagoton Groups template==
==Yagoton Groups template==

Revision as of 08:12, 18 October 2010

Aichon:Talk
Aichon
ˈīˌkän :Talk