Pop ups
-
Hello, working on an app for a buisness... Now that it's almost done, I'm going threw it again, fixing "details"... One of those "details" is causing me major problems: pop ups. I need pop up windows, which I made with the classic JavaScript window.open, because it's easy to specify all sorts of properties, like no toolbars, sizing... How can I make those pop ups WITHOUT JavaScript: it gets blocked by recent OS's like xp sp2... So, pop up windows without javascript, that won't ever get blocked, and where I can specify similar properties as I could with the evil javascript... (and it's hard to google a solution to this, because 99% of results are javascripts) Pleeeease help? :~
-
Hello, working on an app for a buisness... Now that it's almost done, I'm going threw it again, fixing "details"... One of those "details" is causing me major problems: pop ups. I need pop up windows, which I made with the classic JavaScript window.open, because it's easy to specify all sorts of properties, like no toolbars, sizing... How can I make those pop ups WITHOUT JavaScript: it gets blocked by recent OS's like xp sp2... So, pop up windows without javascript, that won't ever get blocked, and where I can specify similar properties as I could with the evil javascript... (and it's hard to google a solution to this, because 99% of results are javascripts) Pleeeease help? :~
-
You simply use
target="_blank"
on a link. The page opens in a new window, but you can't specify any properties for how the window should look.--- b { font-weight: normal; }
It's not just links, it's buttons, images, often inside datagrids... And, without javascript? To size window, remove menu, etc..? :confused:
-
It's not just links, it's buttons, images, often inside datagrids... And, without javascript? To size window, remove menu, etc..? :confused:
Help pls!! Still stuck at this... It's IMPOSSIBLE to make a popup without javascript?!?!?!
-
It's not just links, it's buttons, images, often inside datagrids... And, without javascript? To size window, remove menu, etc..? :confused:
ii_noname_ii wrote:
It's not just links, it's buttons, images, often inside datagrids...
No, it's not. If you don't want to use Javascript, there are only one way of opening a new window, and there are only two elements that can do it. You use the target property, either on a link or on a form. When you use the link or post the form, the new page will open where you specified with the target property.
ii_noname_ii wrote:
And, without javascript? To size window, remove menu, etc..?
As I said, you can't.
--- b { font-weight: normal; }
-
ii_noname_ii wrote:
It's not just links, it's buttons, images, often inside datagrids...
No, it's not. If you don't want to use Javascript, there are only one way of opening a new window, and there are only two elements that can do it. You use the target property, either on a link or on a form. When you use the link or post the form, the new page will open where you specified with the target property.
ii_noname_ii wrote:
And, without javascript? To size window, remove menu, etc..?
As I said, you can't.
--- b { font-weight: normal; }
The client wants a popup window correctly sized... He also wants it to work for everyone, which is not the case atm with my javascript window.opens... So, am I gonna be forced to tell him "I can't do that" for the first time in my life.. :((:((:(( In any case, this really seems like a missing functionality in vb.net ... Why haven't "they" ever thought of getting rid of the javascript, so we can code a window opener without the javascript (I have come to HATE javascript with all my heart and feel sick every time I have to use it...) What about those nasty crack/serial, or porn pages that manage to open popups in your face, despite your popup blocker? PM or mail me a solution if anyone has one that should not be spread to evil minds... I'll do anything (lol), I really can't stand the thought of having to tell the client "not possible"..
-
The client wants a popup window correctly sized... He also wants it to work for everyone, which is not the case atm with my javascript window.opens... So, am I gonna be forced to tell him "I can't do that" for the first time in my life.. :((:((:(( In any case, this really seems like a missing functionality in vb.net ... Why haven't "they" ever thought of getting rid of the javascript, so we can code a window opener without the javascript (I have come to HATE javascript with all my heart and feel sick every time I have to use it...) What about those nasty crack/serial, or porn pages that manage to open popups in your face, despite your popup blocker? PM or mail me a solution if anyone has one that should not be spread to evil minds... I'll do anything (lol), I really can't stand the thought of having to tell the client "not possible"..
ii_noname_ii wrote:
The client wants a popup window correctly sized... He also wants it to work for everyone, which is not the case atm with my javascript window.opens...
That is not possible. To open a window at a specific size you need to use Javascript, but as you can disable Javascript or certain Javascript functions in the browser (or using a popup blocker), that can not work for everyone.
ii_noname_ii wrote:
In any case, this really seems like a missing functionality in vb.net ...
It has nothing to do with VB.NET what so ever, as you are opening the popup in the browser.
ii_noname_ii wrote:
What about those nasty crack/serial, or porn pages that manage to open popups in your face, despite your popup blocker?
Popup blockers may have settings for what popups it allows. If a site manages to follow these rules, it can use a popup. There is also the possibility that the popup is not a popup at all, but just a part of the page that looks like a popup.
--- b { font-weight: normal; }