Thursday, March 10, 2005

Pop-up Windows Pop-up Windows

I have spent quite a bit of time since the first of the year learning HTML, Javascript, and the DOM, as I work on putting up a Web site to advertise my legal skills. And, of course, I am a programmer at heart, having worked as such for 15 years before entering the practice of law.

One of the things that I discovered when doing this was how to create pop-up windows. You do this in Javascript by invoking the window.open() method (or function). For example, the following does the trick quite well:
owin = self.open('', 'Trace', 'width=1000' + ',height=700' + ',resizable=yes' + ',scrollbars=yes' + ',status=yes' + ',menubar=yes'+ ',toolbar=1');

Note though that the above Javacode opens a blank window (as there is no URL specified as the first parameter). Also note that "self" is the name of the current window, and that the concatinate operator ("+") is utilized here for presentation purposes. It merely combines all of the parameters into a single (3rd) parameter. It is easier to maintain code this way.

The reason that I use pop-up windows is that they work well as a "trace" file for debugging. You can do this by:
trace = owin.document;
trace.writeln("Debugging information");

Unfortunately, to get this to work in Netscape / Mozilla / Firebird, I had to turn off Pop-Up Window prevention (in the Privacy & Security preferences). And what did I discover when I did that? That some of the web sites that I routinely visit apparently provide rotating pop-up advertisements. The most notable of these is The Drudge Report. Practically every time I switch from working on my HTML and Javacode to browsing the Web, I have this unpleasant reminder that I had forgotten to reenable the pop-up blocking. This morning, I found five of them in the background.

I had frankly forgotton that this was one of the biggest reasons that I was using the Mozilla family of browsers over Microsoft's Internet Explorer (the other big one being tabbed browsing).

The reason that pop-up windows are annoying is that you have to close them. Sometimes, you have to close a whole bunch of them. This is far more intrusive than merely ignoring ads on a Web page.

The problem with the pop-ups that Drudge provides is that they are almost always from very large companies. Companies that should know better. I am now developing a list of companies that I will not do business with soley because they are rude enough to utilize pop-up windows.

Obviously, their marketing departments believe that the tradeoff is in their favor. But I don't think that they have truly looked at the potential customers that are seriously turned off by their method of advertising. In other words, I don't think that the marketers, having found this slick new toy, realize yet that it has a big downside.

I think that I would be a lot less upset if I were getting Viagra advertisements, instead of, for example, cell phone ads by multibillion dollar companies, because I frankly expect Viagra advertisements to be sleazy. I just don't expect that of multibillion dollar companies.

Labels:

7:08 AM Display: Full / Chopped / Footer

Display: Full / Chopped / None

Display: Full / Footer / None

Display: Chopped / Footer / None

4 Comments:

Blogger amadeus said...

I have a serial spyware Site. Scan your PC and find the Malware.

1:08 PM  
Blogger job opportunitya said...

Great blog. I surf the web looking for blogs like
this. Your site was on point and will be back again!
Stop by and look at my fee lawers no no uk win blog site.

8:52 AM  
Anonymous Pop up said...

Thank you for the informative blog
Here Is some additional Pop-up Blocker resources for all spyware and adware related problems.
Pop-up Blocker if you or your readers are interested

12:54 PM  
Blogger Nj New Jersey House Cleaning said...

I surf the web looking for blogs like this one.
Your site was on point and will be back again! Awesome
blog.
Go by and hit my ut utah house cleaning blog, you'll be glad you did.

7:01 AM  

Post a Comment

Links to this post:

Create a Link

<< Home >>