![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
picture viewer
I have taken some programming classes, mostly in Java. I am bored now and want to mess around with some HTML to make a picture website. I did it before (a few years ago) using frontpage. I now want to do it by coding HTML.
Today I made this site: http://home.comcast.net/~jdriesen/ as a starting point. I want to be able to click the links (I know they're not active, they're just for show) on the left side and have pictures displayed from the parties in the big frame. Is this a proper way to accomplish this? How could I go about creating the picture viewer. I was thinking of maybe writing a java applet that would just run through the pictures by clicking a NEXT button or something, or maybe learning another language. Any ideas? Thanks, JD |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Apr 2005
Posts: 96
Rep Power: 4
![]() |
edit: wow my post was wrong... wait a sec while i fix it
Last edited by crazykid48x; Nov 16th, 2005 at 3:55 PM. |
|
|
|
|
|
#3 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3
![]() |
Using frames today is considered as a bad habit, but if you want to use frames, don't stop yourself
. There are several approaches. A simple one is to just link to the image in the big frame. Another way is to use javascript in one frame, and program a 'next' and 'previous' button.If you want to do it in an easier way, you could also make separate pages for every picture. Another approach is to use a server-side scripting language like PHP, and generate the pages automatically. |
|
|
|
|
|
#4 |
|
Programmer
|
Yea I thought frames were bad too, but it seemed like a good idea earlier today! It's not going to be just one picture for each link, but a set of pictures. So if you click on "Halloween 2004" it will be a folder containing like 50 pictures from the Halloween 2004 party. So I think crazykid48x's idea of quoting each picture would be a pain...I'd have to have a link for each picture. Too lazy for that.
I could probably make separate pages for each picture, but that's also a pain. The javascript or PHP idea sound better. Since I dont know either of them, sounds like some reading will be in my future. I actually did think of having a NEXT and PREVIOUS button and just have that scroll through the pictures. Would PHP or Javascript be better? JD |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
You can get ready made image galleries for free all over the place.
No coding involved, you just create directories and put your images in them, and the php does the rest. I've heard this one is supposed to be pretty good. Customisable too. http://spgm.sourceforge.net/
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet" |
|
|
|
|
|
#6 |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
^ I think the point of this is to teach the original poster how to make sites, not just make an image gallery.
I say just do it in XHTML and don't use anything else when you don't need to.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
#7 |
|
Professional Programmer
|
If you already know Java, look into JSP. Should be a pretty natural fit.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|