Scoll box for pictures

Discussion in 'Javascript' started by chrisdude911, Apr 26, 2006.

  1. chrisdude911

    chrisdude911 Guest

    HI
    How would i make a scroll box for pictures?
    Thanks
    Chris
     
    chrisdude911, Apr 26, 2006
    #1
    1. Advertising

  2. chrisdude911

    Zif Guest

    chrisdude911 said on 27/04/2006 5:24 AM AEST:
    > HI
    > How would i make a scroll box for pictures?


    There's one here a 5 year old can make:

    <URL:http://www.scholastic.com/earlylearner/timetogether/preschool/rollread.htm>


    --
    Zif
     
    Zif, Apr 27, 2006
    #2
    1. Advertising

  3. chrisdude911

    chrisdude911 Guest

    Sorry!
    I mean in JAVASCRIPT!
    Thanks
    Chris
     
    chrisdude911, Apr 27, 2006
    #3
  4. chrisdude911

    Erwin Moller Guest

    chrisdude911 wrote:

    > Sorry!
    > I mean in JAVASCRIPT!
    > Thanks
    > Chris


    Hi Chris, a friendly word of advise:

    What is EXCATLY what you are asking for?
    I don't know what a 'scrollbox for pictures' is suposed to be/supposed to
    work. Well, actually I can think up 10 things that fit that description.

    Asking a to-the-point question is important to get help here (and everywhere
    for that matter.).

    So ask yourself:
    What should be displayed WHERE?
    What should excactly scroll?
    How should the scolling work?
    Is a userinteraction required?
    Will it be a slideshow-like thingy that just displays them automatically?
    And above all: What did you try yourself so far?

    These are the kind of questions that comes into mind when you bluntly ask
    "How would i make a scroll box for pictures?"

    No offense intended, but try a little harder to be clear, ok?
    Most people don't even answer vague questions, because they think: "Why
    should I try to answer a question when the original poster doesn't even
    bother to ask a clear question???"

    Regards,
    Erwin Moller
     
    Erwin Moller, Apr 27, 2006
    #4
  5. chrisdude911

    chrisdude911 Guest

    Hi,
    Sorry!
    I was in a bit of a rish this morning so i didn't post very well.
    How could i make a box on the webpage that displays 200 photos in a
    table, but only takes up 300px by 300px of the screen, by having a box
    that allows you to scoll through the pictures. So how would i do this?
    Thanks
    Chris
     
    chrisdude911, Apr 27, 2006
    #5
  6. "chrisdude911" <> writes:

    > I was in a bit of a rish this morning so i didn't post very well.
    > How could i make a box on the webpage that displays 200 photos in a
    > table, but only takes up 300px by 300px of the screen, by having a box
    > that allows you to scoll through the pictures. So how would i do this?


    No need for scripting for that.
    ----
    <title>Image test page</title>
    <style type="text/css">
    #imgbox {
    width: 300px;
    height: 300px;
    overflow: auto;
    }
    </style>

    <div id="imgbox">
    <table>
    <tr><td><img src="img1.png"></td></tr>
    <!-- ... -->
    <tr><td><img src="img200.png"></td></tr>
    </table>
    </div>
    ----

    I would drop the table.

    /L
    --
    Lasse Reichstein Nielsen -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Apr 27, 2006
    #6
  7. Lasse Reichstein Nielsen wrote:

    > <title>Image test page</title>
    > <style type="text/css">
    > #imgbox {
    > width: 300px;
    > height: 300px;
    > overflow: auto;
    > }
    > </style>
    >
    > <div id="imgbox">
    > <table>
    > <tr><td><img src="img1.png"></td></tr>
    > <!-- ... -->
    > <tr><td><img src="img200.png"></td></tr>
    > </table>
    > </div>
    > ----
    >
    > I would drop the table.


    Right, one should use floats instead. See also a site of a friend of mine:

    <URL:http://das-mehdorn.de/galerie/>


    PointedEars
    --
    What one man can invent another can discover.
    -- Sherlock Holmes in Sir Arthur Conan Doyle's
    "The Adventure of the Dancing Men"
     
    Thomas 'PointedEars' Lahn, Apr 28, 2006
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3ltcGhvbnk=?=

    scoll down a page to a certain position when reload the page

    =?Utf-8?B?U3ltcGhvbnk=?=, Mar 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    594
    Craig Deelsnyder
    Mar 3, 2005
  2. ujjc001
    Replies:
    0
    Views:
    381
    ujjc001
    Mar 9, 2005
  3. Gnarlodious
    Replies:
    4
    Views:
    17,712
    elizas
    May 5, 2010
  4. UJ

    Scoll a table cell.

    UJ, Jun 19, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    373
    bruce barker \(sqlwork.com\)
    Jun 19, 2006
  5. Martin Raychev
    Replies:
    1
    Views:
    305
    Alvin Bruney [MVP]
    Mar 2, 2004
Loading...

Share This Page