PDA

View Full Version : hyper cells


Stupoo007
07-04-2001, 05:14 PM
on a ubb u can get a hack that gives you hyper cells,

http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=24&t=000081

thats the link to thehack for the ubb, can u do the same for a vBulletin?
this is for version 2.0.1

p.s please do this coz it looks really awesome!

Rune1027
07-12-2001, 04:56 AM
Yeah I would really like this hack as well :)

Matt*is*thick
07-13-2001, 06:55 PM
I was just gonna post abou this. I would really love it too! ;)

snyx
07-13-2001, 07:48 PM
is this that hack where when you mouse over the box, it highlights, cuz I was JUST to post this!

Matt*is*thick
07-13-2001, 07:58 PM
Yeah thats the one! ;)

Cruz
07-14-2001, 01:55 AM
that can easily be done by defining it via javascript...

<script language="JavaScript1.2">
function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||sour ce.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}
</script>

Then, with your forumdisplay etc, modify the table so that it is:

<table onMouseover="changeto('#214A73')" onMouseout="changeback('#000000')" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" align="center" width="115">

can easily be customized :)

maverick1236
07-14-2001, 03:46 AM
where do i put the script?
tx!
:)

Rune1027
07-14-2001, 04:36 AM
gaaaa sooo close to getting it :)

Martz
07-14-2001, 01:44 PM
That works great thanks!

If you still don't understand what to do, create a blank HTML file and put this inside it, and open it with your browser.


<html>
<head>
<script language="JavaScript1.2">
function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||sour ce.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}
</script>

</head>
<body>
<table border="1">
<tr>
<td onMouseover="changeto('#FF4444')" onMouseout="changeback('#FFFFFF')" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" align="center" width="115">
Red!
</td>
<td onMouseover="changeto('#006699')" onMouseout="changeback('#FFFFFF')" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" align="center" width="115">
Blue!
</td>
</tr>
</table>

</body>
</html>


Add the stuff in the <head> </head> into your Insert Header for that style, and then edit the templates as above! :)

rmusic
08-02-2001, 06:44 PM
for some esone this doesnt work for me any other idea or anouther way

MHR
08-03-2001, 02:11 AM
I did this on my board and it works perfectly
ForumHome_Forumbit_Level1_post template
Replace this
<td><a href="forumdisplay.php
with this

<td onMouseOver="this.style.backgroundColor='#DFDFDF';" onMouseOut="this.style.backgroundColor='#F1F1F1';"><a href="forumdisplay.php
The same goes to Forumhome_forumbit_level2_post template too.

and in forumdisplaybit template
replace this
<td bgcolor="#F1F1F1" align="left" width="70%"><normalfont>$thread[gotonew]
with this

<td bgcolor="#F1F1F1" onMouseOver="this.style.backgroundColor='#DFDFDF';" onMouseOut="this.style.backgroundColor='#F1F1F1';" align="left" width="70%"><normalfont>$thread[gotonew]
You might wanna apply it to some other template like announcement and etc.

rmusic
08-03-2001, 02:33 AM
Originally posted by MHR
I did this on my board and it works perfectly
ForumHome_Forumbit_Level1_post template
Replace this
<td><a href="forumdisplay.php
with this

<td onMouseOver="this.style.backgroundColor='#DFDFDF';" onMouseOut="this.style.backgroundColor='#F1F1F1';"><a href="forumdisplay.php
The same goes to Forumhome_forumbit_level2_post template too.

and in forumdisplaybit template
replace this
<td bgcolor="#F1F1F1" align="left" width="70%"><normalfont>$thread[gotonew]
with this

<td bgcolor="#F1F1F1" onMouseOver="this.style.backgroundColor='#DFDFDF';" onMouseOut="this.style.backgroundColor='#F1F1F1';" align="left" width="70%"><normalfont>$thread[gotonew]
You might wanna apply it to some other template like announcement and etc.


yeah i finally figured that out about 2-3 hours ago :(

ExAvIoUr
04-30-2002, 04:56 AM
hmm but it doesn't link...


will do it then post it ;)

Beekon
05-25-2002, 03:40 AM
It was working .. however, the table cells are black whenever I reload my forum. I have to move my pointer across all the cells before they 'work' like they should.
Anybody got an idea ?