Welcome, Guest. Please login or register.

Author Topic: picture gallery, javascript and amiga browsers  (Read 1542 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline z5Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 366
    • Show only replies by z5
    • http://ada.untergrund.net
picture gallery, javascript and amiga browsers
« on: February 13, 2003, 05:30:26 PM »
Hi

i  want to make a picture gallery for my website. I want thumbs (the small pictures) and also one big picture on the same screen (i don't like popups).

If i click on a thumb, then the big picture should be loaded on the same page, without reloading the rest of the page.

Seems javascript is the only way to achieve this. But do amiga browsers support javascript? And is there any other solution, in php for example?

as always, thanks for the replies!
A.miga D.emoscene A.rchive: Relive the dreams...
 

Offline SilvrDrgn

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: picture gallery, javascript and amiga browsers
« Reply #1 on: February 13, 2003, 06:10:23 PM »
Yes, Amiga browsers support JavaScript.  iBrowse v2.3 has the best support right now.  However, you shouldn't need it anyway.  If a user loads the thumbnails page and then clicks on one of them,  fast reloading of the entire page of thumbnails plus the big picture should be automatic.  If the thumbnail URLs don't change, the browser's cache should load the images from disk or RAM rather than redownloading them from the net.  If that's still not what you want, then JavaScript would be the way to go because PHP is on the server side and the whole page would likely have to be re-downloaded anyway.
Michael
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: picture gallery, javascript and amiga browsers
« Reply #2 on: February 13, 2003, 06:15:21 PM »
While this isn't exactly what you want, try getting "Gallery" off of the Aminet.  Point it to the directory on your local machine with the pictures, it creates the thumbs and a gallery page for you.  It also creates frames, so navigation on the site is easy.  It's straight html, so Amiga browsers aren't going to have any problem at all.

In fact, you could probably take the resulting pages, run them through an editor with find/replace, and add target="_NewWindow" to all of the picture links to get the pop-up effect.

Hope that helps.
Regards,
Targhan
 

Offline BouncingAyatollah

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 341
    • Show only replies by BouncingAyatollah
Re: picture gallery, javascript and amiga browsers
« Reply #3 on: February 13, 2003, 10:12:25 PM »
Off the top of my head you could have the thumbs in a strip, say, in one frame and the big picture in another, simply reload the bigger frame per click - no reloading of the thumbs part.

Or with clever naming etc., you might be able to get an onClick event for each thumb to change the .src of the big picture, kind of a like a "big rollover". Not too keen on Javascript myself though, always seems a bit finnicky...
\\"Whose souls, albeit in a cloudy memory, yet seek back their good,
but, like drunk men, know not the road home.\\" -- BOETHIUS