vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   hyow to disable onmouseover effect (https://vborg.vbsupport.ru/showthread.php?t=94555)

HaYLaZ 08-18-2005 12:28 PM

hyow to disable onmouseover effect
 
hi friends.
ı setup a style but in forumhome over categories there is a mouseover effect and this slows the forum up to down so ı want to disable this effect but ı dont konw how can do this please hepl :surprised:

Vizionz 08-18-2005 01:52 PM

Quote:

Originally Posted by HaYLaZ
hi friends.
ı setup a style but in forumhome over categories there is a mouseover effect and this slows the forum up to down so ı want to disable this effect but ı dont konw how can do this please hepl :surprised:

Code:

// ++ ========================================================================++
// || Open Template: "forumhome_forumbit_level2_post"
// ++ ========================================================================++
// ++ ========++
// || Find:  ||
// ++ ========++
//=================================================================================

        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">

//=================================================================================
// ++ ==============++
// || Replace With: ||
// ++ ==============++
//=================================================================================

        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='forumdisplay.php?$session[sessionurl]f=$forum[forumid]';">

//=================================================================================
// ++ ========================================================================++
// || Open Template: "forumhome_forumbit_level1_post"
// ++ ========================================================================++
// ++ ========++
// || Find:  ||
// ++ ========++
//=================================================================================

        <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

//=================================================================================
// ++ ==============++
// || Replace With: ||
// ++ ==============++
//=================================================================================

        <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='forumdisplay.php?$session[sessionurl]f=$forum[forumid]';">


thats to create a mouseover on the forum so just look for the mmouseover and change it back to the orginal in that hack

HaYLaZ 08-18-2005 03:40 PM

hi friend thanks for your help but in the templates there isnt any code that you said

my codes are below if you can edit them ı will happy

forumhome_level2post
PHP Code:

<tr align="center">
    <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
    <
td class="alt1Active" align="$stylevar[left]id="f$forum[forumid]">
        <
div>
            <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
            <if 
condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
        </
div>
        <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
        <if 
condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
        <if 
condition="$show['subforums']"

            <
table width="100%" cellpadding="1" cellspacing="0" border="0"

            <
tr

                <
td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td

            </
tr

            <
tr

                
$forum[subforums

            </
tr

            </
table

        </if>
    </
td>
    <
td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
    <
td class="alt1">$forum[threadcount]</td>
    <
td class="alt2">$forum[replycount]</td>
    <if 
condition="$vboptions['showmoderatorcolumn']">
    <
td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    </if>
</
tr>
$childforumbits 

forumhome_forumbit_level1post
PHP Code:

<tbody>
    <
tr align="center">
        <
td class="alt1Active" colspan="2" align="$stylevar[left]id="f$forum[forumid]">
        
        <
table cellpadding="0" cellspacing="0" border="0">
        <
tr>
            <
td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
            <
td><img src="$vboptions[cleargifurl]alt="" width="9" height="1" border="0" /></td>
            <
td>
            <
div>
                <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                <if 
condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
            </
div>
            <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
            <if 
condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
            <if 
condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
            </
td>
        </
tr>
        </
table>
        
        </
td>
        <
td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <
td class="alt1">$forum[threadcount]</td>
        <
td class="alt2">$forum[replycount]</td>
        <if 
condition="$vboptions['showmoderatorcolumn']">
        <
td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
    </
tr>
</
tbody>
<if 
condition="$childforumbits">
<
tbody>
    
$childforumbits
</tbody>
</if> 


darnoldy 08-18-2005 05:52 PM

Quote:

Originally Posted by HaYLaZ
my codes are below

In the code you displayed, there are no javascript mouseover handlers. The effects are probably controlled by the a:hover values in your css (which is where they should be handled--and this should not be slowing your forum). If you want to change or eliminate the effect, look in the "Main CSS" panel for your style. At the bottom of each style selector is a place that controls links in that selector--its the hover that you want to change.

--don

HaYLaZ 08-19-2005 08:40 AM

thanks for your help
in main css ı delete the additional css definitions and ı solved the problem:D


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.01109 seconds
  • Memory Usage 1,789KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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