-
Getting Webmaster Traffic To Your Design Site
Just starting in the design biz? Well you’re going to need some traffic to your design work. You need to get your name out to as many people as humanly possible. If you don’t have the contacts, then you don’t have the work. Network, communicate, and setup your portfolio. These are the 3 most important steps when starting your design company, preceding these three steps are advertising and demonstrating.
When I first started designing, I had no clue what I was doing except for designing websites. I knew I needed clients, but had no idea where to start. I met up with a ouple of other webmasters one night. I told them I had just started and was looking for some work. They took me in and taught me the trade. They showed me a few tricks in how to design things much quicker, and also subconsciously taught me to make sure as many people as possible see my work, and that they know who its from.
I worked with my friends for a few months when things started to get slow, so I took it upon myself to start my own company. I still got outsourced work from them, but now was taking on my own clients, but I had forgotten one important step. Advertising, the biggest step to forget. So I started posting on message boards to get my name in the dirt. I received a few clients, but nothing large. Then one day out of the blue a man came to me and wanted 4 pay sites designed. Wow, a real client at last. He said he saw my posts on a resource forum and decided to use me for his work.
I worked for this client for about 2 months, and more and more people were coming to me. I had been doing something good, but work started to slow and finally I realized I had been working for the same few clients and had not been getting anyone else in the door. Maybe board posting wasn’t enough? Exactly, its not, I asked around to see what I could do I had gotten a few suggestions like banner trades, recip’s, work for advertising. So I did them all. And soon enough I had more clients than I could shake a stick at.
Network.
Talk to people, people that are in the biz. Webmasters and designers. Talk to anyone you possibly can that could further spread your name of even bring work to you. If you do not network, then don’t plan on anything coming your way.Communicate.
Get on boards, ICQ, AIM, MSN, whatever. Just make sure that people see you and know you are there. Send them emails with different offers, not spam, but personal emails. Take it upon yourself to try and get your name into the field.Portfolio.
If you do not have one of these, then you might as well try to sell a spider to an arachnophobe. Design some fakes sites if you don’t have anything to show. Do some banners, tours, anything that shows the potential of your work. Make sure you present it as efficiently as possible. People do not want to root around not knowing what they are looking at.Advertise.
Make banners, buttons, links, ads, and anything that you can stick your name on. Get listed on any and all Webmaster resource sites, and design sites. This will help you establish a name base and let people know you are around.Demonstrate.
Write articles for resource sites, create different tutorials also, this will let people know you know what your doing. The more people that like your ideas, the more they will like you. Therefore the more likely you will get work.Follow these steps as I did and you will be on your way to having clients beating down your door. Also, make sure you really have something to offer before trying to sell your work. Be unique in what you design and how you present it. Clients love it when their sites are different from others, obviously.
Article written by John
-
Favicon.ico – What Does It Do?
Favicon.ico is the name of the graphic Internet Explorer 5+ uses in the address bar and when someone views their favorite bookmarks. There should be one beside the address of this page now if you are using IE5+. If you want to see favicon.ico in action among your favorites bookmark our site now by right clicking and selecting ‘Add to favorites’.
Internet Explorer looks for this file in the same directory as the HTML page currently being displayed, if it cant find favicon.ico it will then display the default Internet Explorer icon in the address bar. As for viewing of favorites, IE will check its temporary folder to see if favicon.ico is there again, if it is not located it will display the default white background with a blue ‘e’ icon.
For a webmaster there are three main advantages to using the favicon.ico ‘trick’.
The first, is that it helps to brand your site with a nice little icon that is easy to recognize.
The second, is that it makes your website more professional.
The third, is that your entry will stand out in surfers bookmarks over the others. This is especially good as, if you can get a surfer back to your site then you have another chance at making a sale.
Many internet users have a multitude of site bookmarks so, you need to use favicon.ico to give you an edge. I highly recommend using it and, now I’m going to tell you how.
First, you will need to create an icon file which is exactly 16 x 16 pixels. If the icon is larger or smaller IE5+ will just ignore it. As for the colors in it, 16 is standard. You can use more colors if you want but, the more colors you use, the larger the .ico file becomes and, the longer it takes to load.
You now know the standards the favicon.ico file has to be, now to actually create this file you can take one of two routes.
The first is to convert and existing 16 x 16 BMP or GIF graphic with 16-32 colors into an .ico file using converter software making sure to save it as favicon.ico.
You know the standards the favicon.ico file has to be, now to actually create favicon.ico . The easiest way of creating a favicon.ico file is to convert an existing 16 X 16 BMP or GIF graphic with 16 – 32 colors into a .ico file using converter software making sure to save it as favicon.ico.
Once you have created your favicon.ico file all you need to do is to upload it to any directory on your server that contains html pages. This way, when IE5+ searches for favicon.ico it will be bale to find it regardless of which page you are on.
That’s nearly all the areas of favicon.ico covers apart from, what if you want different icons for different parts of your website? Can this be done? The answer is yes it can. All you have to do is place the following HTML code between the <head> and </head> tags of your web page.
<LINK REL=”SHORTCUT ICON” HREF=”differenticon.ico”> (SHORTCUT ICON should be kept in uppercase).
Now when someone adds a web page with that code to their favorites, IE5+ will not look for favicon.ico but will look for differenticon.ico and if it’s there it will display it, if not the default icon will be displayed.
Using favicon.ico or the SHORTCUT ICON code is nice way to add a unique touch to your site, and of course will result in more repeat visitors than if you were not using it – which is always good for any webmaster.
Article Written By Le
-
Using Basic Server Side Includes (SSI)
Server side includes are what their name sounds like. A way to include the contents of another file into your current web page BEFORE the web page gets sent off to the surfer. Not only does this include contents of a static file but you can also include the results of a CGI program and on some web servers, you can even have it display the current date and time.
Now, many web hosts do not normally have server side includes turned on. You will have to ask your host if they have SSI turned on and if they do, what is the file name extension for SSI. By default, SSI files have an .shtml extension.
Sometimes, you can turn SSI on yourself. If you host doesn’t have SSI turned on for you already, you can try adding the following two lines to your .htaccess file. Then create a file with the .shtml extension, include a SSI command and see if it works.
AddType text/html .shtml
AddHandler server-parsed .shtmlWhen you use SSI commands, you place them exactly in the location within your web page where you want the output of the SSI command to appear when you finally browse the page. If you have SSI, then you can use the following command to include a file. When you include a file, you can either give it a path name to the file or you can give a URL to the file. I’ll list both here.
<!–#include file=”/some/path/above/my/web/to/my/header.html” –>
This is an example of how to include a file based on its path name. Now,
here’s the same file put included with its URL.<!–#include virtual=”/to/my/header.html” –>
And this is an example of how to use a URL. With a URL however, it cannot be a complete URL such as http://www.somesite.com/somefile.html. It has to be within your current website. You can also use the URL method to run a CGI script! Here’s an example of that:
<!–#include virtual=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″
–>As you can see, we can even pass arguments to the CGI script just as if you typed it into your browser! There is also another way of running a CGI script but this is not as widely used any more and you should use the #include virtual method instead. Here is the same example so that you will know what it means when you see it.
<!-exec cgi=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″ –>
As I mentioned earlier, you can use SSI to display the current time and date. Here’s how:
<!-echo “$DATE_LOCAL” –>
This will display the current date and time. SSI is usually used when you want to have a standard header or footer on each page. It’s also used for displaying rotating banners or page counters. As you see above, you can also use it to display the current date and time or the date when the page was last modified.
SSI has also been used for cloaking and some tracking software uses SSI to track each incoming hit to the web page. If you would like more information about SSI, go to
http://www.apache.org/docs/mod/mod_include.html. This is the definitive guide on SSI on the Apache web server.Most other web servers that use SSI also follow these conventions.
Article written by Lee
-
Censored Gay Adult Pornography
You’ve heard it said over and over “Make them pay for the pink” or in the case of the gay market “make ’em pay for the MEAT”. But how far can you get without hardcore on a gay site?
Depending on the method you use to get your traffic softcore verses hardcore can make a big difference. If you’re working the SE’s, you set the tone by way of your descriptions and keywords – and you hope that they get you the rankings and the surfers. On the other side of the fence, when you use link lists and categorized directories, their categories will dictate where your site will go. Thus, you are totally out of the loop when it comes to its placement.
For the past six months I have been conducting a test. I built ten free sites, all to derive their traffic from link lists. Five were strictly softcore and the others a mix of softcore images and “selective” hardcore images. Each had 40 pics in order to play to the larger LLs and directories.
Let me give you a little background. The reason I started this test was to track the traffic trends in the gay market as it applied to the notion of “make ’em pay for the meat”. It was something I had done with my straight sites, but something I totally avoided with my gay sites. The reason for that one a statement I made a while back “If I wanted to see softcore I could look in the mirror when I got out of the shower.” While this is a totally narcissistic comment, it does demonstrate my ongoing point about selling to gay men.
Now don’t get me wrong in the scheme of thing I do like softcore images of the right person, but as a surfer who is looking to get off, I want what I can’t normally have. And that idea is going to send me to a site that will has what I want, OR in the case of this test, THINK that I want.
Now back to the test sites. For my softcore sites, I took various images of single men in different phases of undress from stripping to provocative poses. For the hardcore I was much more selective. I used what I call US Cable or Int’l Tele guidelines. What that means is, what do I see if I turn on a cable station or one of the satellite channels from around the world. I found “simulated sex”. Just like an R rated movie, there were scene where two guys are together with no close ups of actual penetration. So, when I went through my web images I looked for similar scenes. The images were sexual but nothing so blatant as up close penetration but suggestive enough to arouse a surfer – the taunt factor I would need to sell my sponsor sites.
With my distinct sets of sites, I began to submit to the Link Lists. 99% of the sites were accepted for each of there categories (the one that didn’t get accepted had a hardcore description and softcore images – oops). But after making the correction it was accepted.
The traffic started to come in. In the first day, the difference I anticipated was right there. I decided I wouldn’t effect anymore change in traffic so I didn’t submit to any other link lists. I wanted to test this out. At the end of the month the trends I expected were in fact there. The total of all the traffic generated 10% came in to Softcore sites. The remaining 90% came in through the hardcore sites. So this tells me that most gay surfers are hitting the hardcore categories on the LLs. It confirmed my previous assumptions.
What’s the sense of doing all of this and not watch all avenues, right? Now having scrutinized where the traffic was coming from and how, I wanted to trace how it was going out.
I used an older cgi program to track the hits out. It’s one of those standard programs that I learned to use years ago and can’t get rid of. Now remember, all of the sites are pretty much the same with wording, sponsors, color schemes, etc. The only real difference was the pics.
Based on the numbers collected from the program I found that approximately 75% of all the traffic coming into the softcore sites left on a link to one of the link lists. I had 20% go out on a sponsor’s link and the remaining 5% did not resolve (which in this program I was using tried to count the click but was unsuccessful).
Now reviewing the information from the hardcore sites, I found a distinct difference. I will not lie to you. I expected a difference. I don’t want you to think I was awestruck LOL. But, I was surprised with what I found. This time the majority went out to my sponsors – 50% went to a sponsor site, 20% went out to the reciprocal links, 19.9% went to a free gay email site (which wasn’t enough to mention on the softcore sites), 5% did not resolved. The remaining 5.1% I have no idea – they probably whacked off and logged off (I hope it was good for them LOL)
While it is not the point of this article, I will add that the traffic produced reasonable well at the sponsor end.
Let me say that my “trends in gay adult traffic” research is by no means complete. However, over the period of six month these ten sites were enough to say there is marked difference between softcore and hardcore sites. So does “make ’em pay” work in the gay market? For now, there is a definite factor depending on where you get your traffic. If links lists are your specialty, then the answer is yes.
My next step in the evolution of this is to submit these sites into the search engines. With all things considered, I’m looking forward in tracking that information. I’m off to submit. I will share the data I collect from that test soon.
Now, I just hope DMOZ doesn’t give me a hardcore time ; )
Article written by Gary-Alan.
-
Traffic Brokers – Buying Additional Traffic
For many adult webmasters traffic is the one thing they can get and, good converting traffic it would seem is hard to find in bulk. For those webmasters who simply can not or, will not work towards getting a good converting traffic base you now have several options. These option come in the form of the Adult Traffic Brokers that have seemingly multiplied over the last 12 months.
Traffic Brokering – The Basics.
So what is traffic brokering? In layman’s terms, it is the process used when one company sells / buys their traffic to / from another in order to turn the traffic they are selling / buying into a profit. Often webmasters will purchase traffic from a broker for several reasons, the main one being that they simply could not have generated the same amount of traffic they have purchased by any other means.Traffic Brokering – The Costs.
The costs for purchasing brokered traffic vary greatly from traffic broker to traffic broker however, as a rough guideline, you could spend anywhere between US$1 and US$3 for each thousand (1000) unique hits that the traffic broker sends you. The cost of this traffic however can change for many reasons as do the rules for where you can actually send the purchased traffic to.Brokered Traffic – The Uses.
There are many uses for brokered traffic as those webmasters who do it on a consistent basis will tell you. However, by far the most popular method of using purchased traffic would seem to be sending it to a central ‘hub’ site or a gallery page. From this point on the traffic can start to filter itself even more.In addition to this, some webmasters choose to send their brokered traffic directly to their sponsors pay sites if they have purchased niche specific brokered traffic.
All of the above methods have their pro’s and con’s involved however, for most webmasters, the fact that they have purchased traffic at a relatively low cost will mean they can turn a profit. That said, purchasing traffic from a broker does not guarantee you a profit on your investment.
Traffic Brokering – Overview.
In overview of this article i would say that for webmasters who are unable to gain mass traffic through conventional methods, the traffic brokers offer a service of value and, whether the traffic that you are buying is profitable to you is an outcome that no one can say until the traffic has been used. one thing to consider though when purchasing traffic is that you need to have a clear, concise plan of what your needs for the traffic are, do not just send it blindly into the proverbial unknown but build up a solid plan of what you ultimately want to achieve.Also, before buying traffic ‘en mass’ you should always spend a few dollars in the first instance to run a small test of the traffic, this way, you will be able to send thousands of hits to your sponsors or hubs and judge for yourself which broker will offer you the best traffic for your money.
Article written by Lee.
-
Cascading Billing – Using Multiple Payment Processors For More Profit
‘Cascading Billing’ has been somewhat of a buzz word of late in the online industry however, there seems to be some confusion as to what this billing process actually involves or even does other than ‘process payments’ this is what we will take a look at in this brief article.
Cascading Billing – The Basics.
Simply put, Cascading Billing is a method to enable your surfers to buy membership to your site or, products utilizing multiple third party credit card processors and, other payment options. The process used, as its name suggests, is that of a ‘cascading’ feature meaning that, if you have multiple processors set up on your site and a surfers credit card is declined on your primary processor, the details will then be passed onto a secondary credit card processor where, they will either be accepted or declined and, if declined, the details can then be passed onto yet another credit card processor or, some alternate payment solution.Cascading Billing – The Benefits.
From the initial reaction this new payment process has received in the online community it would appear that this new solution actually does work and, work well. Many companies who are adopting the ‘Cascading Billing’ process are reporting an increase in sales, some reporting upto a 20% increase over the normal procedures they used. This increase in sales also enables affiliate programs to pass the new found benefits onto the webmasters themselves through raised payouts and better sign-up ratios.Cascading Billing – The Options.
As with any type of online payment processor or, payment system, you need to evaluate what your individual needs are and, using a cascading billing program is no different. With many solutions currently available and in development stages the choices for webmasters and program owners are growing and growing.However, that said, first and foremost you need to choose which processors or, billing solutions you will use to begin your cascading billing. In an ideal world, you should choose two of the more reputable third party payment processors as your primary and secondary processor in addition to a tertiary payment option or, perhaps even a custom dialer solution. Generally speaking, this will give you the best way to monetize your own and, your webmasters traffic.
Cascading Payment Solutions – Overview.
When all is said and done, cascading billing offers webmasters and online e-business owners ample opportunity to increase their profits through minimal outlay either by renting the scripting that will allow you to utilize the cascading billing option (costs from $300 a month) or, having such a solution custom coded which, you can have done from as little as US$5000. Either way i am certain we will start to see many more of the top online companies offering this type of payment solution in the near future and, with some of the larger online companies already adopting this method, it is sure to start happening soon.Article written by Lee
-
Penis Enlargement Pills
Well if you’re a guy who had to shower after gym class, or woman with a boring husband or a gay man looking for Mr. Right we all know SIZE Matters!
Do I a have your attention? Good! Now, let’s get on with it!
Like many people, I have always experimented with secondary or even tertiary sponsors for my free sites. In my case most of them do not only pertain to a site membership. I have found success with things like, Viagra online; security programs to remove you net affairs; sex toys and videos; and, today’s’ latest a greatest is penis enlargement remedies.
I’m finding some astonishing success with these herbal penis enlargement products. I’m SELLING it not USING it! LOL. Some of us don’t need it <wink>. But I’m finding lots of my surfers do need it, or at least want it.
A couple of months ago after seeing an influx of email to Gay Wide Webmasters for hints on selling penis enlargement medications, I decided it would only benefit my member and myself to experiment. I used a sponsor on Gay Wide Webmasters, Albion Medical who boasted great returns and high payouts. Well what I was in store for was BETTER than I expected. By the way, here’s a little secret; I do sign up for my own sponsors but under my real name, so unless they really look hard, they do not know it’s me. I don’t go boasting with out proper backup = )
Amid my salesmanship attempts for surfers to “Sign Up!” I sprinkled my secondary ads for Penis Growth among the pics with lines like “Become Mr. Right – turn your dick into a DONG” or “Make your manhood massive… Even straight guys will look!” And to my surprise, it worked wonders. I know there is an attitude in the gay male community to seek perfection physical most of all. And it definitely came clearer to me with the number of sales.
It’s funny how many different ways you can approach selling things that will enhance a person. To me, telling me I need something to make me better pisses me off. Don’t try selling something to me by TELLING ME I’m not right. Or what I have is wrong. I’m definitely a person who marches to the beat of his own drum. And then there are people who NEED to be told they are not everything society expects them to be. That they are doing or have something wrong but it can be fix and you have the solution.
Like the examples above, “Become Mr. Right…” I took the effect that I was letting the surfer make up his own mind. Does he have an issue? It was entirely up to him to decide. Let me tell you, it works well on gay traffic. Let the gay surfer decide yes or no.
NOW, I tried a different approach and gauged the success/failure. I popped in text links like “Aren’t you upset by how small your penis is?” “Remember the guys making fun of you in the showers after gym?” or “Are you sick that you don’t fill up you the front of your briefs?” Well let me tell you the number of Emails I rec’d was “enlarged”! For the most part I was getting mail from men who felt I was exploiting them, even making fun of them. I made them feel inadequate and they lost their hard-on. My site was meant to entertain not disdain them. All I could say was WOW! I didn’t expect that kind of response. I will tell you that I was very happy that I didn’t do it across all of my sites and only a few. So I moved everything back to my “Let him decide” campaigns.
The affect of the sales on the “insulting ads” was evident. According to my traffic program it was apparent that these ads were NOT getting clicks. Instead the surfers clicked on my email link to voice their disgust.
The bottom line of all this? With the proper motivation, the right marketing approach, surfers enjoy the seclusion of buying penis enlargement aids online. It is a great addition to your web site income among other avenues.
Article written by Gary-Alan
-
Designing A 404 Error Document
Designing A 404 Error Document.
Now that we know how to use .htaccess let’s get into how exactly to effectively design a 404 error document page. Here are a few tips when building your document:Keep The Design Constant.
That is, whatever design your web site supports, consider keeping that design when building your error document. This is not mandatory, however. If you have a good reason to stray from your design, then do so. Otherwise, keep it constant.
Use Attractive Dialog.
Do not use the word error. Error signifies something is terribly wrong, and while that may be so, you should give that information to your visitor in a very friendly way. Instead, consider writing “Sorry, the page you were looking for is not available at the moment”.
Include Contact Information.
Obviously, you want to fix the error, so give the user every opportunity to e-mail you about the error. Some users will not bother to do so, but you still need to give them the opportunity.
Keep The Visitor Moving.
Often, 404 error pages are like road blocks, or brick walls that the user cannot pass through. You need to break through the barriers and allow the visitor to keep traveling through your web site. If your web site supports a search capability, include a form on your error document to let them search for the information they were originally seeking. At the very least, include a link to your home page.
Give Them A Site Map.
When the user clicks upon a page that is no longer available, or was mistyped by the webmaster, consider adding a link to a site map page, or include your site map right on your 404 error document, so the user can get their bearings within your site, and can locate their desired content quickly and easily.
Give Them Help.
List tips on your error document page to help the visitor diagnose the error. For example, ask them to double check the URL in their browser’s address bar. If it’s correct, politely ask them to e-mail you to report the error. Also suggest that they visit your home page (or search utility) to find the information they are after.
List Some Popular Links.
Provide the user with a few links to your most popular content areas of your web site, as it is more likely they were searching for that content than anything else.
As you have seen, error documents are more important than you may think. Merely having a custom error page shows you have put forth effort on your web site and want to help the user find the information they need. Error documents are easy to create and adds professionalism to any web site.
Article written by Lee
-
Cross Selling – Offer Your Surfers An Alternative
As webmasters our primary goal is to make money from our surfers in order to be successful at business, however, in order to make money from our surfers we need to constantly change the way in which we sell products and services to them.
One such method of selling products to surfers is by using cross selling or, up selling as it is sometimes referred to in the industry. So what exactly is cross selling and, more importantly, what benefit does it give your business model? This is what we shall take a look at in this article.
Cross Selling – The Basics.
Cross selling is a method used by marketers to make the maximum amount of money out of a single sales lead at any given time regardless of whether you are working online or, in a bricks and mortar store cross selling is something that almost every sales person does from offering an extended warranty on a new television purchase to offering an affiliate product from inside your sites secure area.Cross Selling – How To.
One of the easiest ways to initiate the cross selling process is simple to provide your site visitors with a selection of links going to a multitude of individual products, this may be a dating site, a software package or, something else, either way, by placing a selection of links on your main selling pages you have already initiated the cross selling process and, by doing so, have already increased your chance at making a sale.Cross Selling – New Customers.
One method of cross selling that is becoming more and more prevalent on the internet is that of cross selling or, up-selling new customers immediately after they have made a purchase, this in itself is not a bad thing after all, you know they have money to spend so, why not use this fact to garner additional sales.One good way of offering cross sales to new customers is to give the an option on the actual shopping cart page immediately when they hit it, this may be for a site that complements the product they are making a purchase to already or, something completely different either way, by having this already on the order page waiting for your customer you might just make additional money from them.
Cross Selling – Old Customers.
So what happens when a customer leaves your site after making a purchase? Well there are two routes you can take with thee customers, one, is to leave them alone and hope that they return to buy from your site again whilst, the other, my personal preference, is to send these customers a regular follow up letter offering them a product they may be interested in based on their initial purchase after all, if they purchased a copy of Adobe Photoshop, the chances are they may also be interested in something such as Paint Shop Pro, why not give the surfer this as an option by placing a link in the follow up letter taking them to that specific area on your site.Cross Selling – Overview.
When all is said and done, cross selling whether you agree with it or not is a very powerful sales tool, not only can it increase the revenue potentials from new clients but, can also enable any business a method of gaining further incomes from older customers, the one thing that you should all be doing on a regular basis is ensuring that you have a good cross selling strategy in place, regardless of whether you actually are selling memberships to sites, warranties on televisions or, mouse pads for new pc owners.Article written by Lee
-
JavaScript Know How
JavaScript can be one of the most useful additions to any web page. It comes packaged as standard in Microsoft’s Internet Explorer and, Netscape Navigator and allows webmasters to perform field validations, mouse-over’s, pop ups and a whole entourage of other nifty little features on our sites.
In this article we will show you how to:
– Display the browser name and version number
– Change the text in the status bar of the browser
– Use an input box to get text from the user
– Use a message box to display text to the user
– Change the title of the browser windowBefore that, however, we need to know how to setup our web page so that it can run the JavaScript. JavaScript code is inserted between opening and closing script tags: <script> and </script>, like this:
<script language=”JavaScript”>
–> JavaScript code goes here <–
</script>
These script tags can be placed anywhere on the page, however, it’s common practice to place them between the <head>and </head> tags. A basic HTML page that contains some JavaScript looks like this:
<html>
<head>
<title> My Test Page </title>
<script language=”JavaScript”>function testfunc()
{
var x = 1;
}</script>
</head>
<body>
<h1>Hello</h1>
</body>
</html>For the examples in this article, you should use the basic document format I have just shown you, inserting the JavaScript code between the <script> and </script>tags. When you load the page in your browser, the JavaScript code will be executed automatically.
Displaying the browsers name and version number.
The “navigator” object in JavaScript contains the details of the user’s browser, including its name and version number. They can be displayed in a browser using the document.write function:document.write(“Your browser is: ” + navigator.appName);
document.write(“<br>Its version is: ” + navigator.appVersion);I run Windows 2000 and Internet Explorer version 6, so the output from the code above looks like this in my browser window:
Your browser is: Microsoft Internet Explorer
Its version is: 4.0 (compatible; MSIE 6.0b; Windows NT 5.0)Changing the text in the status bar of the browser.
To change the text in the status bar of a browser window, just change the “status” member of the “window” object, which represents the entire browser window:window.status = “This is some text”;
Using an input box to get text from the user.
Just like in traditional windows applications, you can use an input box to get some text input from the user. The “prompt” function is all you need:var name = prompt(“What is your name?”);
document.write(“Hello ” + name);The prompt function accepts just one argument (the title of the input box), and returns the value entered into the text box. In the example above, you get the users name and store it in the “name” variable. You then use the “document.write” function to output their name into the browser window.
Using a message box to display text to the user.
You can display a message box containing an OK button. These are great when you want to let the user know what is happening during their time on a particular page. You can use a message box to display the “name” variable from our previous example:var name = prompt(“What is your name?”);
alert(“Your name is: ” + name);The “alert” function takes one argument, which is the text to display inside of the message box.
Changing the title of the browser window.
To change the title of a web browser’s window, simply modify the “document.title” variable, like this:document.title = “My new title”;
One bad thing about the “document.title” variable is that it can only be manipulated in Microsoft Internet Explorer. Netscape’s implementation of JavaScript doesn’t allow for modification.
In Closing.
As you can see from the examples in this article, JavaScript is a powerful scripting language that can be used to enhance a visitor’s experience with our site. However, you shouldn’t use JavaScript too much because in some cases it can annoy visitors and send them packing before your site even loads!Article Written By Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing