Popup screen wrong size |
Popup screen wrong size |
Weeder |
Mar 5 2010, 11:48 AM
Post
#1
|
Group: Members Posts: 2 Joined: 5-March 10 Member No.: 11,294 |
On my website (www.weeder.nl) I have one menu topic that makes a screen pop up ('Foto's bestellen sorry the website is in Dutch). I want it to be full screen which it is in firefox. But when i run my website from internet explorer the window opens with the size of a stamp. I've been looking for an error in the code but can't find anything. What am i doing wrong? How can i make sure the popup opens properly in all browers?
thanx |
Roeselhof |
Mar 5 2010, 12:19 PM
Post
#2
|
Newbie Group: Members Posts: 18 Joined: 25-February 10 Member No.: 11,214 |
[quote name='Weeder' date='Mar 5 2010, 11:48 AM' post='45856']
On my website (www.weeder.nl) ... [/quote] MS-IE handel your code: [qoute] <p><a href="java script:NewWindow('http://weeder.onlinefotoverkoop.nl','Winkel','width=100%','front');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bestellen','','afbeeldingen/menu/bestellen_b.jpg',1)"><img src="afbeeldingen/menu/bestellen.jpg" alt="Foto's bestellen" name="Bestellen" width="180" height="25" border="0" id="Bestellen" /></a></p> [/quote] correct. You must coded the width of anchor-tag in absolute unit, not per %, if you wont an lager width as your picture has it. Regards |
pandy |
Mar 5 2010, 12:21 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
CODE javascript:NewWindow('http://weeder.onlinefotoverkoop.nl','Winkel','width=100%','front'); AFAIK you can't use a percentage for width. IE probably interprets it as 100 pixels. What's 'front'? Does that exist? |
pandy |
Mar 5 2010, 12:47 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Sorry, Roeselhof. Didn't see your post.
|
Weeder |
Mar 6 2010, 11:05 AM
Post
#5
|
Group: Members Posts: 2 Joined: 5-March 10 Member No.: 11,294 |
Thanx for your reply. I've changed the width setting from 100% to 800 px but it hasnt helped. I've also tried using 'fullscreen' but no result. The 'front' command is supposed to make sure the screen pops up rather then under. Should i leave this out?
|
pandy |
Mar 6 2010, 03:37 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
There is no px either in JS. 'width=800'.
|
Lo-Fi Version | Time is now: 25th April 2024 - 07:01 AM |