Photo Album

P

Peddler

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
 
D

David Dorward

Peddler said:
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
 
P

Peddler

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

m
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
 
S

Sid Ismail

: 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>
 
P

Peddler

Sid Ismail said:
: 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
 
J

Jerry Perkins

Peddler said:
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/
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top