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

  • Home
  • SEARCH
  • 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 7675063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:52:38+00:00 2026-05-31T16:52:38+00:00

Hi i am currently making a demo site from just pure html/css/javascript usually i

  • 0

Hi i am currently making a demo site from just pure html/css/javascript usually i would be using ruby and just rendering partials to solve this issue but to get some practice with javascript i though this might be an interesting challenge, and it has been! so what i have made is a block of code that has an image that is word wrapped with text. and i have positioned buttons either side of the block of content. my objective is to have those buttons hide until mouse over and onclick the content with the image will rotate to a a different image and description. and those blocks of collections will be grouped into tabs. for for instance on the home tab there will be four collections of content i could rotate through them, then the next tab would be products and if i clicked on that tab there would be three collections of content one for each product, and each would contain an image and a description..

cool so what i have so far is this here is my html:

 <div class='content'>
   <div class='box'>
    <ul id="navigation">
        <li class="two"><a href="#">Home</a></li>
        <li class="three selected"><a href="#">Products</a></li>
        <li class="four"><a href="#">Technology</a></li>
        <li class="five"><a href="#">Cosulting</a></li>
        <li class="six"><a href="#">Contact</a></li>
    </ul>

    <div id="sub_content">
      <div class='title'> 
        <h3> Home </h3>
    </div>
    <div class="clear"></div>
    <div class="arrow">
       <a id="left" href=""><img src="/home/***/HTML/launch_pad/images/lefta.png">/a>
       <a id="right" href=""><img src="/home/***/HTML/launch_pad/images/righta.png"></a>
    </div>
    <div class="clear"></div>
    <div id="wall">
      <div class="hide">

        <div class="description">
          <img id="demoimg" src="/home/***/HTML/launch_pad/images/productivity.png" alt="demo pic">
       <h2>Who are we?</h2>
       <p>a super hero organization fighting evil all day long!! .</p>
     </div>

     #the description class is then repeated each with a unique image and new info in the  <h2> tags and the <p> tags..

i have found several things that i have found online that have been helpful but i have conflicting javascript lib errors. so i am using the so that i can use the easing 1.3 library and for the twitter widdget i am using.

my css looks like this:

 .content {
   margin-left: 5%;
   margin-right: 5%;
   width: 1400px;
 }

 .box {
   float: left;
   width: 950px;
   margin-left: 20px;
   position: relative; 
 }


 #sub_content {
   background-color: white;
   width: 720px;
   max-height: 462px;
   min-width:600px;
   margin: 0px 0px 0px 40px; 
   padding: 15px;
   border: solid 1px black;
   border-radius: 8px 8px 8px 8px;
   overflow-y: auto;
 }

 .title {
   text-align: right;
   text-transform: uppercase;
   border: 1px solid yellow;
   margin: 0px 25px 5px 25px;
   padding: 5px; 
  }

 #wall {
   min-width: 300px;
   margin:0px 0px 15px 15px;
   width:655px;
   border: 1px solid red;
   float: left;
   padding: 5px;
  }

 .description {
   margin: 0px 0px 10px 10px;
   padding: 5px;
   width: 630px;
   border:1px solid green;
   float: left;
  }

 #decription p {
   word-wrap: break-word;
 }

  #demoimg {
   float: left;
   margin: 16px 8px 0px 0px;
   height: 200px;
   width: 200px;

 }

EDIT:
this is the javaScript i was trying:

<script type="text/javascript">
<!--
window.addEvent('domready', function() {
var opt = {
slides: 'description',
duration: 1500,
buttons: {next:'right',prev:'left'},
transition: Fx.Transitions.Quint.easeOut
}
var scroller = new QScroller('content',opt);
scroller.load();
});
//-->
</script>  

but this doesnt seem to work i have a file with all my javascript in my directory that i link to..

the one that has come really close is at http://www.latenight-coding.com/mootools/classes/qscroller.html under Horizontal scroller with text and images. but it doesnt work!! which makes me pull out my hair. is there another way to just loop through the description and hide the ones that arnt selected??

any help or a better reference’s would be much appreciated 😀

  • 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-31T16:52:39+00:00Added an answer on May 31, 2026 at 4:52 pm

    You might consider using Jquery Cycle. It is an OUTSTANDING plugin that uses easing, and will allow you to have both a description of your content and prev/next buttons or links. You can also have multiple slideshows on one page, and it is probably not a hair-puller to have a link to one slideshow open up several, as this seems to be what you are looking for.

    It works pretty easily out of the box and is highly customizable. The website has a ton of examples with code.

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

Sidebar

Related Questions

In a HTML5 / CSS3 Demo I am making, Im using CSS transitions mostly
I am currently making the move from StructureMap to Castle Windsor. Using StructureMap, you
I'm currently making a GWT project where I display some HTML in a RichTextArea
I'm currently making some system that will gather statistical reports from different sites, for
currently making a SOAP request using Java's SOAPConnectionFactory and SOAPConnection 's .call() method, which
I am currently making a context menu which open from left button click instead
I am currently making a php script to graph a bunch of data from
I am currently making a game for the iphone using cocos2d. The game runs
I'm currently making a CMS and I would like to use some Facebook functionnalities.
I am currently making a rails app that will search #barcampmlk2 #{thesessionname} +1 from

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.