Thread: vBulletin CMS Widgets - vFCoders - Featured Content Slider Widget
View Single Post
  #266  
Old 05-04-2012, 04:10 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic Mod ..........

A little improvement (but only in my humble opinion)

I dislike the "quick" transition but as has been said this was changed via the js xml coding

But caused some issues in the rendering when used with thumbs - lagging etc so

As has been said in other posts:



lose the thumbs via the vbcms_widget_cmsfcs_page template
PHP Code:
.ui-tabs-nav {
displaynone;

Same template change the script to
PHP Code:
<script type="text/javascript">
$(
document).ready(function(){  
$(
".cmsfcs_{vb:raw id}").tabs({ fx: {opacity'toggle'duration:'slow'} }).tabs("rotate"5000true);  
$(
".cmsfcs_{vb:raw id}").hover(  
function() {  
$(
".cmsfcs_{vb:raw id}").tabs("rotate",0,true);  
},  
function() {  
$(
".cmsfcs_{vb:raw id}").tabs("rotate",5000,true);  
}  
);  
});  
</
script
This will remove thumbs render the images with a nice transition and the codeline below will clean up the info bar
PHP Code:
.cmsfcs_{vb:raw id} .ui-tabs-panel .info
  
position:absolute
  
top:242px
  
left:0px
  
height:70px;
  
width:650px;
  
opacity.75;
  
backgroundblack
  
margin0 auto;

This has the width of the slider at 650px and the info bar the same (but obviously change to your site if needed)

It also means you can have a few more articles etc without the rendering being incorrect given the thumbs are removed

as you can see i now have 7 latest articles with a nice smooth transition and an info bar that is 100% for a clean look and render.

Just a thought

http://www.tabletennistalk.co.uk
Reply With Quote
4 благодарности(ей) от:
Badshah93, charlesr, SVTdrivah, sweetpotato
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01134 seconds
  • Memory Usage 1,789KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (4)post_thanks_box_bit
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete