473,769 Members | 4,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scoll box for pictures

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

Apr 26 '06 #1
6 2840
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
"chrisdude9 11" <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/rasterTriangleD OM.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
3369
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 NR="2"><![CDATA[/9j/4AAQSk.............></PIC> <PIC NR="3"><![CDATA[/9j/4AAQSk.............></PIC> </PICTURES>
0
2031
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 that a mixture of PHP and MySQL would be a good idea. I have currently set up OmniHTTPd and installed MySQL and PHP onto my homeserver. I want the site to be set up as follows: 1- I add the report, date and pictures (and amount of pictures...
2
1594
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 uesed on button checked change event to contro all those buttons.( these button have set to be autopostback=true),when I click on one button, the page will auto postback and go to the top of the page, How can I scoll down the page to the position...
0
1286
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
20935
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 contains the paths to the pictures. The database consists of two tables: TABLE DATA ID Name LastName
1
1399
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 uesed on button checked change event to contro all those buttons.( these button have set to be autopostback=true),when I click on one button, the page will auto postback and go to the top of the page, How can I scoll down the page to the position...
1
1688
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). Because, i am managing some pictures in my one part of the Project, and i need how to rotate pictures in Visual Basic. So, please tell me how to include zooming facility in VisualBasic. and how to include scrolls in that pictures, and also i need zoom to...
4
7255
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 in that column, or i maybe need to put pictures in Add_Data folder and make reference from there, or what I need to do? could someone explain me that process of putting at least one picture in database, I'm using Microsoft SQL Server 2005
2
2985
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 group of records I want. Now I could use some help displaying just the pictures on a form in a 4 rows of 5 pattern. I don't want to have a continuous form with 20 pictures in a row. (although if that were the case I would have finished already). The...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.