Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.