 |
 |
 |
 |
 |
 |
| |
CODESMART WAYS DOING STUFF
 |
 |
 |
| |
Streaming Music It took me a while to find this mp3 flash based streaming player.
One of my friends wanted to be able to present some of his music on his website for his visitors. But as music files are big and for the most people it actually takes too long to download 2-3 Mb I was looking for a streaming solution and found this wonderfull flash mp3 player. Easy to re-design and re-code.
| POSTED BY : |
DATE: |
LINK(POPUP): |
| MARZ |
MAR.19.2006 |
MP3 PLAYER |
|
|
| |
Gallery In CSS And JavaScript.I have been looking for a simple gallery function for previewing photos.
I fell for this simpel script posted by Jeremy Keith @ "A list apart"
It loads the images when pressed, headline changes for every image, it dosn't reload the page and it's short and simple, simple enough so even I were able to grasp it.
|
|
| |
PNG transparency in Internet ExplorerActually It's Incredible That Microsoft Hasn't Adressed This Issue Yet
!
PNG is actually a decent standart for incredible effects with alpha transparency. But we have been forced to hack internet explorer since the "new" image standart first got released.
PNG stands for "Portable Network Graphics" The PNG specification was first issued as a W3C Recommendation on 1 st October, 1996 and updated to a second edition incorporating all errata on 10 November 2003. This edition is also an ISO standard, ISO/IEC 15948:2003.
This code only applys to the <img> tag, I'm still looking for a script that works on css placed images as well.
| CODE |
PNG TRANSPARENCY IN INTERNET EXPLORER |
| |
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent)
{
document.writeln('<style type="text/css">img { visibility:hidden; } </style>');
window.attachEvent("onload", fnLoadPngs);
}
function fnLoadPngs()
{
var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--)
{
if (itsAllGood && img.src.match(/\.png$/i) != null)
{
var src = img.src;
var div = document.createElement("DIV");
div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizing='scale')"
div.style.width = img.width + "px";
div.style.height = img.height + "px";
img.replaceNode(div);
}
img.style.visibility = "visible";
}
} |
| POSTED BY : |
DATE: |
LINK(POPUP): |
| MARZ |
JAN.31.2005 |
SKYZYX.COM |
|
|
|
|
| |
|
|
 |
 |
 |
 |