Scoll box for pictures

E

Erwin Moller

chrisdude911 said:
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
 
C

chrisdude911

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
 
L

Lasse Reichstein Nielsen

chrisdude911 said:
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>
 
T

Thomas 'PointedEars' Lahn

Lasse said:
<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>

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

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


PointedEars
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top