www.webdeveloper.com
Results 1 to 3 of 3

Thread: STUCK! Slider works locally on machine but not live on server!

  1. #1
    Join Date
    Jun 2013
    Location
    Mansfield, TX
    Posts
    2

    STUCK! Slider works locally on machine but not live on server!

    I built a website and added several Javascript modules. The slider reel in the orange rectangle box is not working after I uploaded it to the server. It works fine locally on my machine though. I checked the code but I cannot figure out where I am going wrong with it.

    The website is www.southerncrossbow.com. I have placed the CSS and HTML below. I am using the "slides.min.jquery.js" file.

    Please help if you can. I am completely stumped at this point.

    This is the HTML below:

    <!-- Reel slider -->
    <div id="reel">
    <div class="slides_container">

    <div class="slide-box">
    <div class="box-container">
    <a href="https://plus.google.com/u/0/102284404039032982557/posts" target="blank"><img src="images/googleplus.jpg" class="box-icon" alt="Don't forget to Google Plus Southern Crossbow!"/></a>
    </div>
    <div class="box-container">
    <a href="https://www.facebook.com/pages/Southern-Crossbow/318559141606458?fref=ts" target="blank"><img src="images/southerncrossbow_facebook.jpg" class="box-icon" alt="Like us on Southern Crossbow's Facebook Page!"/>
    </div>
    <div class="box-container">
    <a href="https://www.youtube.com/user/southerncrossbow" target="blank"><img src="images/southerncrossbow_youtube.jpg" class="box-icon" alt="The newest product of Southern Crossbow!"/></a>
    </div>
    <div class="box-container">
    <a href="https://twitter.com/southerncrssbw" target="blank"><img src="images/southerncrossbow_twitter.jpg" class="box-icon" alt="Follow our Southern Crossbow tweets!"/></a>
    </div>
    </div>

    <div class="slide-box">
    <div class="box-container">
    <img src="images/southerncrossbow_lifestyle01.jpg" class="box-icon" alt="Southern Crossbow - Smarter"/>
    </div>
    <div class="box-container">
    <img src="images/southerncrossbow_lifestyle02.jpg" class="box-icon" alt="Southern Crossbow - Tactical"/>
    </div>
    <div class="box-container">
    <img src="images/southerncrossbow_lifestyle03.jpg" class="box-icon" alt="Southern Crossbow - Reliable"/>
    </div>
    <div class="box-container">
    <img src="images/southerncrossbow_lifestyle04.jpg" class="box-icon" alt="Southern Crossbow - Accuracy"/>
    </div>
    </div>
    </div>
    <a href="#" class="prev"></a>
    <a href="#" class="next"></a>
    </div>
    <!-- ENDS Reel slider -->


    This is the CSS below:

    /* REEL ------------------------------------------------------------*/

    #reel{
    position: relative;
    width: 980px;
    height: 250px;
    margin-left: -20px;
    margin-bottom: 15px;
    background: url(../img/reel-back.png) no-repeat;
    }

    #reel .prev{
    position: absolute;
    top: 85px;
    left: 0px;
    display: block;
    width: 45px;
    height: 40px;
    background: url(../img/reel-left.png) no-repeat;
    }

    #reel .next{
    position: absolute;
    top: 85px;
    right: 0px;
    display: block;
    width: 45px;
    height: 40px;
    background: url(../img/reel-right.png) no-repeat;
    }


    #reel .prev:hover,
    #reel .next:hover{
    background-position: 0px -40px;
    }

    #reel .slides_container{
    position: absolute;
    overflow: hidden;
    top: 20px;
    left: 40px;
    width: 898px;
    height: 230px;

    }

    #reel .slides_container .slide-box{
    width: 898px;
    height: 300px;
    padding-left: 5px;
    padding-right: 5px;
    }

    #reel .slides_container .box-container{
    overflow: hidden;
    float: left;
    width: 213px;
    margin-top: 0px;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-left: 5px;
    }

    #reel .slides_container .box-container h6{
    color: #484848;
    margin-top: 5px;
    margin-bottom: 7px;
    }

    #reel .box-icon{
    float: left;
    margin-right: 5px;
    }

    #reel .slides_container .box-divider{
    clear: both;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
    }

  2. #2
    Join Date
    Mar 2007
    Location
    U.K.
    Posts
    1,127
    Maybe that script needs all the images to load properly and three are shown as missing:


    "NetworkError: 404 Not Found - http://www.southerncrossbow.com/images/googleplus.jpg"googleplus.jpg


    "NetworkError: 404 Not Found - http://www.southerncrossbow.com/img/loading.gif"loading.gif

    "NetworkError: 404 Not Found - http://www.southerncrossbow.com/images/googleplus.jpg?1371067963377"google...7963377
    Where used, return should be executed unconditionally and always as the last statement in the function.

    That's my signature, it's not part of the damn post!

  3. #3
    Join Date
    Jun 2013
    Location
    Mansfield, TX
    Posts
    2

    Talking Oh my god. . .

    Oh my god you're not going to believe this.

    All I had to do was change "GooglePlus.jpg" to googleplus.jpg" and everything worked.

    Jeez.

    Thanks for pointing that out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center

"

"

X vBulletin 4.2.2 Debug Information

  • Page Generation 0.28625 seconds
  • Memory Usage 2,867KB
  • Queries Executed 15 (?)
More Information
Template Usage (32):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (3)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (73):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates