Color Scheme (56k warning)
Posted: Thu Mar 02, 2006 9:30 am
How's this for a lovely color scheme then? It's supposed to be big and bold..


A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/

Currently it's in photoshop.. however, the final version will be CSS, with a semi transparent PNG background (and IE hack for alpha) for the gradient.jayshields wrote:Nice
I hope it's CSS
If so, how did you do the gradient & circle in the background?
Is it just a big image?
It would be perfect if the circle peaked in the centre of the layout instead of being off to the right a little.
I know approximately what I want, and that includes the gradient .. hence Photoshop. If I just wanted the boxes I'd have gone straight to HTML.jayshields wrote:Why make it on Photoshop first? Planning?
What is the IE hack for alpha in PNG's?onion2k wrote:however, the final version will be CSS, with a semi transparent PNG background (and IE hack for alpha) for the gradient.
Ask google.agtlewis wrote:What is the IE hack for alpha in PNG's?onion2k wrote:however, the final version will be CSS, with a semi transparent PNG background (and IE hack for alpha) for the gradient.
Close. It's a "Web 2.0" (scriptaculous effects and AJAX) multi-user portrait gallery.matthijs wrote:is it for some web 2.0 wake-up service which pops up in the morning when starting up ones pc?
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]Code: Select all
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >= 5.5) && (document.body.filters))
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+ "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
img.outerHTML = strNewHTML
i = i-1
}
}
}
}
window.attachEvent("onload", correctPNG);Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]No Thanks.Roja wrote:Ask google.agtlewis wrote:What is the IE hack for alpha in PNG's?onion2k wrote:however, the final version will be CSS, with a semi transparent PNG background (and IE hack for alpha) for the gradient.
http://www.google.com/search?sourceid=m ... pha+in+PNG