The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> controlling window size pop-up
uxk8396
post Sep 22 2008, 02:21 PM
Post #1


Novice
**

Group: Members
Posts: 26
Joined: 11-September 08
Member No.: 6,650



Hi,
I understand that for setting up a new window size, we need to write the following
QUOTE

<a href="java script:location="lae.html";window.open('lae2.html','label','height=150,width=150,srollbars=yes')">

Can you please explain how do I assign "label"(name of new window) in lae2.html? Is it the <title>label</label>

Thank you
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Sep 22 2008, 02:31 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



See the FAQ at http://htmlhelp.com/faq/html/links.html#window-specify
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 22 2008, 02:31 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



If you mean the title, what's shown on the titlebar, then yes.

But that isn't the way to write the popup code. This is.
http://htmlhelp.com/faq/html/links.html#window-specify
Never ever use href="javascript:". That FAQ entry also answers your question in the subject about window size.

I don't understand your code. Are you trying to open a page in the main window (lae.html) at the same time as you open a popup?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 23 2008, 08:10 AM
Post #4


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(uxk8396 @ Sep 22 2008, 09:21 PM) *

Can you please explain how do I assign "label"(name of new window) in lae2.html?

If you do mean the popup's name parameter, it's enough to specify it in the open() method like you already do. You don't add anything in lae2.html.

You should still construct the popup like the FAQ describes (see pandy's link). wink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 08:24 PM