Question:
html code to control the size of new window?
faith_labrum
2006-02-13 19:10:45 UTC
I'm creating a web page that has thumbnails that you can click on to see a larger image. I have used the target=_blank command to get the larger image to open up in the new window. Is there a way to control the size of the new window that pops up? Ideally, I would like it to be the exact size of the enlarged photo (as opposed to a full-screen pop up). Thank you for any assitance that you can provide.
Four answers:
zaskie
2006-02-13 19:30:42 UTC
you will need some javascript,



yahoo on a new window
?
2016-05-20 03:01:58 UTC
you have a second open body tag: . Remove that. in your css you define backgroundcolor and textcolur as white. And then you use style3 to get some black text. Only style3 seems relevant. delete other css and effect is the same. floating palette? and windowsize? I have to guess that you have something written within the window.open() function. Can not see it in your question, so can not help you there. in the second function MM_openBrWindow() you call window.open() indirectly. Again i can not see wich parameters you passed here.. So can not help you here either.
Wulf
2006-02-13 19:49:08 UTC
As mentioned above, that would be ECMAscript.



If you have any further questions about HTML, you should check out the W3C website. Especially the HTML Validator.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...