Photo Album

Discussion in 'HTML' started by Peddler, Oct 27, 2003.

  1. Peddler

    Peddler Guest

    I am attempting to design a photo album for my own family's use. Thumbnails
    are displayed on the first screen, then when thumbnail is clicked it will
    open a individual html file. The problem is I can not get this second html
    program to open a full screen using the following:

    <body onload="moveTo(0,0); resizeTo(screen.availWidth,screen.availWidth)">

    Can someone tell me what I am doing wrong?

    Thanks.

    The Peddler
     
    Peddler, Oct 27, 2003
    #1
    1. Advertising

  2. Peddler wrote:

    > I am attempting to design a photo album for my own family's use.
    > Thumbnails are displayed on the first screen, then when thumbnail is
    > clicked it will open a individual html file. The problem is I can not get
    > this second html program to open a full screen using the following:
    >
    > <body onload="moveTo(0,0); resizeTo(screen.availWidth,screen.availWidth)">
    >
    > Can someone tell me what I am doing wrong?


    (1) You are opening a new window

    http://diveintoaccessibility.org/day_16_not_opening_new_windows.html

    (2) You are trying to force a fullscreen window

    http://dorward.me.uk/www/dumb/fullscreen.jpeg

    --
    David Dorward http://dorward.me.uk/
     
    David Dorward, Oct 27, 2003
    #2
    1. Advertising

  3. Peddler

    m Guest

    David Dorward wrote:
    > Peddler wrote:
    >
    >
    >>I am attempting to design a photo album for my own family's use.
    >>Thumbnails are displayed on the first screen, then when thumbnail is
    >>clicked it will open a individual html file. The problem is I can not get
    >>this second html program to open a full screen using the following:
    >>
    >><body onload="moveTo(0,0); resizeTo(screen.availWidth,screen.availWidth)">
    >>
    >>Can someone tell me what I am doing wrong?

    >
    >
    > (1) You are opening a new window
    >
    > http://diveintoaccessibility.org/day_16_not_opening_new_windows.html
    >
    > (2) You are trying to force a fullscreen window
    >
    > http://dorward.me.uk/www/dumb/fullscreen.jpeg
    >

    That's right. My take on the problem:
    http://www.mbstevens.com/howtothumb/

    m


    --
    Cheers, m at http://www.mbstevens.com
    ....via Tux and Ice -- 0% GatesBloat
     
    m, Oct 27, 2003
    #3
  4. Peddler

    Peddler Guest

    "m" <> wrote in message
    news:V7hnb.4161$...
    > David Dorward wrote:
    > > Peddler wrote:
    > >
    > >
    > >>I am attempting to design a photo album for my own family's use.
    > >>Thumbnails are displayed on the first screen, then when thumbnail is
    > >>clicked it will open a individual html file. The problem is I can not

    get
    > >>this second html program to open a full screen using the following:
    > >>
    > >><body onload="moveTo(0,0);

    resizeTo(screen.availWidth,screen.availWidth)">
    > >>
    > >>Can someone tell me what I am doing wrong?

    > >
    > >
    > > (1) You are opening a new window
    > >
    > > http://diveintoaccessibility.org/day_16_not_opening_new_windows.html
    > >
    > > (2) You are trying to force a fullscreen window
    > >
    > > http://dorward.me.uk/www/dumb/fullscreen.jpeg
    > >

    > That's right. My take on the problem:
    > http://www.mbstevens.com/howtothumb/
    >
    > m
    >
    >
    > --
    > Cheers, m at http://www.mbstevens.com
    > ...via Tux and Ice -- 0% GatesBloat
    >

    Thanks guys for the response.

    However I do not have a clue what you all are talking about. My start.html
    program has a list of thumbnails in a separate directory. When a thumbnail
    is clicked it opens the second html file, (01.html), and displays the full
    size picture. I would like this second html file, (01.html), to open in a
    full screen. This is the same type of procedure most photo album uses. All I
    am attempting to do is open this second html in full screen. Is this not
    possible?

    The Peddler
     
    Peddler, Oct 28, 2003
    #4
  5. Peddler

    Sid Ismail Guest

    On Tue, 28 Oct 2003 18:22:30 GMT, "Peddler" <> wrote:

    : Thanks guys for the response.
    :
    : However I do not have a clue what you all are talking about. My start.html
    : program has a list of thumbnails in a separate directory. When a thumbnail
    : is clicked it opens the second html file, (01.html), and displays the full
    : size picture. I would like this second html file, (01.html), to open in a
    : full screen. This is the same type of procedure most photo album uses. All I
    : am attempting to do is open this second html in full screen. Is this not
    : possible?


    Opening window = size of image

    function openWindow(url,w,h) {
    popupWin = window.open(url, 'remote',
    'resizable,width='+w+',height='+h+',left=10,top=10')
    }

    <body>
    <A href="javascript:eek:penWindow('image1','320','418')">
    <IMG border=0 height=132 src="SMpostcard-4.jpg" width=100>
    </A>

    ----------------------------------

    To open a new window - full size:

    IN HEAD:

    <script language="javascript">
    <!-- Hide from older browsers
    function openme(){

    w = screen.width;
    h = screen.height;
    ah = h - 25

    nw=window.open("sponser.html","",'toolbar=yes,location=yes,directories=yes,menubar
    =yes,scrollbars=yes,status=yes,resizable=1,width='+w+',height='+ah)
    window.nw.moveTo(0,0)

    }
    -->
    </script>

    The EVENT:

    <script language="javascript">
    <!-- Hide from older browsers
    if (document.all){
    document.write('<a href="#" onclick="openme()">click here to open a full
    window</a>')
    }
    else{
    document.write('<a href="http://www.ispelunker.com">click here to open a
    full window</a>')
    }
    -->
    </script>

    -----------------------

    The above scripts were copied from posts - not personally tried. :)

    Sid
     
    Sid Ismail, Oct 28, 2003
    #5
  6. Peddler

    Peddler Guest

    "Sid Ismail" <> wrote in message
    news:...
    > On Tue, 28 Oct 2003 18:22:30 GMT, "Peddler" <> wrote:
    >
    > : Thanks guys for the response.
    > :
    > : However I do not have a clue what you all are talking about. My

    start.html
    > : program has a list of thumbnails in a separate directory. When a

    thumbnail
    > : is clicked it opens the second html file, (01.html), and displays the

    full
    > : size picture. I would like this second html file, (01.html), to open in

    a
    > : full screen. This is the same type of procedure most photo album uses.

    All I
    > : am attempting to do is open this second html in full screen. Is this not
    > : possible?
    >
    >
    > Opening window = size of image
    >
    > function openWindow(url,w,h) {
    > popupWin = window.open(url, 'remote',
    > 'resizable,width='+w+',height='+h+',left=10,top=10')
    > }
    >
    > <body>
    > <A href="javascript:eek:penWindow('image1','320','418')">
    > <IMG border=0 height=132 src="SMpostcard-4.jpg" width=100>
    > </A>
    >
    > ----------------------------------
    >
    > To open a new window - full size:
    >
    > IN HEAD:
    >
    > <script language="javascript">
    > <!-- Hide from older browsers
    > function openme(){
    >
    > w = screen.width;
    > h = screen.height;
    > ah = h - 25
    >
    >

    nw=window.open("sponser.html","",'toolbar=yes,location=yes,directories=yes,m
    enubar
    > =yes,scrollbars=yes,status=yes,resizable=1,width='+w+',height='+ah)
    > window.nw.moveTo(0,0)
    >
    > }
    > -->
    > </script>
    >
    > The EVENT:
    >
    > <script language="javascript">
    > <!-- Hide from older browsers
    > if (document.all){
    > document.write('<a href="#" onclick="openme()">click here to open a full
    > window</a>')
    > }
    > else{
    > document.write('<a href="http://www.ispelunker.com">click here to open a
    > full window</a>')
    > }
    > -->
    > </script>
    >
    > -----------------------
    >
    > The above scripts were copied from posts - not personally tried. :)
    >
    > Sid
    >
    >
    >

    Thanks Sid, I got it...

    The Peddler
     
    Peddler, Oct 28, 2003
    #6
  7. Peddler wrote:

    > I am attempting to design a photo album for my own family's use.
    > Thumbnails are displayed on the first screen, then when thumbnail is
    > clicked it will open a individual html file. The problem is I can
    > not get this second html program to open a full screen using the
    > following:
    >
    > <body onload="moveTo(0,0);
    > resizeTo(screen.availWidth,screen.availWidth)">
    >
    > Can someone tell me what I am doing wrong?
    >
    > Thanks.
    >
    > The Peddler


    Peddler:
    I have seen Gallery software used and it looks very good. You can
    find it at http://gallery.menalto.com/
    --
    Jerry Perkins
    http://www.jperkins.us/
     
    Jerry Perkins, Oct 29, 2003
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Cartwright

    Photo Album

    Ben Cartwright, Jan 22, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    614
    Ken Cox [Microsoft MVP]
    Jan 23, 2004
  2. Guadala Harry

    Basic Photo Album

    Guadala Harry, Feb 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    468
    Bryan Donaldson
    Feb 23, 2004
  3. Mike Chan

    Microsoft photo album

    Mike Chan, Mar 10, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,964
    Mike Chan
    Mar 11, 2005
  4. Bruce Chastain
    Replies:
    6
    Views:
    442
    Bruce Chastain
    Oct 27, 2003
  5. Jason_Joe
    Replies:
    3
    Views:
    544
    Jeff Thies
    Feb 5, 2004
Loading...

Share This Page