HTML - linking to pictures
#1
Scooby Regular
Thread Starter
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes
on
0 Posts
I have a file in Dreamweaver that has some thumbnails on it. I want it to work so that when you click the thumbnail then it opens the full size picture in a _blank window but automatically resizes to the size of the full size picture.
How do i do it as I can only set up a behaviour with one window size for all i think.
Dave
How do i do it as I can only set up a behaviour with one window size for all i think.
Dave
#2
This might be of use, I used it for resizing a web page containing a terminal services web session:
<html>
<head>
<script language="javascript">
function connect()
{
window.resizeTo(Width,Height);
}
</script>
</head>
<body onLoad="connect();" style="margin: 0px;">
</body>
</html>
The width and height values, in this case, are set by the webserver (IIS and ASP) when the page is requested.
Nigel
<html>
<head>
<script language="javascript">
function connect()
{
window.resizeTo(Width,Height);
}
</script>
</head>
<body onLoad="connect();" style="margin: 0px;">
</body>
</html>
The width and height values, in this case, are set by the webserver (IIS and ASP) when the page is requested.
Nigel
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
shorty87
Wheels And Tyres For Sale
0
25 September 2015 08:36 PM