Guest JaseP Posted July 9, 2003 Report Share Posted July 9, 2003 Don't count on that until Unisys makes a press release... Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 9, 2003 Author Report Share Posted July 9, 2003 The LZW compression patent has expired and as far as I know UNISYS hasn't extended it. In other words, GIF is now public domain. Glitz. That may be true, doesn't stop it from being a crappy format. Quote Link to comment Share on other sites More sharing options...
Darkelve Posted July 9, 2003 Report Share Posted July 9, 2003 I hate IE! MottS YEAHHHH!!! That's the spirit!!!!!!! To relieve M$ related frustration try the following as root type urpmi xbill && xbill What level can you get up to? James I got up te level 30, 50-thousans-and-something; then it froze on me. I didn't read the message though, maybe it was over? Darkelve Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 10, 2003 Author Report Share Posted July 10, 2003 Paul: I feel really stupid, I can't seem to get that code of yours working. I really don't know too muh about php yet, so I don't know what to insert where. EDIT: PHP wasn't running properly on my machine :roll: Let me sort that out before I complain... Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 10, 2003 Author Report Share Posted July 10, 2003 ok, php is going. I get the image displayed with the first bunch of code you gave me, but I can't figure out the mouseover switch. Here is what I was using: <script language="JavaScript"> img0_on = new Image(45,45); img0_on.src="images/home_on.png"; img0_off = new Image(45,45); img0_off.src="images/home.gif"; function over_image(parm_name) { document[parm_name].src = eval(parm_name + "_on.src"); } function off_image(parm_name) { document[parm_name].src = eval(parm_name + "_off.src"); } </script> So then I added your bit to load the filter, and changed my code (as above) to include the bits you suggested. No go. I'm sure I'm doing something wrong by being dumb. Here is what I had: <? // usage: put_png("images/home.png", 45, 45); function put_png($path2img, $width, $height) { global $HTTP_USER_AGENT; $suffix = "10px"; // this is for style size ... example 10px if (ereg("MSIE", $HTTP_USER_AGENT) && ereg("Windows", $HTTP_USER_AGENT) && !ereg("Opera", $HTTP_USER_AGENT)) { echo"<div id="stoopid_MS1" style="position:relative; height:$height$suffix; width:$width$suffix; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$path2img',sizingMethod='scale');"></div>"; } else { echo"<img src="$path2img" width="$width" height="$height">"; } } ?> <script language="JavaScript"> img0_on = new Image(45,45); img0_on.src="images/home_on.png"; img0_off = new Image(45,45); img0_off.src="images/home.gif"; function over_image(parm_name) { document[parm_name].src = eval(parm_name + "_on.src"); document[parm_name].className="stoopid_ms2"; } function off_image(parm_name) { document[parm_name].src = eval(parm_name + "_off.src"); document[parm_name].className="stoopid_ms1"; } </script> <a href="index.php" onmouseover="over_image('img0');" onmouseout="off_image('img0')"><img src="images/home.png" class="stoopid_MS1" border="0" name="img0" alt="Home"> e"> Ok, so first off, I should have that first set of code for the over image right? But I can't figure it out and I get errors all over the place. I should really try and find some time to learn php :roll: - feel very stupid right now. Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 10, 2003 Report Share Posted July 10, 2003 Badly translated ... if someone else wants to translate this or find it in English feel free. Source LOGIN: No. 108 *AOL time warner the provideor of international internet access (comment how can it pretend to be international with a name like that???) with Netscape and the messaging software AIM will finish to have the skin of Microsft and the sound of MSN in Internet Exporer and MSN messenger. The old companion of the SUN route has been harassed by the vengefuill actions of American Justice. but loves to change for thebnetter the attitude and rhythm of the governements. It hasnøt always resed and reused the formula of Bill Gates to be disloyal. But, starting in june Micro$ suddenly calmed the difficulites by *Giving a check of 750 Million dollars. For that AOL immeiately abandoned netscape to be the best promoter of Internet Explorer at the centre of its internet suite and worked to make AIM compatible with MSN instant messenger and has the pleasure and 'privelgide'to provide music and videos under copyright in the format of Windows media player 9 ealier than Quicktime or Real. Quote Link to comment Share on other sites More sharing options...
Glitz Posted July 11, 2003 Report Share Posted July 11, 2003 Don't count on that until Unisys makes a press release... Just out of curiosity, how long do they have to apply for renewal? Glitz. Quote Link to comment Share on other sites More sharing options...
Glitz Posted July 11, 2003 Report Share Posted July 11, 2003 The LZW compression patent has expired and as far as I know UNISYS hasn't extended it. In other words, GIF is now public domain. Glitz. That may be true, doesn't stop it from being a crappy format. From a technical standpoint it was a relatively well thought out and extensible format that lent itself well to streaming similar to mp3 or ogg. I implemented an encoder once for the GIF '89 format (circa 1990) and found the LZW compression interesting. I don't remember anymore, however, if the number of palette entries was limited to index sizes of 8 bits or if larger indexes could be specified. It's not great for true colour images though. I switched to .TGA files for that. Glitz. Quote Link to comment Share on other sites More sharing options...
qnr Posted July 11, 2003 Report Share Posted July 11, 2003 I was flipping through some floppies a little while back, and found I still had GIFs of friends from Chat in the early '80's. Monochrome... about 240x240 I think, maybe even lower resolution. Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 17, 2003 Author Report Share Posted July 17, 2003 Ok, I've given up. There are several hacks to get the images displayed, but rollovers are a nightmare. So I've opted for solid background pngs, at least then I don't trash the format. Just reworked my background (doesn't look as cool now as it would've). It is disgusting how bad IE really is, there IS NO WORSE BROWSER - I dare anyone to prove me wrong... Quote Link to comment Share on other sites More sharing options...
Darkelve Posted July 17, 2003 Report Share Posted July 17, 2003 It is disgusting how bad IE really is, there IS NO WORSE BROWSER - I dare anyone to prove me wrong... Oh, I sense a religious war coming up! Maybe I'll try to prove it factually. Hey, with its record and tracks left, it should be possbile, no? After all, a 200-pound disabled monster should leave tracks somewhere ;) Quote Link to comment Share on other sites More sharing options...
tyme Posted July 17, 2003 Report Share Posted July 17, 2003 It is disgusting how bad IE really is, there IS NO WORSE BROWSER - I dare anyone to prove me wrong... *grabs something out of the garbage, labels it "G Browser", proves SoulSe wrong* Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 17, 2003 Author Report Share Posted July 17, 2003 It is disgusting how bad IE really is, there IS NO WORSE BROWSER - I dare anyone to prove me wrong... *grabs something out of the garbage, labels it "G Browser", proves SoulSe wrong*At least G Browser won't crash and ask you if you would like to notify its creator of the crash. So much for your proof. Quote Link to comment Share on other sites More sharing options...
tyme Posted July 17, 2003 Report Share Posted July 17, 2003 It is disgusting how bad IE really is, there IS NO WORSE BROWSER - I dare anyone to prove me wrong... *grabs something out of the garbage, labels it "G Browser", proves SoulSe wrong*At least G Browser won't crash and ask you if you would like to notify its creator of the crash. So much for your proof. you, it won't crash because it won't even start! I.E. atleast does SOMETHING, even if it just always crashes ;-) :-P Quote Link to comment Share on other sites More sharing options...
SoulSe Posted July 17, 2003 Author Report Share Posted July 17, 2003 You moderators always have to one-up us plebs, don't you?!? :P Anyway, 10 bucks says your G Browser has a better looking GUI. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.