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)
-   -   Show Thread Enhancements - ThreadNav: scrolling New Posts navigation bar for Showthread (https://vborg.vbsupport.ru/showthread.php?t=273500)

nerbert 11-10-2011 12:18 AM

Didn't work -- they still have the dark gray bottom.

Let's try changing those white lines in ThreadNav. Read the instructions at the top of threadnav.css and replace "white" with "rgb(191,35,35)". See how that looks.

I'll see if I can figure out how to fix those buttons.

I have a lot of things to figure out here so I'll let you know if I have any bright new ideas.

Erica1977 11-10-2011 12:29 AM

Quote:

Originally Posted by nerbert (Post 2266297)
Didn't work -- they still have the dark gray bottom.

Let's try changing those white lines in ThreadNav. Read the instructions at the top of threadnav.css and replace "white" with "rgb(191,35,35)". See how that looks.

I'll see if I can figure out how to fix those buttons.

I have a lot of things to figure out here so I'll let you know if I have any bright new ideas.

i think the red looks better take a look.

nerbert 11-10-2011 12:37 AM

Okay, that matches the text color.

Well, I'll see if I can figure out these mechanical problems and get back later.

Thanks for your help testing all this. Everything worked fine on my forum but the coding had a lot of weak points. By the time I get it working for you it will be good solid coding.

Erica1977 11-10-2011 12:44 AM

Quote:

Originally Posted by nerbert (Post 2266308)
Okay, that matches the text color.

Well, I'll see if I can figure out these mechanical problems and get back later.

Thanks for your help testing all this. Everything worked fine on my forum but the coding had a lot of weak points. By the time I get it working for you it will be good solid coding.

Ok thanks will be here! :up:

nerbert 11-10-2011 02:17 AM

Try out these and see if you get reliable closing of the drop boxes;

Code:

                function hideInfo(event, id) {
                        mouseY=is_ie?
                        event.clientY+document.documentElement.scrollTop -document.documentElement.clientTop :
                        event.pageY;
                        mouseX=is_ie?
                        event.clientX+document.documentElement.scrollLeft-document.documentElement.clientLeft:
                        event.pageX;
                        a=fetch_object('threadnav').parentNode.offsetTop;
                        b=fetch_object('threadnav').offsetTop;
                        c=fetch_object('threadnav').parentNode.offsetLeft;
                        d=fetch_object('name_'+id).parentNode.offsetLeft;
                        y1=a+b+26
                        y2=a+b+40+98
                        x1=c+d-list.scrollLeft;
                        x2=x1+width;
                        if(mouseY<=y1||mouseX<=x1||mouseX>=x2||mouseY>=y2) {
                                fetch_object('info_'+id).style.display='none';
                                clearTimeout(hoverDelay[id]);
                                nodelay=0;
                                border='0px solid transparent';
                                fetch_object('name_'+id).style.borderBottom=border;
                        }
                }
       
                function hidePrev(event, id) {
                        mouseY=is_ie?
                        event.clientY+document.documentElement.scrollTop -document.documentElement.clientTop :
                        event.pageY;
                        mouseX=is_ie?
                        event.clientX+document.documentElement.scrollLeft-document.documentElement.clientLeft:
                        event.pageX;
                        a=fetch_object('threadnav').parentNode.offsetTop;
                        b=fetch_object('threadnav').offsetTop;
                        c=fetch_object('threadnav').parentNode.offsetLeft;
                        d=fetch_object('name_'+id).parentNode.offsetLeft;
                        y1=a+b+26+14
                        y2=a+b+40+98
                        x1=c+d-list.scrollLeft-18;
                        x2=x1+width+18;
                        if(mouseY<=y1||mouseX<=x1||mouseX>=x2||mouseY>=y2) {
                                fetch_object('prev_'+id).style.display='none';
                                clearTimeout(hoverDelay[id]);
                                nodelay=0;
                                border='0px solid transparent';
                                fetch_object('name_'+id).style.borderBottom=border;
                        }
                }


Erica1977 11-10-2011 02:31 AM

Quote:

Originally Posted by nerbert (Post 2266330)
Try out these and see if you get reliable closing of the drop boxes;

Code:

                function hideInfo(event, id) {
                        mouseY=is_ie?
                        event.clientY+document.documentElement.scrollTop -document.documentElement.clientTop :
                        event.pageY;
                        mouseX=is_ie?
                        event.clientX+document.documentElement.scrollLeft-document.documentElement.clientLeft:
                        event.pageX;
                        a=fetch_object('threadnav').parentNode.offsetTop;
                        b=fetch_object('threadnav').offsetTop;
                        c=fetch_object('threadnav').parentNode.offsetLeft;
                        d=fetch_object('name_'+id).parentNode.offsetLeft;
                        y1=a+b+26
                        y2=a+b+40+98
                        x1=c+d-list.scrollLeft;
                        x2=x1+width;
                        if(mouseY<=y1||mouseX<=x1||mouseX>=x2||mouseY>=y2) {
                                fetch_object('info_'+id).style.display='none';
                                clearTimeout(hoverDelay[id]);
                                nodelay=0;
                                border='0px solid transparent';
                                fetch_object('name_'+id).style.borderBottom=border;
                        }
                }
       
                function hidePrev(event, id) {
                        mouseY=is_ie?
                        event.clientY+document.documentElement.scrollTop -document.documentElement.clientTop :
                        event.pageY;
                        mouseX=is_ie?
                        event.clientX+document.documentElement.scrollLeft-document.documentElement.clientLeft:
                        event.pageX;
                        a=fetch_object('threadnav').parentNode.offsetTop;
                        b=fetch_object('threadnav').offsetTop;
                        c=fetch_object('threadnav').parentNode.offsetLeft;
                        d=fetch_object('name_'+id).parentNode.offsetLeft;
                        y1=a+b+26+14
                        y2=a+b+40+98
                        x1=c+d-list.scrollLeft-18;
                        x2=x1+width+18;
                        if(mouseY<=y1||mouseX<=x1||mouseX>=x2||mouseY>=y2) {
                                fetch_object('prev_'+id).style.display='none';
                                clearTimeout(hoverDelay[id]);
                                nodelay=0;
                                border='0px solid transparent';
                                fetch_object('name_'+id).style.borderBottom=border;
                        }
                }


ok its on seamus red.

nerbert 11-10-2011 03:04 AM

Working reliably for me. I'll update the xml file.

Next time you're tinkering around see what happens of you set the height in .scroll at 60px.

Erica1977 11-10-2011 03:09 AM

Quote:

Originally Posted by nerbert (Post 2266370)
Working reliably for me. I'll update the xml file.

Next time you're tinkering around see what happens of you set the height in .scroll at 60px.

Oh ok will see what happens.

Erica1977 11-10-2011 03:20 AM

Quote:

Originally Posted by Erica1977 (Post 2266373)
Oh ok will see what happens.

tryed it puts the corner arrows a little dont look right will put back at 40

nerbert 11-10-2011 03:21 AM

Now product file available.

Erica1977, you won't need to revert threadnav.css, nothing in that has changed in that. Revert any others though.


All times are GMT. The time now is 04:28 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.01327 seconds
  • Memory Usage 1,767KB
  • 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
  • (2)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)pagenav_pagelinkrel
  • (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