Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Scoll box for pictures

Reply
Thread Tools

Scoll box for pictures

 
 
chrisdude911
Guest
Posts: n/a
 
      04-26-2006
HI
How would i make a scroll box for pictures?
Thanks
Chris

 
Reply With Quote
 
 
 
 
Zif
Guest
Posts: n/a
 
      04-27-2006
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
 
Reply With Quote
 
 
 
 
chrisdude911
Guest
Posts: n/a
 
      04-27-2006
Sorry!
I mean in JAVASCRIPT!
Thanks
Chris

 
Reply With Quote
 
Erwin Moller
Guest
Posts: n/a
 
      04-27-2006
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
 
Reply With Quote
 
chrisdude911
Guest
Posts: n/a
 
      04-27-2006
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

 
Reply With Quote
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      04-27-2006
"chrisdude911" <(E-Mail Removed)> 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 - http://www.velocityreviews.com/forums/(E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      04-28-2006
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"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
div box questions; float text around a box, fit box to image size Gnarlodious HTML 4 05-05-2010 11:30 AM
Scoll a table cell. UJ ASP .Net 1 06-19-2006 03:44 PM
Tell if horizontal scoll bars are visible / active on a div layer. ujjc001 ASP .Net 0 03-09-2005 09:30 PM
scoll down a page to a certain position when reload the page =?Utf-8?B?U3ltcGhvbnk=?= ASP .Net 1 03-03-2005 07:29 PM
Sending pictures via email Via OE6+Win XP - I no longer get prompt to "make all my pictures smaller" Ian Roberts Digital Photography 3 09-21-2003 04:57 PM



Advertisments