Advertisement:

Author Topic: Mouse Over Board  (Read 5596 times)

Offline Fanta

  • Jr. Member
  • **
  • Posts: 218
  • Gender: Male
    • Potty For Potter
Mouse Over Board
« on: January 17, 2005, 03:03:06 PM »
Forum.

How do I get it so when the mouse is placed over a certain board name and description it changes colour? (on the main forum page)

Offline Tristan Perry

  • SMF Hero
  • ******
  • Posts: 2,498
  • Gender: Male
    • Tristan Perry
Re: Mouse Over Board
« Reply #1 on: January 17, 2005, 03:07:15 PM »
You mean like what they have on Proboards? That's done using Javascript, although currently no theme author has decided to do this, I'd love it as well!  :)

Offline Fanta

  • Jr. Member
  • **
  • Posts: 218
  • Gender: Male
    • Potty For Potter
Re: Mouse Over Board
« Reply #2 on: January 17, 2005, 03:11:46 PM »
Yeah, what they have at ProBoards. ;) Anyone willing to make this?

Offline Nidoking

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Male
  • Enlightened
    • Forums
Re: Mouse Over Board
« Reply #3 on: January 17, 2005, 04:24:34 PM »
I believe the proper term is "cell highlight." And I know for a fact this can be done using PHP, as I've seen many vBulletin and IPB forums have cell highlight.

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: Mouse Over Board
« Reply #4 on: January 17, 2005, 06:06:03 PM »
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,664
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: Mouse Over Board
« Reply #5 on: January 17, 2005, 06:43:45 PM »
And I know for a fact this can be done using PHP, as I've seen many vBulletin and IPB forums have cell highlight.

FYI, you *can't* do mouseover effects with PHP because PHP is a server-side language. So you need a client-side alternative, which often means JavaScript but can sometimes be achieved through clever CSS applied to a:hover.

Offline Fanta

  • Jr. Member
  • **
  • Posts: 218
  • Gender: Male
    • Potty For Potter

Offline Nidoking

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Male
  • Enlightened
    • Forums
Re: Mouse Over Board
« Reply #7 on: January 18, 2005, 05:47:20 PM »
And I know for a fact this can be done using PHP, as I've seen many vBulletin and IPB forums have cell highlight.

FYI, you *can't* do mouseover effects with PHP because PHP is a server-side language. So you need a client-side alternative, which often means JavaScript but can sometimes be achieved through clever CSS applied to a:hover.
Oh sorry, didn't know that. So, on vB and IPB, it'd be coded in JavaScript?

Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,664
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: Mouse Over Board
« Reply #8 on: January 18, 2005, 06:32:27 PM »
Oh sorry, didn't know that. So, on vB and IPB, it'd be coded in JavaScript?

Haven't looked at one recently, but almost certainly (although pure CSS rollovers can be fun).