
Color Scheme (56k warning)
Moderator: General Moderators
Color Scheme (56k warning)
How's this for a lovely color scheme then? It's supposed to be big and bold..


- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
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.
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
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
-
darryladie
- Forum Commoner
- Posts: 62
- Joined: Thu Mar 02, 2006 6:14 pm
- Location: East Sussex, UK
feyd | Please use
feyd | Please use
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);feyd | Please use
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