vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Mouse over effect............? (https://vborg.vbsupport.ru/showthread.php?t=33442)

Bop2Bop 12-23-2001 11:58 AM

How do i do this,
goto www.gsmmagic.com/forums
and hover your mouse over the forums and forum descripts, they turn a diferent colour like a mouse_over event, how can i implement this into my board ?

:stupid:

Lesane 12-23-2001 12:15 PM

Hmm.. they taked the Copryright away http://vec.webhostuk.com/images/smilies/new/new17.gif

Back 2 your question:

Templates:
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

Change the <td> tag to:

PHP Code:

<td style="background-color:#13486D"
onMouseover="this.style.backgroundColor='#F1F1F1';"
 
onMouseout="this.style.backgroundColor='#13486D';"

after:
PHP Code:

<td bgcolor="#1C5780" valign="top"><img src="images/$forum[onoff].gif" border="0" alt=""></td

Change #F1F1F1 to your own color.

DeeperImage 12-23-2001 12:52 PM

Hey guys can someone explain this with a little more detail? I am a rookie, i was trying to do but i am not sure if i should delete the whole in forumbit or just the first line.. thanks

Bop2Bop 12-23-2001 02:22 PM

hummm not working for me either, am i supposed to replace this
PHP Code:

<td><img src="{imagesfolder}/clear.gif" width="9" height="0" border="0" alt=""></td

with this

PHP Code:

<td style="background-color:#13486D"
onMouseover="this.style.backgroundColor='#F1F1F1';"
 
onMouseout="this.style.backgroundColor='#13486D';"

? help please

Lesane 12-23-2001 03:54 PM

I have a edited forumhome_forumbit_level1_post &
forumhome_forumbit_level2_post template so its different.

New instructions :):

In forumhome_forumbit_level1_post search for:

PHP Code:

<td><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a

And change it to:

PHP Code:

<td style="background-color:#13486D"
onMouseover="this.style.backgroundColor='#F1F1F1';"
 
onMouseout="this.style.backgroundColor='#13486D';"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a

In forumhome_forumbit_level2_post search for:

PHP Code:

<td bgcolor="#13486D" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a

And change it to:

PHP Code:

<td align="left" style="background-color:#13486D"
onMouseover="this.style.backgroundColor='#F1F1F1';"
 
onMouseout="this.style.backgroundColor='#13486D';"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a


And change the color: #F1F1F1 to your own color and also change the above color: #13486D to { firstaltcolor } (without spaces)

DeeperImage 12-23-2001 04:59 PM

Okay that worked... But i did not edit the first postbit template and it seems to be working, now when i say i didnt edit it, i meant i did not edit the colors on the first template. Can you guys check it out? and see if it works? thanks for the help, great little hack.. :D

Bop2Bop 12-24-2001 11:28 AM

lookin good :p :D

Lesane 12-24-2001 11:50 AM

Yes, looks good :)


All times are GMT. The time now is 07:27 AM.

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.01108 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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