Welcome, Guest. Please Login or Register.
April 27, 2025, 06:17:06 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1] Cell MouseOver Highlight (BI & MI) « previous next »
Pages: 1 [2] 3 Reply Ignore Print
Author Topic: [Done 1.5.1] Cell MouseOver Highlight (BI & MI)  (Read 8156 times)
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #15 on: February 10, 2003, 09:45:00 PM »
Reply with quote

Quote from: mephisto_kur on February 10, 2003, 09:40:30 PM
So go one up and apply it to the bounding table instead.
Change the td# to table#

The table is defined for the whole block, including the headers of the columns.
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
mephisto_kur
Sr. Member
****
Posts: 308


Hi ho.

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #16 on: February 10, 2003, 09:45:10 PM »
Reply with quote

Quote from: mephisto_kur on February 10, 2003, 09:40:30 PM
So go one up and apply it to the bounding table instead.
Change the td# to table#

Hmm, this still wouldn't fix the problem.
Logged



Awmp, ding, soo googoongee doop, dee
Googoo Fleegoogeegoo
Goo Fleegoogeegoo
Duht, Deeheeh
Oogoogoog Dtee
Oogoogagoo oogoogweee
Fleegoogeegoo, fleegow
Go go mah mah mefs sufh yeah...
mephisto_kur
Sr. Member
****
Posts: 308


Hi ho.

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #17 on: February 10, 2003, 09:45:33 PM »
Reply with quote

You must have replied right after me.
Logged



Awmp, ding, soo googoongee doop, dee
Googoo Fleegoogeegoo
Goo Fleegoogeegoo
Duht, Deeheeh
Oogoogoog Dtee
Oogoogagoo oogoogweee
Fleegoogeegoo, fleegow
Go go mah mah mefs sufh yeah...
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #18 on: February 10, 2003, 09:49:05 PM »
Reply with quote

I guess (look at the time ;))

So, it wouldn't be possible to just declare a new value in the (external) CSS file, for let's say :

.boardindexcolor {background-color: transparent; background-image: url(http://www.salesplaza.nl/forum/YaBBImages/balk1.gif);}

and use that $boardindexcolor-value in the "onmouseover" instead of the $windowbg ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
mephisto_kur
Sr. Member
****
Posts: 308


Hi ho.

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #19 on: February 10, 2003, 09:54:10 PM »
Reply with quote

The problem with that is it does not define a :hover state.
I can at least duplicate the original concept using pure CSS, I just can't get the whole table to be clickable.
This duplicates the original mod:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
       <title>Untitled</title>
<style type="text/css">
table#links
          {display: block;
           margin: 0;
           border: 1px solid #aca;
           COLOR: #000;
           font-family: Verdana;
           BACKGROUND-COLOR: transparent;
           TEXT-DECORATION: none}

table#links:hover {background: yellow;}

</style>
</head>

<body>
<table id="links">
<tr>
<td>
<a href="http://forum.heavybrick.com">Heavybrick</a><br>what about this?
</td>
</tr>
</table>
<table>
<tr>
<td>
<a href="http://www.yabbse.org">YaBBSE</a>
</td>
</tr>
</table>
</body>
</html>
Logged



Awmp, ding, soo googoongee doop, dee
Googoo Fleegoogeegoo
Goo Fleegoogeegoo
Duht, Deeheeh
Oogoogoog Dtee
Oogoogagoo oogoogweee
Fleegoogeegoo, fleegow
Go go mah mah mefs sufh yeah...
mephisto_kur
Sr. Member
****
Posts: 308


Hi ho.

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #20 on: February 10, 2003, 09:55:46 PM »
Reply with quote

Quote from: Webby on February 10, 2003, 09:49:05 PM
I guess (look at the time ;))

So, it wouldn't be possible to just declare a new value in the (external) CSS file, for let's say :

.boardindexcolor {background-color: transparent; background-image: url(http://www.salesplaza.nl/forum/YaBBImages/balk1.gif);}

and use that $boardindexcolor-value in the "onmouseover" instead of the $windowbg ?

BTW, $windowbg2 is pulling from the settings in the Admin Center, not the CSS of the template.  What you need to look for is where it would say class="windowbg2" without the dollar sign.
Logged



Awmp, ding, soo googoongee doop, dee
Googoo Fleegoogeegoo
Goo Fleegoogeegoo
Duht, Deeheeh
Oogoogoog Dtee
Oogoogagoo oogoogweee
Fleegoogeegoo, fleegow
Go go mah mah mefs sufh yeah...
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #21 on: February 10, 2003, 09:57:03 PM »
Reply with quote

hhmmmm......nothing a good night sleep can't solve ;) ....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1RC1] Cell MouseOver Highlight (BI & MI)
« Reply #22 on: March 01, 2003, 12:22:58 AM »
Reply with quote

Quote from: mephisto_kur on February 10, 2003, 09:43:46 PM
Most users see a mouseover and think the entire area of effect is clickable.

it could be done too using javascript onClick
but sometimes there are more than 1 link in a table cell
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Owdy
Full Member
***
Posts: 160


Finnish Noobie

spam@hoitajat.net WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #23 on: March 17, 2003, 07:53:52 AM »
Reply with quote

2: fopen(Sources/BoardIndex.php) [function.fopen]: failed to create stream: Permission denied
(/www/int2000/a/*****/html/foorumi/Sources/Packages.php ln 359)

I get that error, any ideas? I have RC1, latest release.

Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #24 on: March 17, 2003, 08:04:43 AM »
Reply with quote

Directory permissions. Chmod your directorys as the readme.html suggests.

Quote from: Owdy on March 17, 2003, 07:53:52 AM
2: fopen(Sources/BoardIndex.php) [function.fopen]: failed to create stream: Permission denied
(/www/int2000/a/*****/html/foorumi/Sources/Packages.php ln 359)

I get that error, any ideas? I have RC1, latest release.


Logged

I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #25 on: March 17, 2003, 01:53:05 PM »
Reply with quote

If I may ask, which file is the mousover command located in? I would like to change the bg colour for highlight, but I don't believe I see the relevant command in the template.
Logged

1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #26 on: March 17, 2003, 04:21:05 PM »
Reply with quote

You see all of the

                  <td class="windowbg2" onMouseOver="this.style.backgroundColor=\'' . $color['windowbg'] . '\'" onMouseOut="this.style.backgroundColor=\'\'" valign="middle" width="22%">

type of things? That's the mouseover command, :P
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #27 on: March 17, 2003, 04:21:43 PM »
Reply with quote

as the title in this topic say... BoardIndex.php and MessageIndex.php
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #28 on: March 17, 2003, 04:30:51 PM »
Reply with quote

Oh dur. *Slaps himself* I misread what he said. I thought asked where the command was. *boggles* But he asked what the COLORS were, whupsie. :-X

The COLORS are set in your settings page, in the admin section. The $color ['windowbg'] is its own color page in the admin place. with the name of windowbg, obviously :P There's windowbg, windowbg2, and so forth, I believe.
Logged
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[Done 1.5.1RC1] Cell MouseOver Highlight (bi & Mi)
« Reply #29 on: March 17, 2003, 06:47:59 PM »
Reply with quote

Ah, thanks for that - both answered it in different ways. :)
Logged

Pages: 1 [2] 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1] Cell MouseOver Highlight (BI & MI) « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.072 seconds with 16 queries.