• Now They Signed Up – Learn How To Keep Them

    Date: 2011.02.22 | Category: General | Response: 0

    Member retention is going to have a large effect on the adult industry over the next few months, with Visa chargeback rates being lowered and, many affiliate programs lowering their payout model something has to give and, hopefully, the thing that does give will be that affiliate programs start to realize that once they have your surfer, it becomes their responsibility to make that member retain.

    With that in mind this article will look at a few things that we have been doing on some of our paysites for the last few months and, instead of having to provide an excess of plug in content we have started updating our sites regularly within the niche confines of what our members are actually looking for, also, despite this increase in content, we have started doing something unique so far as member retention goes – actually communicating with the member directly.

    Communication Pays.

    Actually spending the time to listen to what your members want can be beneficial on many levels for example, how many of the big sponsors offer the member a chance to become involved in a ‘community’ inside their paysites, i can only think of 3 paysites that i have personally visited that do this.

    Often, offering your members a way to communicate to YOU what they want inside the site can, and usually will increase the value of their membership to you in the long run. offer your members weekly polls, offer them incentives to keep an active membership, perhaps some kind of loyalty program, in addition to a method of your paysite members being able to communicate to each other inside your site.

    Content Updates.

    We all know that paysites need to update however, how many paysite owners spend the time to ask their member what they are looking for? As mention in the previous section, offer your members polls on the next updates you will be doing, ask them what sections of the site need improving and, more importantly, ask them if they are happy with how your site looks and feels overall.

    Renewal Time.

    So you have managed to keep hold of your paysite member for a few days without them canceling and, their trial period is ending what now? Well, more often than not, communicating to the member that they are about to get rebilled can have a positive effect, send them an email prior to the rebill informing them of what your next set of updates will be, let them know they are a valued member of the site and, more importantly than this, that you are there to help them and listen to their suggestions. This is also an ideal time to remind them of why they joined your site in the first place, you have a lot of exclusive content that, simply put, no other paysite can offer them, you listen to their feedback and, again, value their feedback, all of these things will ensure that your member base retains well over the trial period.

    Second Month Renewals.

    So you have managed to keep your member for a month, and, again they are due a rebill, as with the first rebill you gave them, re-iterate the points of your site and, tell them what has changed over the past month, give them some sales speak about how your site is doing and, more importantly, what you have coming next month, by communicating these updates to your members a day or so before they have to renew, you should, in all honesty, keep their interest in your paysite and, more importantly, make more money from your members.

    So Your Member Cancels.

    Okay, so perhaps you managed to rebill your member for a few month or, perhaps they left after the trial period, what now? Simple, send them a follow up email, find out the reasons they cancelled their membership to your site and, see if you can offer them an alternative to stay, perhaps a reduced cost membership or, maybe even an alternative site altogether, if they entered your teen pay site and, were looking for amateur teen pics, even though you know you don’t have them yet, you will probably know of a site that does, tell this cancelled membership about this site and, get them to try it out, if you can match what the surfer is looking for to a site you own then you have a second chance at keeping their membership and, making money.

    Retention Overview.

    When all is said and done the one thing that is apparent so far as pay sites go is that a lot of them do not communicate with their members and build the sites they operate around what their members are looking for, we can all say we actually do this constantly but, how many of us really, hand on heart, can prove that they ask, listen and, more importantly, implement the feedback from their members base?

    Article written by Lee

  • Doorway Pages

    Date: 2011.02.22 | Category: Traffic, WebDesign | Response: 0

    A doorway page is built to rank high for a particular keyword or search phrase. When your doorway page is visited by the searcher it simply has a “click me” button which links to your web site. The major search engines accept these pages as long as the end result does provide what the searcher is looking for. If you are discovered to be using doorway pages for irrelevant keywords you can expect to have your entire domain unlisted. For instance, one of our doorway pages is built to rank high for the search term -Adult Content—which is quite acceptable because when the searcher gets here he can find links to adult content providers from our site. If however, he couldn’t find links to adult content then we would risk the wrath of the all powerful search engines.

    Once you have selected your keywords and phrases (about 50 would be the normal) you need to build a doorway page for each keyword and ideally, for each major search engine. All the major engines look for different keyword density in the text, title and description so you need to do some research by doing a search using your chosen phrase or keyword and studying the top 10 results at each engine (if you can spot them, study high ranking doorway pages).

    Make notes of how many times the phrase or keyword is used in the title, description and body text. Is it used in header text etc? Once you have built a picture of what your doorway page should look like you can build it using your favorite html editor. Once you have done one for a particular engine the other 50 or so pages can be done by simply replacing keywords for keywords. After you have done a page for each keyword move on to the next search engine. Remember that your body text is not important but make each page unique or it may be considered spamming. It is your keyword or phrase density that you are attempting to get right. The page, when visited by a person, will be recognized for what it is, simply a link to the real content so don’t worry too much about what it looks like. When a search engine spider visits the page it is only interested in counting the keyword density in your body text.

    As you have probably worked out there is quite a lot of work involved. 50 phrases or keywords=50 pages X the top 8 search engines= 400 pages. In reality though, you are only creating 8 doorways, 1 page for each search engine. For all the other pages you simply have to substitute the keyword for the next and alter the text around so as not to finish with 50 identical pages. OK, nearly finished but the next step is crucial if your doorways are to work.

    Put all your pages in a folder on your server e.g. Mydomain/doorways/. Then create 2 more pages that have a link and a small description to each of your doorways (200 on each) and to each other. These are called corridor pages because the spider travels down them, visiting each page linked off them. Call these 2 pages index and home and place them in the folder with your doorway pages. Then place links to these two pages from your main index page so that a spider will be able to find them and list all your doorways. Submit only your index page and your 2 corridor pages. Do not submit your doorways to the engines.

    Ideally, and if you can afford it, you should set up a new domain and host for your doorways. This isn’t essential but it does have benefits. These are: If you do get over zealous with your doorways and an engine does ban you for spamdexing at least your real site will be safe. Engines rank sites higher if they have lots of links to them from other domains. You can put your most important keywords in your new domain name, which will increase the ranking of the doorway pages containing those keywords.

    Now all you have to do is wait for the engines to update their databases. We have had the best results with Google.

    Article written by Lee

  • Typography Know How

    Date: 2011.02.24 | Category: Writing | Response: 0

    Our web sites are nothing without content, and most content is comprised of simple text. Many web designers neglect to pay attention to their typography, and it shows. Proper typography varies based on where the text is and what purpose it serves. Although there are no rules etched in stone, there are a few general techniques that should be followed. Although some of these tips may seem elementary, many of them are not followed.

    Headings.

    Clearly, headings should be larger, by 1 or 2 font sizes, than your body text. You may consider bold, but be cognizant of the letter width. Arial Black, for example, may create letters too fat for your taste. When using colors, be sure the colors contrast well with the background color of your site. Black and dark gray do not contrast well, while black and white (or light gray) work quite well. Sometimes, even a simple color change can create useful headings.

    Also be sure to cascade your headings. A main heading, for example, would be larger than subheadings. This effect creates a sense of emphasis and flow to the information.

    Do not italicize your headings. Italics are meant to underscore particular content, but since the text is a heading and of larger size anyway, italics are redundant and often make the text difficult to read.

    Fonts.

    The default is Times New Roman, which works fine, but many think it is boring. I have experimented with Arial, Georgia and Verdana, and have found Verdana the most readable font face available. This is a personal preference, but fonts should be restricted to the above four to ensure compatibility between all users of your web site. If your user’s browser does not support your font choice, their browser will revert to its default. Since browsers have increased support for CSS, or Cascading Style Sheets, whenever possible, use CSS to define your fonts, rather than HTML’s <font> tag. Also, be sure to keep your font sizes large enough for visitors of all ages and eyesight’s.

    Stress Styles.

    Avoid using all capital letters within your text, as it makes it difficult to read and implies you are shouting at the reader.

    To stress words within your body text, decide on a format and stick with it. Some choose bold, while others choose italics or underline. My personal favorite is italics, but any of these can work well. Be careful when using underline, however, as it can be mistaken for a link. In addition, do not overuse these stress styles.

    Entire body text should not be bold. Bold, like italics, is used to emphasis words, and usually an entire body of copy should speak for itself in regularly styled text. I like to use CSS to space my body text out a little to increase readability.

    Article written by Lee

  • Converting French Traffic – The Niche Paysites That Work

    Date: 2011.02.21 | Category: Traffic | Response: 0

    In our last article we took a look at a three (3) month period of international traffic stats and, what niches worked on German adult traffic. In this article we will do the same again except we will be analyzing what niche paysites worked best on French porn surfers.

    French Traffic – Quick Analysis.

    It would seem that for many of the surfers we managed to grab and filter from France that their primary interest was in Teen and the Amateur niches although, that said, we did get a few conversion on some fetish paysites, specifically fetish sites that had ‘watersports’ and ‘BDSM’ featured on the paysites tour pages.

    French Adult Traffic – The Niches.

    As with the German traffic we targeted in the previous article we also filtered our French adult traffic to some niche specific hub sites as well as some general hub sites to better judge which niches converted the best on French surfers the results we experienced are as follows.

    Teen.

    Our conversions on French teen sites were not as good as what they were for German surfers however, that said, they were good non the less. With a ratio of around 1:192 over the three month period we analyzed the French adult surfers we managed to get to our sponsors sites worked well for us.

    Amateur.

    With our amateur conversions the one thing we noticed was that tours that featured teens as the main focus were the ones which converted consistently, with this in mind, we did change a couple of the Amateur tours we used to see how that would affect sales towards the end of the 3 month period and, sales did drop slightly, this would backup the statements in the Teen niche made above in that, French surfers are looking primarily for Teen orientated paysites.

    Asian.

    The two Asian niche paysites we used didn’t have many sales overall however, we did notice that the little traffic that we sent to them converted well, as above, Asian niche sites that featured teens were again the better converters on the French traffic we received.

    Ebony.

    I think it is worth mentioning the ebony niche, especially when you take into account we sent less than 100 hits to French ebony paysites and, managed to get 2 sales from those hits. Unfortunately, we did not anticipate the amount of traffic that wouldn’t choose the ebony niche so we have no solid figures that are worth mentioning here or, any explanation behind how we made the sales.

    Fetish.

    Our French fetish traffic seemed to like the more niche specific type of tours, making us sales on Watersports, BDSM and even general fetish paysites that said, the figures we achieved with the fetish pay sites we used were disappointing as we had thought this would be the ideal niche for the French markets.

    Gay.

    The sales we achieved with our gay French traffic were reasonable overall, the surfers chose to signup to gay sites that featured ‘twink’ like models on the tours again, this would lend favor to the fact that overall French surfers seem to be interested in the younger generation to get their kicks.

    French Traffic – The Results.

    Overall we were happy with the majority of the results we received on our French adult traffic with the exception of a few bad choices on our part trying to concentrate on the Fetish side of the industry. We certainly learnt that it would appear French adult surfers are looking for Teen orientated sites over the other niches.

    Article written by Lee

  • Cleaning Up The Myths On Scrubbing

    Date: 2011.02.21 | Category: Billing Solutions | Response: 0

    Time and time again on message boards I see the same old topics regarding scrubbing usually preceded by some company being accused of scrubbing their webmasters surfers to much and the webmasters sales being lower because of the sponsor ‘scrubbing’ their surfers however, the reality of this is, it isn’t the sponsors who control how much or how little the surfers credit card transactions are ‘scrubbed’.

    The E-Commerce Dilemma.

    Irrespective of whether you are an online bookmaker, bakery or adult pay site owner the fact of the matter remains that only credit card fraud is on the increase and, in addition to the rise of online credit card fraud the methods in which the perpetrators of these crimes carry them out is also changing often combating the methods put in place by the online transaction processors to stop this happening luckily however, this is where ‘scrubbing’ comes into effect.

    So What Is Scrubbing?

    Scrubbing is a method used by the credit card processor that the companies who’s site you are sending a surfer to uses. Scrubbing is in effect, a method of calculating the probability that any single transaction (or group of transactions) could be fraudulent. That is to say, is being carried out by someone other than the true owner of the credit or debit card.

    Scrubbing is probably the single most useful tool provided to our sponsors by the credit card processors to ensure that every transaction that gets sent to them is credible and, once the transaction is allowed (or not) a part of the information contained with the transaction is sent to a central database to help other clients of that processor guard against receiving unlawful transaction purchases.

    How Does Scrubbing Affect Me?

    As a webmaster, believe it or not, scrubbing is actually a good thing for you. You know that each transaction processed is first of all a legitimate one and, secondly, you know that the sponsor who you are using is not going to go bankrupt due to excessive illegal transaction. This means that the sponsor can improve the services they offer YOU as a webmaster to assist you in making more money.

    In essence, the scrubbing of credit card transactions at a sponsors level increases the amount of money you make long term not only with that individual sponsor but, with every other sponsors who uses the same transaction processor.

    Article written by Lee.

  • Building Your Brand – Business Basics

    Date: 2011.02.21 | Category: Branding | Response: 0

    Many online businesses have a good solid brand name attached to them already for example, ARS (http://www.adultrevenueservice.com), Webair (http://www.webair.com) and, WEG (http://www.wegcash.com). These companies have worked long and hard to build up their own brand name on the internet and, specifically, in the adult industry where, it almost seems that everyone is out to make a name for themselves so, how do you as a small business owner get a piece of this branding pie?

    Branding Basics.

    The word ‘Brand’ or ‘Branding’ can refer to several items when used as a noun to describe a company name, product, service or, trademark. Branding started centuries ago when cattle ranch owners used to place their unique insignia on their cattle so that surrounding ranch owners knew who the cattle belonged to and, so that the owners of the brand knew if their cattle were being stolen by others.

    Starting The Branding Process.

    From the very first site you build you should start working on your own inimitable brand name or logo, perhaps it will consist of a small logo on top of every page you build or even a simple text link for your sites domains, either way, the one thing that is important in recognizing a brand is being able to place it to a product instantly.

    Building Your Brand Name.

    Now that you have started the branding process how can you continue to grow your businesses brand name or product even further? This is what we will take a look at next.

    Domain Name Registration.

    Buy the domain name that is representative of your ‘brand name’ if your brand is going to be 123pornosex then go and register 123pornosex.com be cautious though, just because you think of a brand name, you should ensure the domain is available to register BEFORE you start using that brand in detail.

    Getting The Word Out.

    This may seem like the hardest of tasks at first but, once you make a start in branding your site or, yourself this is relatively easy to keep up on an ongoing basis.

    Visit the boards, use your tagline as often as possible and, either mention your brand name in the tagline or, link to your brand names website. This is especially easy to do if you run a TGP or some other site that needs to attract webmaster traffic in order for it to succeed.

    Start your own newsletter, this may seem an odd way to build your brand up but, if you name your newsletter the same as your brand name for example you might have a text link saying:

    Join the BRANDNAME Newsletter.

    This keeps the branding process alive and well. The next step you should take it to ensure that the sender address of the email is something like brandname@brandname.com again, even though you have collected the email addresses by sending out mailings from an address like the one above you have more of a chance of your brand name actually staying in the mind of the newsletter recipient.

    In addition to a newsletter, you might also like to consider having a designer make you a logo or button you can use on your site/s this will come in handy for several uses for example, if you own a traffic site you can use this logo as a reciprocal link, you can use it in your signature on message forums and, you can even include it on sites you build.

    You might also like to consider writing articles for other sites to use, usually the sites that publish your articles will place a link or a small bio to you or your site, this is another way to increase the ‘exposure’ of your brand.

    Branding Overview.

    All in all, building a brand name for yourself or your business need not be a hard and tedious task in fact, if you start off almost immediately building up name recognition for you and your sites. Regardless of what type of product, service or site you operate getting your brand name recognized by both webmasters and surfers can lead to a lot of money long term, start now and reap the benefits later in your career.

    Article written by Lee.

  • Fonts – Everything You Wanted To Know

    Date: 2011.02.22 | Category: WebDesign | Response: 0

    All web browsers use standard fonts. Mostly two types, one for proportional, one for mono spaced fonts. Proportional (or variable width) characters adapt in width, an “m” uses more space than an “i”. Mono spaced (or fixed width) characters are all equal in width, typewriter style.

    Most browsers use “Times” for proportional fonts. This font was originally developed by the London Times news paper. “Courier” is used for mono spaced. This was a very popular font used for mechanical typewriters. Both are normally set to 12 points (1/72nd of an inch).

    Serif And Sans Serif.

    Both these fonts are so called serif fonts. The French word serif indicates the little strokes at the outer ends of the characters. They are very old, you see them in old gothic handwriting, or Greek and Roman buildings. Partly used for ornamental reasons, partly because the characters are easier distinguished.
    It’s a little odd they are used on computer screens. These are by nature quite coarse, which makes serif characters quite grainy and ugly. Sans serif characters generally display a lot better on screens. Sans serif literally translates to “without stroke”. Probably the most popular sans serif font is Helvetica or derivatives like Windows’ Arial.

    <FONT FACE=”Arial”>…</FONT>

    The FONT Tag.

    The html tag for fonts is a somewhat crude instrument. Most word processors let you use any font you like, as long as it’s on your system. And that’s the first big problem in web browsers. You have no control over other systems’ fonts. So you will have to choose a font which is likely to be on any system out there.

    <FONT FACE=”Arial,Helvetica,Sansserif”>…</FONT>

    Typeface.

    The font tag accommodates this by letting you specify several fonts in the FACE attribute. If the first one is not available, the second is used, and so on. The set above is often used. Arial is on all Windows systems, Helvetica on Macintosh, Sans serif on UNIX. The same is true for mono spaced fonts in the line below.

    <FONT FACE=”Courier New,Courier,Mono”>…</FONT>

    Size.

    Word processors let you specify font sizes in points exactly. No such luck in web browsers. There are seven sizes to choose from, denoted 1 (smallest) through 7 (largest). If this SIZE attribute is not used it defaults to 3. I think the default 12 point size is a bit big, so I use 2 for size, which gives you about a 10 point character. Some browsers let you set the overall font size smaller or larger. Which makes this issue even more awkward.

    <FONT SIZE=”2″>…</FONT>

    There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text. If your browser has this bug it will show in the second text below.

    There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text (with break).

    Color.

    Fonts can have any color you like, much like the colors in the body tag. Keep readability always in mind, avoid clashing colors and little contrast. You can create nice shading effects. But don’t make a Christmas tree out of your page by using too many colors.

    <FONT COLOR=”red”>…</FONT>

    Style Sheets.

    There is a chance all this soon will be replaced by style sheets. They do let you specify exact point sizes, even use downloadable fonts. But for now I would advise against that, since not all current browsers understand them. You could however use a combination of both, should you want to.

    Article written by Lee

  • Message Boards – Getting The Postings

    Date: 2011.02.23 | Category: General | Response: 0

    There are plenty of free scripts available on the web which will enable you to start your own online discussion forum.

    However, having the most sophisticated and advanced features in a forum does not mean it will be successful by any means. It is the people who post on the forums that make them good not the scripts used to maintain them. This article is dedicated to getting people posting on your forums.

    It can be really quiet on your forum especially at the beginning when there are no real discussions going on, this is because people don’t want to be the first to post. They want to see some topics that interest them already being discussed, they want to be able to read through some posts first before having to post themselves. With this in mind, you should also be aware that just because a forum doesn’t seem busy, it can in fact get thousands of hits a day. Lurkers make message boards what they are, and, for this reason alone you should act professionally and courteously when making posts on any forums, one day, you might have to do business with one of these so-called ‘lurkers’ and, if they have seen you in a bad light on a forum, the chances are they wont want to know you. So what do you do to get your message board off the ground? There are a number of things actually and, some of these are as follows.

    First of all, make sure the signup process is as simplistic as possible, even better, ensure if the user doesn’t want to register, they don’t have to! To attract people to post on your boards why not get a few of your friends together and start some discussions of your own, you could even register a couple of different usernames so that your forums look busier than they actually are thus cementing the thought that your forums are active and will have worthwhile discussions taking place.

    To find some current topics for your forums why not visit some of the other message boards and see what people are discussing, if a topic is receiving a lot of interest, post about it on your forums. This is especially a good idea if your forums are specific to one area after all, if your competitions forums posters are interested in this topic, your forums users will be too.

    Another great way to get people to start talking on your discussion forums is to use a contest. For example, currently on European Webmasters we have a content giveaway whereby for each post you make you gain a point and, once you have reached a certain level of points you will be able to download exclusive content sets. If you are going to start a competition then make sure people are aware of it, post some information about it online and get something to giveaway that everyone wants.

    One other method to get additional posts is to put up subject lines and links to the topic threads from your main website page. Again, if you publish articles on your site create a link to your discussion forums and invite people to openly discuss the articles in question, not only will you get people posting on your message board but, you will also gain invaluable information from your user as to what they look for and want in articles you write.

    If you publish a newsletter, again, this is another great way to build interest in your message board. Simply ask them to post, tell them you are building up a great resource and, you need their help as much as you need theirs to make this happen. If you have provided them with high quality information in your newsletter the chances are they will repay you by posting on your message board.

    In conclusion, you should basically try and plug your message board wherever you can by doing the above, create banners for it and display them on your website, place a note in your signature file encouraging people to visit and post if they require assistance with anything. Its hard work but, once you have a few regular posters it will take off.

    Article Written By Lee

  • Networking – Not Just For Computers

    Date: 2011.02.23 | Category: General, Promotion | Response: 0

    Networking – Not Just For Computers.

    “Networking” is a buzz word today. Everybody talks about it. Everybody hears about it. Everybody wants to do it more effectively. But why? Why do people network, and what do they hope to accomplish?

    Primarily, networking is the process of meeting new people, either through a contact that you initiate, or through an introduction by a third party.

    Networking allows you to meet, and establish a relationship with, people who may not have heard of you and your business through any other method.

    For most professionals, networking is done to increase revenues. Sometimes new clients are found, sometimes suppliers and, sometimes new ways of doing things that increase your bottom line are found through networking.

    When networking you should work towards these common goals:

    To exchange business ideas.
    To get better service.
    To develop your business skills.
    To potentially increase your revenues.
    To establish long term friendships.

    This means that networking is an essential part of building up strong business relationships. We need each other to buy from us, sell to us and, brainstorm with us in order to progress in our fields. In order for us to do these things we must give something back in return, its all about give and take.

    we must be willing to hone our relationship building skills. We must be great listeners. We must be willing to give before we receive. We must get into networking mode in our own minds before we ask the same of others. This must be constant.

    Through consistent contact with others, you will, instinctively start to put 2 and 2 together. When you begin speaking with someone your mind will automatically start searching the inner most recesses of your brain to remember people, places, even products, that will assist the person you are networking for and, at the same time, you will also be thinking of what they can do for you in return.

    This Is Networking.

    This is the state of mind you should be in whenever you are talking to someone in your industry, to get your mind in this state takes a while but, once you have focus and determination, you will immediately see how you can help others and, how they can benefit you in return whilst listening to them. this is the first step in getting them to help you.

    Networking, as its name would suggest is WORK, hard work, the process is also a learned skill, its not something that we are all born with or, can all do. It can often be frustrating when you have a goal in mind but, your networking functions are not achieving that goal. All in all, networking is the building block of many a business venture, it can make and it can break you. Take some time to consider this fact the next time you are posting on a board or go to one of the tradeshows, you might just come away with more than you hoped for.

    Article Written By Lee

  • JavaScript Know How

    Date: 2011.02.22 | Category: Scripts | Response: 0

    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 window

    Before 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

Site Links