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 8554205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:49:41+00:00 2026-06-11T14:49:41+00:00

I am looking for some advice on an idea which i am unsure if

  • 0

I am looking for some advice on an idea which i am unsure if i can do it or not…

i am loading records out of a database and listing them in individual divs and adding an id number from the databse to the divs,the divs are about 100px wide and right across the screen..

i am wondering if i can use some kinda of plugin by jquery so that if i click on the record a tab would slide out from the right hand side with more data on that individual record from the database.. and then i could close it and it would side back so i can only see the records again..

i have had a bit of a look at the jquery ui page with all the demos but i didnt really find anything…

any help or pointers would be great.. even if u know of something simllar ill be happy to look into it…

thanks in advance for any help

  • 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-06-11T14:49:42+00:00Added an answer on June 11, 2026 at 2:49 pm

    Ok so here’s my fiddle

    HTML (standard containers, etc)

    <div id="container">
        <div id="buttons-container"></div>
        <div id="record">
            <div id="record-content"></div>            
            <a href="#" id="bt-close" onclick="closeRecord(); return false;">Close</a></div>
    </div>
    

    CSS

    a.bt-record {
        display:block;
        width:100px;
        height:100px;
        background:#999999;
        color:#000;
        line-height:100px;
        text-align:center;
        float:left;
        margin:0 10px 10px 0;
        text-decoration:none;
    }
    
    a { color:#fff; }
    
    #container {
        width:100%;
        height:100%;
        overflow:hidden;
        position:relative;
    }
    
    #record {
        position:absolute;
        right:-240px;
        top:100px;
        width:200px;
        height:200px;
        background:#000;
        padding:20px;
        color:#fff;
        z-index:1;
    }
    

    Javascript

    //your data in a array of objects (could be something else)
    var data = {
        1 : {name:'Record 1', text:'This is the text 1', options:'Anything 1'},
        2 : {name:'Record 2', text:'This is the text 2', options:'Anything 2'},
        3 : {name:'Record 3', text:'This is the text 3', options:'Anything 3'},
        4 : {name:'Record 4', text:'This is the text 4', options:'Anything 4'},
        5 : {name:'Record 5', text:'This is the text 5', options:'Anything 5'},
        6 : {name:'Record 6', text:'This is the text 6', options:'Anything 6'},
        7 : {name:'Record 7', text:'This is the text 7', options:'Anything 7'},
        8 : {name:'Record 8', text:'This is the text 8', options:'Anything 8'},
        9 : {name:'Record 9', text:'This is the text 9', options:'Anything 9'}
    };
    
    $(document).ready(function() {
        populateEntries();        
    });
    
    //dynamically populate the entries
    function populateEntries() {
        for (entry in data){
    console.log(entry);       
            $('#buttons-container').append('<a class="bt-record" href="#" onclick="showRecord(' + entry + '); return false;">' + data[entry].name + '</a>');
        }
    }
    
    //show the record
    function showRecord(id) {
        //create the html
        var html = '';
        html += '<p>Name : ' + data[id].name + '</p>';
        html += '<p>Text : ' + data[id].text + '</p>';
        html += '<p>Name : ' + data[id].options + '</p>';
        $('#record-content').html(html);
        $('#record').animate({right:0}, 500);
    }
    
    function closeRecord() {
        $('#record').animate({right:-240}, 500);
    }
    

    In this example, I populate the records dynamically, but if you want a SEO friendly way of doing it, you can create the HTML in the page directly. Let me know if you have questions.

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

Sidebar

Related Questions

I'm looking for some advice on whether or not I should use a separate
Just looking for some advice on this one, what exactly is a loading screen
I'm looking for some advice on how to design a database for an email-style
Looking for some advice on the best way to implement localization along with client
I am looking for some advice in regards to getting a very quick display
I'm looking for some advice on the best way to provide a single place
I'm looking for some advice on how to go about reading the online documentation
Being a self-confessed newbie I'm looking for some advice and guidance :) I have
I'm interested in building a small offline webapp and I'm looking for some advice.
Problem Hey folks. I'm looking for some advice on python performance. Some background on

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.