vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - vBulletin Drop Downs on Hover (no click required) (https://vborg.vbsupport.ru/showthread.php?t=295337)

FTG LIQUID CL 03-13-2013 06:36 PM

Works with 4.1.12!

Gio~Logist 03-19-2013 11:15 AM

Quote:

Originally Posted by FTG LIQUID CL (Post 2409782)
Works with 4.1.12!

:up::up:

thang28101993 04-21-2013 05:26 AM

Thanks so much for great mod!
It use well on Frirefox and Chrome! But I try on IE 7, it is wrong! When hover the mouse to menu, child menu didn't place on below parent menu, it has moved to another place.

Any one has good idea for this issue? Thanks so much!

P.s: I want to fix this, because some people still use old IE version!

tbworld 04-21-2013 06:19 AM

Quote:

Originally Posted by thang28101993 (Post 2417614)
P.s: I want to fix this, because some people still use old IE version!

I do not use this mod but if it was me: For the 1% of users that use IE7 -- just use an html conditional comment. This will just allow a fallback to the normal vbulletin code for users that use IE7 or less. Just an idea.

Code:

<!--[if lte IE 7]>
  <script>
    $(".popupmenu").hover(
        function () {
            $(this).find( '.popupbody' ).show();
        },
        function () {
          $(this).find( '.popupbody' ).hide();
        }
    );
  </script>
<![endif]-->


thang28101993 04-22-2013 12:32 AM

Quote:

Originally Posted by tbworld (Post 2417619)
I do not use this mod but if it was me: For the 1% of users that use IE7 -- just use an html conditional comment. This will just allow a fallback to the normal vbulletin code for users that use IE7 or less. Just an idea.

Code:

<!--[if lte IE 7]>
  <script>
    $(".popupmenu").hover(
        function () {
            $(this).find( '.popupbody' ).show();
        },
        function () {
          $(this).find( '.popupbody' ).hide();
        }
    );
  </script>
<![endif]-->


Thanks so much for your idea! I added that script to footer but the issue still appaer!
https://vborg.vbsupport.ru/external/2013/04/7.jpg

another idea? Please!

Thanks!

tbworld 04-22-2013 05:49 AM

Your site URL?

thang28101993 04-22-2013 08:13 AM

Quote:

Originally Posted by tbworld (Post 2417800)
Your site URL?

My site is buliding in local! Would you mind if you use TeamViewer to support for me?
TeamViewer ID:

I'm online now!

Thanks

tbworld 04-22-2013 07:48 PM

I answer questions in the forum to give back to the community. Assisting you privately does not accomplish that goal. Post your code fragments online, I will be happy to assist you here for "free" and others will be able to learn from the experience. :)

bzcomputers 04-22-2013 08:31 PM

I had a conflict with this mod and another custom mod I had which also uses jQuery. This may help some others that may have similar conflicts.

In order to get the two to both work I had to make a couple changes.

I needed to add this line below the current script in Step 1:
Code:

<script type="text/javascript"> jQuery.noConflict() </script>

Then replace all "$" with "jQuery" in Step 2 code to this:
Code:

<script type="text/javascript">
jQuery(".popupmenu").hover(
  function () {
    jQuery(this).find( '.popupbody' ).show();
  },
  function () {
    jQuery(this).find( '.popupbody' ).hide();
  }
);
</script>


tbworld 04-22-2013 08:58 PM

Quote:

Originally Posted by bzcomputers (Post 2417962)
I had a conflict with this mod and another custom mod I had which also uses jQuery. This may help some others that may have similar conflicts.

Great, simple explanation as the official Jquery link http://api.jquery.com/jQuery.noConflict/ is a bit difficult for beginners to understand.

I use the encapsulation method all the time in inline jquery and misbehaving JavaScript, it adds a small amount of overhead, but I sleep well. :)


All times are GMT. The time now is 05:08 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.01010 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete