PC Review


Reply
Thread Tools Rate Thread

creating popup windows

 
 
tarquinlinbin
Guest
Posts: n/a
 
      27th Jan 2004
I have a web page which has images on it,small images which have been
auto thumbnailed. The pictures are also hyperlinks and when clicked,a
new browser page opens and displays the picture. Unfortunately the
newly opened broswer window which displays the picture is almost
always full size and really,i;d like it to be much more like a popup
window so that it is just the right size for the displayed image and
no bigger,,i.e no white background is visable within the browser
window,just the image. Can anyone give me clues on how to do this?

ta,,joe


 
Reply With Quote
 
 
 
 
Sparky Polastri
Guest
Posts: n/a
 
      27th Jan 2004

"tarquinlinbin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a web page which has images on it,small images which have been
> auto thumbnailed. The pictures are also hyperlinks and when clicked,a
> new browser page opens and displays the picture. Unfortunately the
> newly opened broswer window which displays the picture is almost
> always full size and really,i;d like it to be much more like a popup
> window so that it is just the right size for the displayed image and
> no bigger,,i.e no white background is visable within the browser
> window,just the image. Can anyone give me clues on how to do this?
>
> ta,,joe
>
>


Use a "javascript popup hyperlink"

Google for that and you will find tons of examples, and maybe even a site
that makes the code for you.


 
Reply With Quote
 
Tom Pepper Willett
Guest
Posts: n/a
 
      27th Jan 2004
Download the free FrontPage addin "Spawn" from www.jimcoaddins.com

--
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/fron...o/default.mspx
http://msdn.microsoft.com/frontpage
-----
"tarquinlinbin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a web page which has images on it,small images which have been
> auto thumbnailed. The pictures are also hyperlinks and when clicked,a
> new browser page opens and displays the picture. Unfortunately the
> newly opened broswer window which displays the picture is almost
> always full size and really,i;d like it to be much more like a popup
> window so that it is just the right size for the displayed image and
> no bigger,,i.e no white background is visable within the browser
> window,just the image. Can anyone give me clues on how to do this?
>
> ta,,joe
>
>



 
Reply With Quote
 
tarquinlinbin
Guest
Posts: n/a
 
      27th Jan 2004
On Tue, 27 Jan 2004 08:43:04 -0600, "Sparky Polastri"
<(E-Mail Removed)> wrote:

>
>"tarquinlinbin" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> I have a web page which has images on it,small images which have been
>> auto thumbnailed. The pictures are also hyperlinks and when clicked,a
>> new browser page opens and displays the picture. Unfortunately the
>> newly opened broswer window which displays the picture is almost
>> always full size and really,i;d like it to be much more like a popup
>> window so that it is just the right size for the displayed image and
>> no bigger,,i.e no white background is visable within the browser
>> window,just the image. Can anyone give me clues on how to do this?
>>
>> ta,,joe
>>
>>

>
>Use a "javascript popup hyperlink"
>
>Google for that and you will find tons of examples, and maybe even a site
>that makes the code for you.
>

thanks for the tip,ive found a code generator for that but how does
that bit of code which is generated,fit in with the autothumbnailed
pic which is a clickable link ?,i.e clcick on the auto thumbnailed
image to launch popup and display the bigger image?
 
Reply With Quote
 
tarquinlinbin
Guest
Posts: n/a
 
      27th Jan 2004
On Tue, 27 Jan 2004 08:53:25 -0600, "Tom Pepper Willett"
<(E-Mail Removed)> wrote:

>Download the free FrontPage addin "Spawn" from www.jimcoaddins.com

thanks Tom,i;m just DL it now so i'll have a play around and see how
it goes!!

ta

joe

 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      27th Jan 2004
>-----Original Message-----
>I have a web page which has images on it,small images
>which have been auto thumbnailed. The pictures are also
>hyperlinks and when clicked,a new browser page opens and
>displays the picture. Unfortunately the newly opened
>broswer window which displays the picture is almost
>always full size and really,i;d like it to be much more
>like a popup window so that it is just the right size for
>the displayed image and no bigger,,i.e no white
>background is visable within the browser window,just the
>image. Can anyone give me clues on how to do this?



You have to modify the thumbnail's hyperlink to call the
window.open method, as shown below.

<a href="javascript:window.open
('/images/mypicture.jpg',null,'height=200,width=400,status=
no,toolbar=no,menubar=no,location=no');void(0);">

The height= and width= settings specify the *external*
size of the new window. Making the window just large
enough to show the whole picture is a problem, because you
can't know in advance how much space the window borders
consume. You'll probably have to make the window a little
over-sized, and hope for the best.

For more information about the window.open method, browse:
http://msdn.microsoft.com/workshop/a...ml/reference/m
ethods/open_0.asp

Microsoft Office FrontPage 2003 Inside Out comes with a
test page that displays the browser's current external and
internal window sizes. This may be helpful when estimating
the external window size needed to provide a given
internal space. You can preview this page at:

http://www.interlacken.com/fp11iso/ch19/windowsize.htm

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      27th Jan 2004
If you can use ASP, see:
http://www.ycoln-resources.com/resou...lt.asp#script9

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"tarquinlinbin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a web page which has images on it,small images which have been
> auto thumbnailed. The pictures are also hyperlinks and when clicked,a
> new browser page opens and displays the picture. Unfortunately the
> newly opened broswer window which displays the picture is almost
> always full size and really,i;d like it to be much more like a popup
> window so that it is just the right size for the displayed image and
> no bigger,,i.e no white background is visable within the browser
> window,just the image. Can anyone give me clues on how to do this?
>
> ta,,joe
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mcafee & windows popup blocker off, but still can't get popup windows? sarab Windows XP Basics 5 24th Jan 2006 10:31 PM
Creating a popup menu =?Utf-8?B?RGFu?= Microsoft VB .NET 4 2nd Dec 2005 05:12 PM
Windows trys to install Earthlink popup blocker everytime a popup =?Utf-8?B?TGRlbXBrZQ==?= Windows XP Performance 0 7th Nov 2005 08:51 AM
Creating popup for Outlook Jon Microsoft Outlook Discussion 0 14th Mar 2005 02:39 PM
URGENT: Popup windows not working anymore - but no popup-blocker installed!!! owen Windows XP Internet Explorer 8 18th Sep 2003 03:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.