|
|
Or, use your gamerDNA username: (more...)
| ||||||
| |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| | #2 (permalink) | |
| Open Beta Tester Join Date: Oct 2003
Posts: 2,350
| I think you may have to, I did. http://www.pageresource.com/html/newwin.htm describes doing it with html, and http://www.pageresource.com/jscript/jwinopen.htm with java. Java is much more versatile, and really not that hard to work with.
__________________ Quote:
| |
| | |
| | #3 (permalink) | |
| X-D Join Date: May 2002
Posts: 828
+4 Internets | Quote:
![]()
__________________ | |
| | |
| | #4 (permalink) |
| Never Go Full Retard Join Date: May 2002 Location: Hell
Posts: 5,880
| You really shouldn't confuse Java and Javascript, as one has absolutely nothing (other than a passing similarity in syntax) to do with the other. Many people have Java disabled (or like me, they have no Java engine loaded on their machine at all). Very few people have Javascript totally shut off, because even the tinfoil hat brigade folks soon learn that browsing the web with no Javascript is almost impossible. It's the same thing with cookies; only people who have no knowledge about how stuff works shut them off, but because a few of these clueless people happened to write articles about it you have a bunch of other people who go from uninformed to misinformed, which just creates a big ol' pain in the ass for those of us making the sites. What you do need to be aware of are the Javascript restrictions in Firefox. The setting for this is under Options... -> Web Features --> Javascript --> Advanced... You should uncheck all but the first and last checkbox. However, if someone unchecks the Move and Resize one, you're shit out of luck. They're going to get a default sized popup window (or if they have FF set up like I do, it opens up a new tab rather than a new window) and there's nothing you can do about it. IE just has a Javascript on/off switch, so nothing special to worry about there. In addition to this you have to be aware of what constitutes an "unrequested popup" in the sense of something the browser thinks is an ad and will decide to block automatically. The simple rule of thumb is that the user must intentionally cause the window to be opened. There are some really moronic ad blocking software packages out there that won't even allow requested ones to open (without the user holding down the shift or ctrl key) but thankfully that idea is dying out finally. Anyway, what all that means is that your javascript must execute off of a click event. Incidentally, you can also use Flash to open a popup--even one the user doesn't request--if you want. I'm pretty sure that's still unblockable in IE, and I know you can only stop it in Firefox by making a manual addition to the about:config page. PS-If you hate popups as much as I do and have been wondering why Firefox still opens them every one in a while, go here to learn how to stop them for good. Oh yeah, and the answer to your original question is: no. Last edited by Vorph : 08-20-2005 at 07:52 PM. |
| | |
| | #5 (permalink) | |
| CHARLIE DON'T SURF! Join Date: Jul 2004
Posts: 779
| Quote:
__________________ In Soviet Russia, Exception throws you! | |
| | |
| | #7 (permalink) | |
| Open Beta Tester Join Date: Oct 2003
Posts: 2,350
| Hmm. I took a Java class and know some Javascript, but I didn't even realize there was a difference. Kick me ![]()
__________________ Quote:
| |
| | |
| | #9 (permalink) | |
| Registered User Join Date: Feb 2002 Location: Georgia
Posts: 333
| Quote:
Its not clear cut as to programming some java and sticking it on a webserver and expecting it to run. Javascript != Java Javascript = "Scripting language for people who dont know shit about webprogramming"; Java = "A full programming language which can interact with the web given the right tools to do so; such as JSP/Servlet server or EJB app server.";
__________________ Archimonde | |
| | |
| | #10 (permalink) | |
| Never Go Full Retard Join Date: May 2002 Location: Hell
Posts: 5,880
| Quote:
| |
| | |
| | #11 (permalink) | |
| Banned Join Date: Jan 2003
Posts: 3,390
| Quote:
Any client-side scripting language is a waste of time. There is nothing useful in javascript that can't be done: 1) server-side 2) with CSS So, step away from "scripting" and join the world of "programming" where the standards grow on trees and predictable outcomes don't require having a codefork or separate site for every version of some goofy, misapplied scripting language. | |
| | |
| | #13 (permalink) |
| Never Go Full Retard Join Date: May 2002 Location: Hell
Posts: 5,880
| 1. I started out of college as a C++ programmer over a decade ago, but thanks for your concern. 2. I disagree with the rest of what you say. Even if you could do everything on the server or in CSS (which is still a joke of a standard due to browser implementations), it doesn't mean you always should do it there. Even simple things like extra bandwidth consumed by unnecessary round-trips and the additional server load caused by your application having to generate the pages becomes an issue on very large volume sites. Not unsurprisingly, it would appear that the programmers who made sites like Ebay, Amazon, Barnes and Noble (the one I'm most familiar with, since I know someone responsible for that site), etc. would tend to agree with me. Do I think that Javascript is an ideal solution? No, of course not. I also don't think that having lots of different browsers out there with varying degrees of support for all these 'standards that grow on trees' is particularily ideal either--but you make do with what you have to work with. Let go of your bias, the whole "what I do is real programming!!@~!1" debate was stupid and counterproductive back in the mid-90s when the topic was VB3 vs. C++, and it hasn't gotten any more useful since then. |
| | |
| | #14 (permalink) | |
| Registered User Join Date: Feb 2002 Location: Georgia
Posts: 333
| Quote:
you run into problems when you are trying to code a solution without sufficient knowledge. Gain the knowledge needed and then code. Javascript is something a 10 year old learns to get his ears wet. No major website today would use JS without a very very very very very good reason first. There are too many other safe and easy to use solutions out there for it to be chosen.
__________________ Archimonde | |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |