Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications

Reply
 
Thread Tools
[Release] Mouseover Effects Details »»
[Release] Mouseover Effects
Version: 1.00, by SaintDog SaintDog is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-23-2002 Last Update: Never Installs: 2
 
No support by the author.

Author: Xiphoid

Description: This will teach you how to modify your forum cells in order to obtain the mouseover or "highlight" effect for your forum.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 09-21-2002, 10:39 PM
lxmas
Guest
 
Posts: n/a
Default

I didn't read through all the posts, so if anyone else posted that you could do this sorry. Ok, if you do not want your cursor to be a hand when it doesnt go over a link in the area you want to have highlighted, find

Quote:
this.style.cursor='hand';"
And replace it with

Quote:
this.style.cursor='normal';"
I did that with a previous forum I had, and didn't like the hand, so I changed it, and thought someone else put there might outta know and want to change it.
Reply With Quote
  #33  
Old 09-22-2002, 01:03 AM
SpittingAngels
Guest
 
Posts: n/a
Default

Quote:
Originally posted by someone
I like this hack a lot, but I think there is still room for improvement.

Let's say you have 50 forums on your vbulletin board.

Then that means that this code:

onMouseOver="this.style.backgroundColor='#F9F9F9';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='#FFFFFF';"
onClick="window.location.href='forumdisplay.php?s= $session[sessionhash]&forumid=$forum[forumid]'"


will be displayed 50 times, which adds easely 12 KB to your page. Filesize and bandwith are pretty important to me, so I'm wondering if some nifty JavaScript code in the header of the page can elimate the unwanted KB's, by making the MouseOver commands short, like this for example:
onMouseOver="highlight"

Just wondering if this is possible at all, since I'm not a JavaScript guru.
i'm not a Javascript guru either but i know that a similar effect can be acheived with using CSS to define a class and I think with Javascript you can define a class too. So the code goes in the header once and then you just associate the object in the page with the class.
Reply With Quote
  #34  
Old 09-22-2002, 03:23 PM
eXmantis
Guest
 
Posts: n/a
Default

Thanks works nicely ...
Reply With Quote
  #35  
Old 10-18-2002, 12:04 PM
boeliekiler
Guest
 
Posts: n/a
Default

thanks it works nice
Reply With Quote
  #36  
Old 10-18-2002, 11:54 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by wolfe
not working for me
Are you getting an error or anything when you put it in? Your problem in more detail can help.
Reply With Quote
  #37  
Old 10-19-2002, 12:37 AM
1x1 1x1 is offline
 
Join Date: Oct 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.i will installl in my forum.thanks 2
Reply With Quote
  #38  
Old 10-23-2002, 10:38 PM
Sky
Guest
 
Posts: n/a
Default

Make it a javascript function
Reply With Quote
  #39  
Old 11-30-2002, 12:12 AM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the tread part to work but when I try and make it work on the index nothing happens....I miss somthing?
Reply With Quote
  #40  
Old 02-05-2003, 04:50 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this file isnt downloading for me...ne1 got problem downloading it?
Reply With Quote
  #41  
Old 02-05-2003, 04:55 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine for me, whats the problem?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05010 seconds
  • Memory Usage 2,286KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete