Jump to content

http://www.phpfreaks.com/'s user interface


simpli

Recommended Posts

  • 2 weeks later...

Not really sure where you're finding this, but you can use opacity in css.

Google would be your best bet.

 

He's talking about the tutorial section on the main page.  When you hover over the tutorial the whole block background turns a light blue.  You can do this with CSS or in Javascript.  Just google, "change background color on hover".

Oh right yeah, that's not opacity at all, that's just a background mate.

 

You can either use javascript:

 

<div id="hover" onmouseover="document.getElementById('hover').style.background='blue';" onmouseout="document.getElementById('hover').style.background='';">stuff</div>

 

Or css:

 

#hover:hover
{
background: blue;
}

 

Hope this helps...

Lol I am jackpf.

 

What you mean javascript? Well...I have tons of submit buttons, so it's a lot easier to do it globally with css rather than having to put onmouseover="document.getblahblahblah" on on every input. Besides, who even uses IE anyway...

Lol I am jackpf.

 

What you mean javascript? Well...I have tons of submit buttons, so it's a lot easier to do it globally with css rather than having to put onmouseover="document.getblahblahblah" on on every input. Besides, who even uses IE anyway...

 

Lol, didn't have my coffee yet, I'm drinking it now!  Thought you were the OP, obviously...  :P

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.