Log in

View Full Version : hyow to disable onmouseover effect


HaYLaZ
08-18-2005, 12:28 PM
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
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:

// ++ ================================================== ======================++
// || 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
<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
<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
my codes are belowIn 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