I am looking for an option to resize a non fullscreen window into fullscreen mode.
JavaScript provides the well-known method "window.open(fullscreen=yes, ...)" to render fullscreen windows. However, I don't want to open a new window but rather want to resize a window ...in my case ones a user has clicked a button.
I know how to use javascript to modify a newly opened window's properties. Instead, what I want to happen is someone clicks on a link and they stay in the current browser window, but the window size changes to fit my specifications.
I'm using Chrome15.0.874.102 beta-m, but this problem has been occurring since some old versions...I'm trying to open a popup with window.open, and I'm putting "fullscreen=no", but the window is opening always in fullscreen! And the size of the popup isn't higher than my monitor resolution.Here's the main code:
function popup_przyr() { var leftVal = (screen.width - 800) / 2; var topVal = (screen.height - 800) / 2;
i have an imagemap, and i don't know where to write in the specific size for the new window popping up...if it's possible? i'm having just an "add to cart" page pop up and i don't need a big space..
1. Take the current URL of the page and open a new window with a URL based on the current page. Some examples (I use "->" to mean "this URL turns into that URL"):I plan to use these bookmarklets in sequence, first pressing 1 to log into the CMS, then pressing 2 to edit the current page.
I have a quite interesting design from my point of view, but it has a small issue: the maximum screen width can't be wider than 1500px.I would like for somebody to share with me a script which detects the visitors screen resolution and if the screen resolution is higher than 1500px ( for example ) the screen resolution should be re-sized to the maximum point, 1500px in my case.
I'm making a drop down box using offset so it's below the correct option, but if I resize the window, the dropdown box keeps the same offset as when the page was originally loaded.
I need help with resizing a popup window in firefox. Currently, I use a JS script to open a popup window, and then resize the window to the size of the image. It works perfectly in IE, but not as well in Firefox.
Funny thing is it does work as expected with some images. The code is identical for every image I use this for, so I cannot figure out why it is not resizing correctly. Code:
I'm having a problem with my dropdown menu every time i see to resize my window the menu side to side moves out of place how can i stop this from happening. Code:
code to show ( overlay / modal window ) to the user when closing or navigating away from the page ( i want put in this window facebook share to make the user to share the page in his facebook ) , bytheway i wanna use it in my wordpress in every post could it be happen ?
I have a small dillemma I'm trying to solve involving javascript and I was curious if anyone here might be able to tell what the issue is. I'm redesigning my portfolio, and I have a page that involves popup windows, which can be seen at www.souledesign.net/final_site3/portfolio_flash.html. When I click on an icon, it pops up a window successfully. However, the height value I have inputted for the window is ignored, and the window automatically sizes itself vertically to the full height of the web browser.
The code that I've placed on the button that pops up the javascript window looks like this:
This should open a simle XHTML document sized to 496x70px, containing a Flash movie that is displayed using swfobject javascript. unfortunately, the window ends up resizing itself to a height that fills up the entire page rather than properly sizing to 70 pixels.
I have code that works fine in Firefox, but not in netscape.
I would like to open a popup window to display an "email a friend page".
this is my html/javascript
HTML Code: <a class="emailicon" href="/e/email" title="Email Article" return false;">Email</a> But my window does not open that size. What am i missint. IE and netscape show a full 100% size browser window.
I have a page that contains 3 Iframes. Left is navigation Center is main content Bottom is footer
How would I put together a link from the navigation that allows me to open a NEW Iframe over the existing Center region? I don't want to target the existing Iframe and load the link in that window. I want the existing Center Iframe to remain open and an additional Iframe to open with the new page.
The goal is so that the 2 Iframes are independent. They are both forms and I need them to be able to copy and paste into both forms at the same time without affecting each other.
I have a window open, let's say index.html. On the page I have a link that executes a javascript. I want the javascript to open file new.html in the same window that index.html was displayed in. How do I do this? Everything I try opens a new window.
I need a window that opens up with no Toolbars. I know how to achieve this from another window via a link. But is there a method to reload the current window with no tool bars.
As you can see this code will open up a new window. I can't seem to find the code to make it appear in the same window. As in I click on the link "ABOUT US" and the new page loads on the current window. Code: <div style = "cursor:pointer;hand" onclick = "window.open('testdocaboutus.html')" class = "txt-1">ABOUT US</div>