Title: [Plugin: First Visit Message] First Visit triggers Javascript problems with slideshow
Last modified: August 20, 2016

---

# [Plugin: First Visit Message] First Visit triggers Javascript problems with slideshow

 *  [hotstaff](https://wordpress.org/support/users/hotstaff/)
 * (@hotstaff)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-first-visit-message-first-visit-triggers-javascript-problems-with-slideshow/)
 * Hi Thijmen,
 * Thanks for your great plugin, exactly what I was looking for !
 * Just a small hick-up: when activated, First Visit triggers Javascript errors 
   which are preventing my slideshow to load.
    I copy and paste the errors:
 *  line 270 main page:
    <script type=”text/javascript”>/* <![CDATA[ */var ua = 
   jQuery.browser;if( (!ua.msie) || (ua.version.substring(0,1) != ‘6’ && ua.msie)){
   Cufon.now();Cufon.replace(‘h1’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘
   h2’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘h3,.additional_posts_module
   h4’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘h4’, { fontFamily: ‘colaboratelight’});
   Cufon.replace(‘h5’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘.logo a’,{
   fontFamily: ‘colaboratelight’ });Cufon.replace(‘.call_to_action,#intro .intro_title’,{
   fontFamily: ‘colaboratelight’ });Cufon.replace(‘#intro .teaser’, { fontFamily:‘
   colaboratelight’ });Cufon.replace(‘#slider_module+#intro h3’, { fontFamily: ‘
   colaboratelight’ });Cufon.replace(‘#sidebar .widgettitle’, { fontFamily: ‘colaboratelight’});
   Cufon.replace(‘#outro,#outro a’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘#
   footer .widgettitle’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘.toggle
   a,.toggle_accordion a’, { fontFamily: ‘colaboratelight’ });Cufon.replace(‘#content.
   teaser’, { fontFamily: ‘colaboratelight’ });if ( ua.msie && ua.version.substring(
   0,1) == ‘8’ ){jQuery(‘h1,h2,h3,.additional_posts_module h4,h4,h5,.logo a,.call_to_action,#
   intro .intro_title,#intro .teaser,#slider_module+#intro h3,#sidebar .widgettitle,#
   outro,#outro a,#footer .widgettitle,.toggle a,.toggle_accordion a,#content .teaser’).
   css(‘-ms-filter’, ”).css(‘filter’, ”);}else if( ua.msie && ua.version.substring(
   0,1) >= ‘9’ ){jQuery(‘h1,h2,h3,.additional_posts_module h4,h4,h5,.logo a,.call_to_action,#
   intro .intro_title,#intro .teaser,#slider_module+#intro h3,#sidebar .widgettitle,#
   outro,#outro a,#footer .widgettitle,.toggle a,.toggle_accordion a,#content .teaser’).
   css(‘opacity’, ‘1’);}else if(!ua.msie){jQuery(‘h1,h2,h3,.additional_posts_module
   h4,h4,h5,.logo a,.call_to_action,#intro .intro_title,#intro .teaser,#slider_module
   +#intro h3,#sidebar .widgettitle,#outro,#outro a,#footer .widgettitle,.toggle
   a,.toggle_accordion a,#content .teaser’).css(‘opacity’, ‘1’);}} /* ]]> */</script
   ><script type=”text/javascript”>/* <![CDATA[ */jQuery( ‘.blog_layout1’ ).preloader({
   imgSelector: ‘.blog_index_image_load span img’, imgAppend: ‘.blog_index_image_load’});
   jQuery( ‘.blog_layout2’ ).preloader({ imgSelector: ‘.blog_index_image_load span
   img’, imgAppend: ‘.blog_index_image_load’ });jQuery( ‘.blog_layout3’ ).preloader({
   imgSelector: ‘.blog_index_image_load span img’, imgAppend: ‘.blog_index_image_load’});
   jQuery( ‘.single_post_module’ ).preloader({ imgSelector: ‘.blog_index_image_load
   span img’, imgAppend: ‘.blog_index_image_load’ });jQuery( ‘.one_column_portfolio’).
   preloader({ imgSelector: ‘.portfolio_img_load span img’, imgAppend: ‘.portfolio_img_load’});
   jQuery( ‘.two_column_portfolio’ ).preloader({ imgSelector: ‘.portfolio_img_load
   span img’, imgAppend: ‘.portfolio_img_load’ });jQuery( ‘.three_column_portfolio’).
   preloader({ imgSelector: ‘.portfolio_img_load span img’, imgAppend: ‘.portfolio_img_load’});
   jQuery( ‘.four_column_portfolio’ ).preloader({ imgSelector: ‘.portfolio_img_load
   span img’, imgAppend: ‘.portfolio_img_load’ });jQuery( ‘.portfolio_gallery.large_post_list’).
   preloader({ imgSelector: ‘.portfolio_img_load span img’, imgAppend: ‘.portfolio_img_load’});
   jQuery( ‘.portfolio_gallery.medium_post_list’ ).preloader({ imgSelector: ‘.portfolio_img_load
   span img’, imgAppend: ‘.portfolio_img_load’ });jQuery( ‘.portfolio_gallery.small_post_list’).
   preloader({ imgSelector: ‘.portfolio_img_load span img’, imgAppend: ‘.portfolio_img_load’});
   jQuery( ‘#main_inner’ ).preloader({ imgSelector: ‘.portfolio_full_image span 
   img’, imgAppend: ‘.portfolio_full_image’ });jQuery( ‘#main_inner’ ).preloader({
   imgSelector: ‘.blog_sc_image_load span img’, imgAppend: ‘.blog_sc_image_load’});
   jQuery( ‘#main_inner’ ).preloader({ imgSelector: ‘.fancy_image_load span img’,
   imgAppend: ‘.fancy_image_load’, oneachload: function(image){var imageCaption 
   = jQuery(image).parent().parent().next();if(imageCaption.length>0){imageCaption.
   remove();jQuery(image).parent().addClass(‘has_caption_frame’);jQuery(image).parent().
   append(imageCaption);jQuery(image).next().css(‘display’,’block’);}}});jQuery(‘#
   intro_inner’ ).preloader({ imgSelector: ‘.fancy_image_load span img’, imgAppend:‘.
   fancy_image_load’, oneachload: function(image){var imageCaption = jQuery(image).
   parent().parent().next();if(imageCaption.length>0){imageCaption.remove();jQuery(
   image).parent().addClass(‘has_caption_frame’);jQuery(image).parent().append(imageCaption);
   jQuery(image).next().css(‘display’,’block’);}}});/* ]]> */</script><script type
   =”text/javascript”>/* <![CDATA[ */jQuery(‘.jqueryslidemenu’).click(function(){
   jQuery(‘.menu_arrow’).css(‘display’,’none’);});/* ]]> */</script>
 *  Uncaught TypeError: Object [object Object] has no method ‘preloader’
    (anonymous
   function)
 *  line 133, custom.js:
    jQuery(‘img.reflect’).reflect({height:0.5,opacity:0.5});
 *  Uncaught TypeError: Object [object Object] has no method ‘reflect’
    cache custom.
   js:113 f.Callbacks.n jquery.js:2 f.Callbacks.o.fireWith jquery.js:2 e.extend.
   ready jquery.js:2 c.addEventListener.B jquery.js:2
 *  line 122, main page:
    Uncaught TypeError: Object [object Object] has no method‘
   preloader’ (anonymous function) [http://www.uniretagir.com/:122](http://www.uniretagir.com/:122)
   f.Callbacks.n jquery-1.7.1.min.js:2 f.Callbacks.o.fireWith jquery-1.7.1.min.js:
   2 e.extend.ready jquery-1.7.1.min.js:2 c.addEventListener.B jquery-1.7.1.min.
   js:2
 * As I’m really not a JavaScript guy, could you help ???
 * Thank you so much.
    Best regards.
 * Sébastieb
 * [http://wordpress.org/extend/plugins/first-visitor-message/](http://wordpress.org/extend/plugins/first-visitor-message/)

The topic ‘[Plugin: First Visit Message] First Visit triggers Javascript problems
with slideshow’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/first-visitor-message.svg)
 * [First Visit Message](https://wordpress.org/plugins/first-visitor-message/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/first-visitor-message/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/first-visitor-message/)
 * [Active Topics](https://wordpress.org/support/plugin/first-visitor-message/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/first-visitor-message/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/first-visitor-message/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hotstaff](https://wordpress.org/support/users/hotstaff/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-first-visit-message-first-visit-triggers-javascript-problems-with-slideshow/)
 * Status: not resolved