vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   hyper cells (https://vborg.vbsupport.ru/showthread.php?t=21948)

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/ultimat...&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...
Code:

<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)||source.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:
Code:

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

Code:

<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)||source.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
Code:

<td><a href="forumdisplay.php
with this
Code:

<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
Code:

<td bgcolor="#F1F1F1" align="left" width="70%"><normalfont>$thread[gotonew]
with this
Code:

<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

Quote:

Originally posted by MHR
I did this on my board and it works perfectly
ForumHome_Forumbit_Level1_post template
Replace this
Code:

<td><a href="forumdisplay.php
with this
Code:

<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
Code:

<td bgcolor="#F1F1F1" align="left" width="70%"><normalfont>$thread[gotonew]
with this
Code:

<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 ?


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01019 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete