PC Review


Reply
Thread Tools Rate Thread

Different size JS PopUp's on a page

 
 
=?Utf-8?B?RnJlZA==?=
Guest
Posts: n/a
 
      1st Apr 2007
Is it possible to have more than one Javescript popup size on a page. I would
like to use three with varying widths if possible. Also can anyone show me
the code to center the image within the popup. I've tried the normal <p align
"center"> but I'm obviously placeing it in the wrong place.
--
Fredthe old ted (teddy bear) webmaster of several sites
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      1st Apr 2007
You would create 3 separately named JavaScript Popup windows functions. The image to be centered
must be first inserted into a actually page, then selected and centered, etc.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Fred" <(E-Mail Removed)> wrote in message
news:34D7947F-13C9-4A11-A1D3-(E-Mail Removed)...
> Is it possible to have more than one Javescript popup size on a page. I would
> like to use three with varying widths if possible. Also can anyone show me
> the code to center the image within the popup. I've tried the normal <p align
> "center"> but I'm obviously placeing it in the wrong place.
> --
> Fredthe old ted (teddy bear) webmaster of several sites



 
Reply With Quote
 
+Bob+
Guest
Posts: n/a
 
      1st Apr 2007
On Sun, 1 Apr 2007 07:38:44 -0400, "Thomas A. Rowe" <(E-Mail Removed)>
wrote:

>You would create 3 separately named JavaScript Popup windows functions. The image to be centered
>must be first inserted into a actually page, then selected and centered, etc.



You can also create one function that accepts passed parameters and
uses them in a window.open() to pop the window in any size you want.

Hint: A good Javascript window pop up function checks to make sure the
window pops (due to pop-up blockers) and then displays the content in
the main window if it did not).


 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      2nd Apr 2007
True.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"+Bob+" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> On Sun, 1 Apr 2007 07:38:44 -0400, "Thomas A. Rowe" <(E-Mail Removed)>
> wrote:
>
>>You would create 3 separately named JavaScript Popup windows functions. The image to be centered
>>must be first inserted into a actually page, then selected and centered, etc.

>
>
> You can also create one function that accepts passed parameters and
> uses them in a window.open() to pop the window in any size you want.
>
> Hint: A good Javascript window pop up function checks to make sure the
> window pops (due to pop-up blockers) and then displays the content in
> the main window if it did not).
>
>



 
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
in excel; page size is adjusing, not print size on page. nidantwo Microsoft Excel Misc 0 23rd Nov 2009 06:41 PM
popup size Ike Windows XP Internet Explorer 1 12th May 2006 02:22 AM
How to prevent the popup child page redirect to login page? ABC Microsoft ASP .NET 0 12th Dec 2005 08:40 AM
popup won't re-size =?Utf-8?B?amFuaWNl?= Windows XP Internet Explorer 0 23rd May 2005 05:00 AM
Matching printer page size with page set-up page size in Word 2000. Alasdair Baxter Microsoft Word Document Management 1 10th Dec 2003 09:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 PM.