controlling window size pop-up |
controlling window size pop-up |
uxk8396 |
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 |
Frederiek |
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
|
pandy |
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? |
Christian J |
Sep 23 2008, 08:10 AM
Post
#4
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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). |
Lo-Fi Version | Time is now: 23rd April 2024 - 08:24 PM |