473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Scoll box for pictures

HI
How would i make a scroll box for pictures?
Thanks
Chris

Apr 26 '06 #1
6 2823
Zif
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
Apr 27 '06 #2
Sorry!
I mean in JAVASCRIPT!
Thanks
Chris

Apr 27 '06 #3
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
Apr 27 '06 #4
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

Apr 27 '06 #5
"chrisdude911" <ch***********@gmail.com> 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 - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Apr 27 '06 #6
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"
Apr 28 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bob Bedford | last post by:
I've been able to parse the XML files used to update my database. Now, I receive image in XML files, like this: <PICTURES COUNT="3" CDATA="1"> <PIC NR="1"><!]></PIC> <PIC...
0
by: JakeC | last post by:
Hey all, I'm currently redesigning a website that a friend and I started about a year ago. It is a daily surf report so when choosing the best script/language to use for the new design, I found...
2
by: Symphony | last post by:
Hi, all: I am using ie6 and vb.net developing the web site. on one .aspx page , we have several radio buttons( we did not use radio button list), only one of these button can be seleted. so I...
0
by: Marcel - IDUG Europe 2005 | last post by:
Visit the blog for a virtual experience of the conference. Check out the blog at: http://idugeurope.blogspot.com Here are some previous posts: - Pictures Live on Tuesday
12
by: Wadim Grasza | last post by:
I want to store and display (on a form or a report) multiple pictures per record in an access database. The pictures are not stored within the database. They are stored as files and the database...
1
by: Symphony | last post by:
Hi, all: I am using ie6 and vb.net developing the web site. on one .aspx page , we have several radio buttons( we did not use radio button list), only one of these button can be seleted. so I...
1
by: suresh_punniyakkodi | last post by:
Hellow, I am suresh, i am developing one project in VB. I need your help. My question is how to zoom pictures(zoom in and zoom out) in Visual Basic (like Photo Editor). ...
4
by: Zeljko Bilandzija | last post by:
Hy, could someone help me in this: In design mode, i want to put pictures in database. I made column named pics, and its type as image. How can I put pictures or some address of these pictures...
2
by: Tyler | last post by:
I need to have a form that displays a group of 20 pictures in 4 rows of 5 pictures. The pictures are of people. Each Subject record has a picture field. I have a query written that selets the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.