Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6917335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:43:03+00:00 2026-05-27T09:43:03+00:00

I developing a site with ruby on rails 3.1 on Lion. I’m using the

  • 0

I developing a site with ruby on rails 3.1 on Lion. I’m using the nivo slider(content rotator). I loads without any noticable delay in Opera and Safari. But when loading in Firefox the it can take more than 10 seconds. No other content on the page will load until the slider is loaded. Also when i try to cache asset using <%= stylesheet_link_tag 'application', :cache=> true%> I get a wrong number of arguements error.

_slider.html.erb

<link rel="stylesheet" href="default.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
<script type="text/javascript">
    jQuery(function() {
        jQuery("#nivoslider-283").nivoSlider({
            effect:"fade",
            slices:15,
            boxCols:8,
            boxRows:4,
            animSpeed:500,
            pauseTime:3000,
            startSlide:0,
            directionNav:false,
            directionNavHide:true,
            controlNav:false,
            keyboardNav:true,
            pauseOnHover:true,
            manualAdvance:false
        });
    });
</script>
<div id="wrapper">

  <a href="http://dev7studios.com" id="dev7link" title="Go to dev7studios">dev7studios</a>

  <div class="slider-wrapper theme-default">
    <div class="ribbon"></div>
    <div id="slider" class="nivoSlider">
      <img src="assets/3.jpg" alt="" title="This is an example of a caption"/>
      <img src="assets/1.jpg" alt="" data-transition="slideInLeft"/>
      <img src="assets/2.jpg" alt="" title="#htmlcaption"/>
    </div>
    <div id="htmlcaption" class="nivo-html-caption">
      <strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>.
    </div>
  </div>

</div>
<script type="text/javascript" src="scripts/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="../jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
    $('#slider').nivoSlider();
</script>

home.html.erb

<%= render "shared/slider" %>
<%= render "shared/calender" %>
<div id="featured">
<b><%= @post.first.title %></b>
<%= simple_format(@post.first().content) %>
</div>

style.css

.theme-default #slider {
    margin: 5px auto 0 auto;
    width:618px; /* Make sure your images are the same size */
    height:246px; /* Make sure your images are the same size */
}
.theme-pascal.slider-wrapper,
.theme-orman.slider-wrapper {
    margin-top:150px;
}

.clear {
    clear:both;
}

.nivoSlider
  {
    position:relative;
    width:  618px;
    height:  246px;
    background: url('loading.gif') no-repeat 50% 50%;
}
.nivoSlider img
  {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.nivoSlider a
  {
    border:0;
    display:block;
}

application.html.erb

<!DOCTYPE html>
<html>
<head>
  <title>Cor</title>
  <%= stylesheet_link_tag 'application'%>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<body>
<img src="assets/Lighthouse%201000w%20x%20300l%20pixels.jpg" id="header-image">
<%= render "shared/navigation" %>
<article>
  <%= yield %>
</article>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:43:03+00:00Added an answer on May 27, 2026 at 9:43 am

    Check this tools for page speed

    Yslow browser pluing

    Google page speed

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My freelance web developer is developing a site on Ruby on Rails. Currently the
I start developing a site using Rails 3.x and I need to run multiple
I'm now developing comment system for my site on Ruby on Rails. I try
I'm developing simple image sharing site to train my ruby-on-rails-fu. I have following resources
I've been developing a site using ASP.NET MVC, and have decided to use the
I am developing a site using asp.net and C# ( framework 1.1 ). Theres
I'm developing a site using jQuery, and jQuery UI tabs. For some reason, my
I am currently developing a site and have a need for a javascript-based carousel/slider
I'm developing a website in Ruby on Rails to sell valuable goods. We need
I am developing a site using ASP.NET, SQL 2008 and LINQ. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.