keytone Posted March 23, 2015 Share Posted March 23, 2015 Well, if you noticed my name, you would expect another goofy question! I am trying to figure out how to send a link to someone and just have it open a new window ( such as with window.open instead of opening a whole new browser tab. I want to just have a window ( which I can choose the size ). I can't figure a way, but then there have been a thing or two along the way in life that I have had trouble figuring out! If any of you has any advice that could guide me, I would be very, very grateful. John Link to comment Share on other sites More sharing options...
justsomeguy Posted March 23, 2015 Share Posted March 23, 2015 You're pretty limited in what you can tell the email client to do. Most email clients will not execute Javascript code. You could have some Javascript on your page to resize it if you want though, although that might be a little annoying for some people. Link to comment Share on other sites More sharing options...
davej Posted March 23, 2015 Share Posted March 23, 2015 Unwanted popup windows have been such a problem for users that most browsers now limit them severely and incorporate "popup blocker" settings. Link to comment Share on other sites More sharing options...
keytone Posted March 25, 2015 Author Share Posted March 25, 2015 Oh, thanks. I guess I wasn't thinking of it as a pop-up. My concept was to make the new window the same size (or very close to it) as the browser tab that their e-mail is and put a page inside that new window. The idea being that when they close that window, they aren't closing their email or browser tab. You're right, I guess it is a pop-up, just a big one . Maybe I should be thinking along the lines of "self-closing" the tab or page that is opened when they click on my page link. Now I sense that I'm not making any sense again... Link to comment Share on other sites More sharing options...
davej Posted March 25, 2015 Share Posted March 25, 2015 Perhaps you should think in terms of what you can "pop up" on the assigned window by changing the visibility of elements on your page -- rather than creating separate windows. Users generally don't want a website to be able to take control of their browser -- because each website is only granted one tabbed window -- not the entire browser. The user is generally looking at several websites at the same time on different tabs. Link to comment Share on other sites More sharing options...
keytone Posted March 26, 2015 Author Share Posted March 26, 2015 ok, I'm back. Yes, I understand, I think. The problem that I'm trying to get around is that they may click the link in their e-mail that takes them to my page, then they can just close that tab when they're done. That's the way it is supposed to be. But I have talked to a few people that (when they close my page) are using the very "top-right" red X and wind up closing the whole browser. The "new window"idea was my first thought, then I thought maybe if I could put a "click here to close this page" type of button and "self-close" that page, that it might work, but I wouldn't know if that can even be done. I suppose it's a matter of them learning the difference between closing a tab and closing the whole browser. I was just trying to figure out way to make it fool-proof. I think I'll just put it out of my mind now and worry about more important stuff. Thanks very much for your patience and input. John Link to comment Share on other sites More sharing options...
justsomeguy Posted March 26, 2015 Share Posted March 26, 2015 But I have talked to a few people that (when they close my page) are using the very "top-right" red X and wind up closing the whole browser.There are several terms for that. One is PEBKAC (problem exists between keyboard and chair), another is PICNIC (problem in chair, not in computer).I was just trying to figure out way to make it fool-proof.Don't waste your time, someone will just go and make a better fool. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now