Author Topic: Web Browser Bitch Fest (also: Kuro's gay code)  (Read 16206 times)

itsgravy

  • Jr. Member
  • **
  • Posts: 53
  • Impersonal Text
    • View Profile
Re: why my gay code not work
« Reply #15 on: July 07, 2008, 04:04:20 PM »
Double post for great justice: javascript.

Here's a simple code I wrote that'll help you satisfy IE as far as hovering goes:


Quote
<!---style.php---!>
<!--Stylesheet--->
<!--------------->


#nav, #nav ul { /* all lists */
   border-style:none;
   padding: 0;
   margin: 0;
   list-style: none;
   line-height: 1;
}

#nav a {
   border-style:none;
   margin:0;
   display: block;
   width: 10em;
}

#nav li {
   border-style:none;
   float: left;
   width: 10em; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
   border-style:none;
   position: absolute;
   background: #FFFFFF;
   width: 10em;
   left: -999em;
}

<!---Make sure to add li.jhover here---!>

#nav li:hover ul, #nav li.jhover ul {
   border-style:none;
   left: auto;
}



Quote
<!---index.html---!>
<!---HTML code--->
<!----------------->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<LINK REL=StyleSheet HREF="style.php" TYPE="text/css"/>

<title>Dropdown test</title>


<!---Javascript Code---!>
<!---------------------->


<script type="text/javascript"><!--//--><![CDATA[//><!--

jHover = function() {
   var a = document.getElementById("nav").getElementsByTagName("LI");
   for (var i=0; i < a.length; i++) {
      a.onmouseover=function() {
         this.className+=" jhover";
      }
      a.onmouseout=function() {
         this.className=this.className.replace(new RegExp(" jhover\\b"), "");
      }
   }
}
if (window.attachEvent) window.attachEvent("onload", jHover);

//--><!]]></script>


</head><body>

<table align="left" width="400">
<td>
<ul id="nav">
   <li><a href="#"><img border="0" src="http://www.spectere.net/smf/userav//avatar_1.png"></a>
      <ul>
         <li><a href="#"><img border="0" src="http://www.spectere.net/smf/userav//avatar_9.gif"></a></li>
         <li><a href="#"><img border="0" src="http://www.spectere.net/smf/userav//avatar_29.gif"></a></li>
                        <li><a href="#"><img border="0" src="http://www.spectere.net/smf/userav//avatar_16.gif"></a></li>
      </ul>
   </li>
</ul>
</div>
</td>
</table>
</body>




So... I run a few web sites at UMBC so here's a link to the final product:
http://www.umbc.edu/fm/test site/test/
I'll keep it up for a few days but I'll have to take it down after a bit so they dont find out  ;D




« Last Edit: July 07, 2008, 04:07:26 PM by itsgravy »

Alice

  • B&!!!!1!!11`
  • Hero Member
  • *
  • Posts: 1665
  • the pinnacle of human emotion
    • View Profile
    • DigitalMZX
Re: why my gay code not work
« Reply #16 on: July 07, 2008, 04:23:16 PM »
lol thx sir

but let the thread die already, geez :D

Spectere

  • \m/ (-_-) \m/
  • Administrator
  • Hero Member
  • *****
  • Posts: 5716
  • printf("%s\n", "Hi!");
    • View Profile
    • spectere.net
Re: why my gay code not work
« Reply #17 on: July 07, 2008, 04:49:28 PM »
So... I run a few web sites at UMBC so here's a link to the final product:
http://www.umbc.edu/fm/test site/test/

Dang.

Y'know, pretty much all of the comments here remind me of exactly why I hate web development. :P  What doesn't break Firefox breaks IE, what doesn't break IE breaks Opera, and what doesn't break Opera breaks Firefox.

Well, that's not entirely true, I guess.  To be perfectly honest the only thing I've ever had problems with is IE7 and under.  Go figure.
"This is a machine for making cows."

Zakamiro

  • Hero Member
  • *****
  • Posts: 1053
  • Foxy mama.
    • View Profile
    • Someplace
Re: why my gay code not work
« Reply #18 on: July 09, 2008, 06:09:59 AM »
To be perfectly honest the only thing I've ever had problems with is IE7 and under.  Go figure.

Unfortunately, many people still don't write in open standards.

I've found that it's basically IE-Internet and Standardized-Internet. All of the crappy things work fine for IE, but screws the rest of the browsers. Fortunately, compliant websites work awesomely with compliant browsers. And Opera seems to work fine for me on pages FF has a difficulty handling. (Pogo, yahoo games, funky java/javascript stuff in general)

I'm not trying to be all "web-2.0", as I still like to do web pages with tags and tag attributes. xD


We pressed on. Shortly afterwards, we arrived in a poisonous, post-apocalyptic hell - a sprawling, toxic dumping ground stretching for a mile or two. This is the final resting place for your old TV, computer or mobile phone.

Alice

  • B&!!!!1!!11`
  • Hero Member
  • *
  • Posts: 1665
  • the pinnacle of human emotion
    • View Profile
    • DigitalMZX
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #19 on: July 09, 2008, 11:06:56 AM »
Is IE8 compatible with standardized internet stuff?  I would hope that Microsoft had got the clue by now, and design their browser to force, you know, sensible code.  Lol.

Bobbias

  • #1 Poster
  • Hero Member
  • *****
  • Posts: 7210
  • 404 Avatar not found.
    • View Profile
    • Magnetic Architect
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #20 on: July 09, 2008, 02:34:05 PM »
Yeah, IE8 will pretty much be compliant.
This is going in my sig. :)

BANNED FOR BAD PUNS X_x

Spectere

  • \m/ (-_-) \m/
  • Administrator
  • Hero Member
  • *****
  • Posts: 5716
  • printf("%s\n", "Hi!");
    • View Profile
    • spectere.net
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #21 on: July 09, 2008, 08:49:40 PM »
No, IE8 pretty much is compliant.  The only issues I've been having with the beta is that the old IE6/7 hacks break the renderer.  Not too surprising, really.

Windows Update, unfortunately, doesn't play nicely with IE8 yet (I have to set it to IE7 emulation mode to use it).  Not a big deal, really...it'll work fine by the time the final release comes out.  Also, that's only a real big deal with my laptop, which still runs XP MCE.
"This is a machine for making cows."

Alice

  • B&!!!!1!!11`
  • Hero Member
  • *
  • Posts: 1665
  • the pinnacle of human emotion
    • View Profile
    • DigitalMZX
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #22 on: July 09, 2008, 09:16:31 PM »
I bet IE8 is better than FF3

Bobbias

  • #1 Poster
  • Hero Member
  • *****
  • Posts: 7210
  • 404 Avatar not found.
    • View Profile
    • Magnetic Architect
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #23 on: July 09, 2008, 10:39:09 PM »
I hate you. Also, I highly doubt it. FF3 managed to make their memory management code kick serious ass.
This is going in my sig. :)

BANNED FOR BAD PUNS X_x

Alice

  • B&!!!!1!!11`
  • Hero Member
  • *
  • Posts: 1665
  • the pinnacle of human emotion
    • View Profile
    • DigitalMZX
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #24 on: July 09, 2008, 11:14:16 PM »
You hate me because I've made a few jabs at FF?  Lol

Bobbias

  • #1 Poster
  • Hero Member
  • *****
  • Posts: 7210
  • 404 Avatar not found.
    • View Profile
    • Magnetic Architect
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #25 on: July 10, 2008, 12:24:53 AM »
It was mostly jokingly, and it was more for your support of IE than stabs at FF. If you were saying Opera was better, I'd hate you less, but because IE has been one of the worst browsers on the market, and has had a history of sucking immeasurably.
This is going in my sig. :)

BANNED FOR BAD PUNS X_x

Spectere

  • \m/ (-_-) \m/
  • Administrator
  • Hero Member
  • *****
  • Posts: 5716
  • printf("%s\n", "Hi!");
    • View Profile
    • spectere.net
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #26 on: July 10, 2008, 01:50:42 PM »
Kuro's just a helpless Opera fanboy. :3

Also, IE8 doesn't suck.  Use it prior to passing judgment, kthx.
"This is a machine for making cows."

itsgravy

  • Jr. Member
  • **
  • Posts: 53
  • Impersonal Text
    • View Profile
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #27 on: July 10, 2008, 03:53:58 PM »
Ok, lets just end this bickering and finally agree that safari is the best browser and anyone who doesn't agree is actually just overwhelmed with jealousy.


I'll always be an Opera/FF fan because I'm a big fan of open source (and getting my code to work within a reasonable time period).  I've been avoiding IE8 like the plague but I have been hearing good things about it.  It's only given me mixed feelings because after working with web development I have a grudge against IE I might never get rid of.

Bobbias

  • #1 Poster
  • Hero Member
  • *****
  • Posts: 7210
  • 404 Avatar not found.
    • View Profile
    • Magnetic Architect
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #28 on: July 10, 2008, 04:08:57 PM »
Also, IE8 doesn't suck.  Use it prior to passing judgment, kthx.

I wasn't referring to IE8 there, I was saying IE has a history of sucking. Opera has a history of generally being good. Saying IE is better than FF is more insulting than saying Opera is. I'd like to see IE manage to match and/or beat FF's current memory management system. IE7 has no real memory management system. It leave everything you've ever viewed in that session in memory till IE closes. Unless they really reworked that and made it better than FF's memory management, I'm gonna say FF is likely the most memory friendly of the browsers, and will likely continue to be for quite some time.
This is going in my sig. :)

BANNED FOR BAD PUNS X_x

Spectere

  • \m/ (-_-) \m/
  • Administrator
  • Hero Member
  • *****
  • Posts: 5716
  • printf("%s\n", "Hi!");
    • View Profile
    • spectere.net
Re: Web Browser Bitch Fest (also: Kuro's gay code)
« Reply #29 on: July 10, 2008, 05:09:40 PM »
Ok, lets just end this bickering and finally agree that safari Konqueror is the best browser and anyone who doesn't agree is actually just overwhelmed with jealousy.

Fixed.

I wasn't referring to IE8 there, I was saying IE has a history of sucking.

IE4 and IE5 were the best browsers around when they was released.

IE7 has no real memory management system. It leave everything you've ever viewed in that session in memory till IE closes.

IE never EVER did that.  Where on earth did you hear that?

It's not the best when it comes to memory usage, but it would never work on low-end systems running XP (think systems with 128-256MB of RAM) if that were the case.
"This is a machine for making cows."