• 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

  • Penis Enlargement Pills

    Date: 2011.02.24 | Category: Sponsors | Response: 0

    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

  • Thinking Of Starting An Adult Website In The UK?

    Date: 2011.02.24 | Category: General | Response: 0

    We all know that there are many foreign / international adult webmasters and there are some very well known ones based in England however, before you start building your online empire what are the legalities regarding the type of content you can and cant use on your adult pornographic sites?

    To be honest with you, there are no ‘defined’ laws in England (At the time of writing this article) regarding the use of online media to promote adult activities however, it is a commonly held belief that as long as you stay to the same standard as what most ‘top shelf magazines’ or ‘R18 Videos’ have in them you shouldn’t go far wrong.

    So what are these standards? That’s the information that I am about to give you.

    Content that IS NOT acceptable.

    1) Any material which is in breach of the criminal law.

    2) Material (including dialogue) likely to encourage an interest in abusive sexual activity (e.g., pedophilia, incest) which may include depictions involving adults role-playing as non-adults.

    3) The portrayal of any sexual activity, whether real or simulated, which involves lack of consent.

    4) The infliction of pain or physical harm, real or (in a sexual context) simulated. Some allowance may be made for mild consensual activity.

    5) Any sexual threats or humiliation which do not form part of a clearly consenting role-playing game.

    6) The use of any form of physical restraint which prevents participants from withdrawing consent, for example, ball gags.

    7) Penetration by any object likely to cause actual harm or associated with violence.

    8) Activity which is degrading or dehumanizing (examples include the portrayal of bestiality, necrophilia, defecation, urolagnia).

    As you can see from the above, there ARE very specific guidelines regarding water sports, animality and, some of the more ‘out there’ fetishes.

    Now you know what you cant use on your adult sites, lets take a look at the list of sexual activities that you can use. Its no surprise that the list of what you can use is considerably shorter.

    Content that MAY BE acceptable.

    1) Aroused genitalia.

    2) Masturbation.

    3) Oral-genital contact including kissing, licking and sucking.

    4) Penetration by finger, penis, tongue, vibrator or dildo.

    5) Non-harmful fetish material.

    6) Group sexual activity.

    7) Ejaculation and semen.

    It also worth noting that the above guidelines are not distinguished between heterosexual or homosexual activities.

    So, that’s the low down on what the current status of affairs are with regards to the use of adult content on websites in England and Wales. Actually, that’s not to bad just ensure that you stay within these guidelines and, more importantly, that you do consult a solicitor before commencing any form of adult business after all, that’s what they are there for, to give you SOUND legal advice instead of basic ‘guidelines’.

    Article written by Lee

  • Using TITLE Tags effectively

    Date: 2011.02.24 | Category: Search Engine Optimization, WebDesign | Response: 0

    Microsoft Internet Explorer has supported the TITLE attribute for links since version 4.0. Netscape began supporting it in version 6.0

    The TITLE attribute allows you to enter descriptive text about a link that’s displayed when the mouse moves over the link. For an example, move your mouse over the link below:

    European Webmasters

    The HTML source code for this link is shown below:

    <a href="http://www.europeanwebmasters.com"
      title="Click Here To Learn Foreign Adult Marketing">European Webmasters</a>

    If your browser supports the TITLE attribute you should see a small popup box appear, similar to the way alternate text for images is displayed when you move your mouse over the image.

    This attribute is similar to the ALT attribute for the IMG tag, both in its appearance and its limitations. The value of the attribute must be inside quotation marks, and it can only contain plain text (no HTML tags). You can include carriage returns in the title, and these will be displayed in the text. The maximum length of the TITLE text for Internet Explorer is very large; we’ve tested it with over 500 characters. Try to keep your descriptions below 25 words, though; any more than this can be hard to read and, because the search engine spiders can read this text you may be considered as spamming the engines.

    The TITLE attribute is useful in places where your HTML design limits the length of your link text. That’s often the case for links in a navigation bar, especially if your page has a multi-column layout. Try using the TITLE attribute to give your visitors extra navigation information.

    In addition you can also use the TITLE tag on standard text for extra information where you just don’t have the space to be as affluent as you would like. An example of this is shown below:

    Use of the TITLE tag on plain text

    The HTML code for this is also shown below:

    <font size=”2″ face=”Verdana” color=”#000080″ title=”Use Of The TITLE Tag On Plain Text”>Use of the TITLE tag on plain text</font>

    This attribute is part of the HTML 4.0 standard. Internet Explorer, Netscape 6.x and Opera (Version 3.0 or higher) support it. However, the attribute degrades gracefully, visitors with non-supporting browsers (like Netscape 4.x) would see the link as if you hadn’t used the attribute.

    As you can see from the above examples by using the TITLE tags effectively you can double, if not treble your use of keywords however, caution should be paid when using these features of the tag so that you don’t inadvertently spam the search engines.

    Article Written By Lee

  • Mirroring Adult Sites – Stage Three

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

    So we hit stage three of our tutorial in this stage we are going to make some pages for our top 5 AVS systems. However, as we did in the last tutorial with the new TGP galleries we created we are going to use the same content and same pages that we have already built. On with the tutorial…

    Anyone who build AVS sites will know that you need to have a standard site layout. This usually consists of an entry page (or a warning page), a navigational page (or in our case our menu.html page) and some gallery pages.

    So the first thing we need to do is open up the warning page. Once this page has been opened we now need to do some editing of the page, what I would suggest is moving the warning text to the lower half of the page and at the top making some ‘juicy’ sales text, depending on the niche you are targeting with this site you may also like to add a couple of the original thumbnail images at the VERY top of your page however, these should NOT be linked to the full size image.

    Once you have edited your page to a reasonable standard for the AVS you now need to save this page in the /FreeSite/AVS/ folder that you originally created on your HD. I would suggest saving the page as something like avs1.html or the name of the AVS you will be using this page for.

    Once you have done this you now need to duplicate this page but save it as a different name in again, in the /FreeSite/AVS/ folder so you will end up with avs1.html, avs2.html, etc.

    At the moment these AVS pages have no AVS script on them so, we need to visit the AVS system we are going to be using and fill out the details to have the AVS generate an AVS signup page script for us. Once we have the coding that the AVS provides we now have to place this on our avs1.html page. You should repeat this for each of the AVS’s you wish to use and save each instance of the generated AVS script to a separate AVS*.html page.

    be aware, that when you are putting your information into the AVS to generate the script, you should enter the ‘members area url’ as the page we created for our navigation so, the AVS script location will be /FreeSite/AVS/avs1.html and, the members area page will be, /FreeSite/Menu/menu.html.

    Once you have placed the script on our avs.html pages you should now have the following sites ready:

    1) 50 Pic Free Site With Pics On HTML Pages.
    2) 5 TGP Galleries With Pics On HTML Pages.
    3) 5 AVS Entry Pages.

    Now we are starting to see how using one set of content can amount to a mass of sites all of which can be sending traffic to our sponsors and, to our surfer trap.

    This is where stage three of our tutorial ends however, in our next tutorial we will continue to make some more sites and in an effort to get some traffic we start to play with the ones we have currently created.

    Article written by Lee

  • Content – Keeping your members coming back for more

    Date: 2011.02.22 | Category: Content | Response: 0

    We know that the first battle for pay site owners is getting the traffic and the signups. But, sometimes this becomes such a focus that we forget the other battle: keeping members interested once you have them. When people pay for a membership to a site they are expecting to get their money’s worth. In return for their monthly fee they are looking for a site that encompasses quality, variety and originality.

    As the web grows, so does the online entertainment industry. Four or five years ago there was only a handful of pay sites around compared to the thousands and thousands that are on the net today. Back then, you could literally put any kind of content on your sites and you would have membership, there just was not much choice out there for the connoisseur of porn. Now, potential members are more informed, they know what is out there, they know what they like, and they know what they want to see.

    What has to be done to cater to these more discriminating porn shoppers? You have to give them what they want. Here are some useful tips for choosing a content provider and/or content for your pay sites that will keep the members coming back for more:

    Go for the exclusive content.

    You want to be able to provide your members with something that is fairly fresh and that is not pasted on every pay site on the Internet. The last thing a potential buyer wants to see is a site that is a carbon copy of half the sites out there.

    Choose leased content.

    Choosing leased content over buying CD’s is a good way to keep your site fresh. Most leased content providers will update their content on a bi-monthly or monthly basis. As well, with leased content, it is just a matter of adding the feed into your site. This alleviates the need for extensive extra graphic design work.

    Have a wide variety of content.

    Make sure that your site has a little bit of everything a potential member could want: pictures, videos, live feeds, etc. The more you have the better. Many content providers have great package deals available that will include all of these things all set up and ready to put on a site.

    Choose a reputable content provider.

    You want to make sure that when you choose a content provider that you do not just go for the best deal out there. You want to also look at things like: how much bandwidth they provide, what their technical support is like and last but not least, do they have good customer service.

    These are just but a few helpful suggestions to follow when choosing content for your pay site. There are certainly many ways to achieve a high rate of member retention. One thing that many of our customers tell us is that they find that having a least one voyeur feed on their site great for keeping the members coming back for more. Laura’s Condo, one of our voyeur feeds, has one of the best member retention rates around. Visitors get attached to the girls, develop a rapport with them and they do not want to lose that. Hence, they will keep renewing to be able to keep their relationship going with their favorite girl.

    The number one thing that pay site owners must remember is that members equal money and in order to keep the cash flow rolling in they must keep the members interested and give them what they want. By spending a little extra money to get high quality exclusive content, you will actually be putting more money in recurring memberships back in your pocket at the end of the day.

    Article written by Meredith Murray

  • The Gay Adult Market – Gay Subcultures

    Date: 2011.02.24 | Category: Promotion | Response: 0

    I thought I would take a break from writing about online adult marketing for a change and instead, give many of the straight webmasters looking to break into the gay market a bit of an insight into what makes a gay man ‘tick’ and, whilst this is going to be different from guy to guy, the one thing that will remain constant throughout is that this article is based on the gay lifestyle and subculture in both society and, the internet.

    What Is A Subculture?

    Lets start at the beginning shall we? To understand this article you are first of all going to need to understand what a subculture is well, a subculture as defined by http://www.dictionary.com is, ‘A cultural subgroup differentiated by status, ethnic background, residence, religion, or other factors that functionally unify the group and act collectively on each member.’

    In layman’s terms, that means, that a subculture is a group of people (or individual) that have something different about them than other people.

    In the instance of this article we are going to be looking at the gay subculture and specifically, how this culture is broken down into its own set of subcultures.

    The Gay Subculture – Lets Define The Gay Culture.

    Gay culture is the heritage of culture, knowledge, and references to which gay people fall heir by the fact of their sexual orientation.

    Some individuals argue that there are to many gay people who do not participate in ‘gay culture’ for the concept to be meaningful or that gay culture in itself is placing labels on the stereotype most people think of when they thing about gay people however with this said, there are also those who argue the flip side of the coin. One thing is for sure however, gay culture certainly does exist and, within this culture itself there are many complex facets ranging from sexual preferences through to the types of vacation people take.

    Gay Subcultures – The Facets.

    Whether we choose to think about the different subcultures within the gay community or not one thing is for certain, the subcultures in our community are wide and far reaching from your local gay bar to Soho in a city thousands of miles away most of the gay subcultures can be found almost anywhere in the world and, from this aspect, it makes gay individual no different than other person. For example, the BDSM lifestyle is large in the straight culture however, it is also hugely popular in the gay culture to often with groups of individuals who devote their whole way of life to this. In essence however, many of the gay subcultures are no different to that of their straight counterparts the only difference being, the individuals who practice them, are gay.

    Gay Subcultures – An Overview.

    For many webmasters who currently work in the straight market their first attempt and even their second attempt at marketing to the gay lifestyle may fail however, many do not realize the simplest of rules when it comes to marketing products and services to gay individuals online, you need to be as, if not more, detailed and direct to gay surfers than straight, give them something they can find anywhere at anytime and the chances are they will not buy however, give them something that suits their tastes perfectly and you have a customer for life.

    Article written by Lee

  • Online Billing Alternatives – Token Payment Systems

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

    In this article we will continue our look at the various payment solutions that are available to webmasters for use on a global scale and, this time we will look at the ‘Token’ system of generating income to our sites.

    Token Payments – What Are They?

    Token payments, as they name suggests is a way by which your surfers can access your members area by using pre-purchased tokens as a cash alternative. These tokens are available in a variety of values ranging from US$1 to US$5 and above.

    Token Payments – What Are The Costs?

    The cost to the surfer (as mentioned above) can vary from solution to solution however, on average the tokens which are redeemed for payment are bought in amounts ranging from US$1 to US$5 and above, these tokens then grant the surfer access to any of the sites that uses the specific token system the surfer purchased ‘credits’ for.

    Token Payments – Price Comparisons.

    Okay so based on our previous articles we will again say that access to your members area costs an average of US$30 for a months access, now, using the token payment method, you are now able to set certain ‘restrictions’ immediately on the level of ‘access’ your new member can have although, the reality of it is, these restrictions are set by the token provider themselves.

    Lets say a surfer has gained access to your site using a US$5 token, what can they get actually have access too – not a lot. Your surfer only has access to as much of the content in your site that his ‘credits’ or ‘tokens’ will allow him to, in fact, the token system itself is much like the current pay-per-view model only, IMHO, not as satisfying to the surfer.

    back to the issue at hand, how much will you make from this surfer with the US$5 token who has just accessed your site, well, if your members area is good and you have enough content to keep the surfer there until their tokens run out of credit, then, you will make upto 95% of the initial US$5 token purchase.

    The good thing about this payment solution from a webmasters perspective however, is that YOU can actually set how much time each token will last on your site. Therefore, the reality of it is, you could have a surfer join your site with a US$5 token and only see one movie file whereas, a surfer who joined with a Credit card for 30 days access, could in effect strip your site of its content and move onto the next paysite.

    Token Payments – Overview.

    All in all, i strongly feel that there is a place in todays adult industry for the token payment solution after all, webmasters have to limit access to the amount of content surfers are able to see for free (or cheaply) and start to ‘educate’ todays sufer that they need to spend some money in order to access ‘the good stuff’.

    By allowing webmasters to control the content and value of the token payments on their sites this payment solution could, somewhat start this education process for the surfers. Whether this will be a good or, a bad thing however, will depend entirely on the amount of use these relatively new payment solutions get from both webmasters and, ultimately, surfers.

    Article written by Lee

  • The Successful Marketing Approach

    Date: 2011.02.24 | Category: Promotion | Response: 0

    In today’s volatile and competitive marketplace, the strategic manager must possess a sophisticated perspective regarding creating and maintaining the overall image of the organization.

    In order to accomplish this goal, marketing must play a key role, regardless of the company’s size.

    To be truly effective, a company must be up-to-date with it’s marketing ‘psyche’. In bygone times, companies concentrated on items it was able to produce, not on customer needs and wants. This type of outdated thinking will most likely lead to a rather short lifespan.

    Today, marketing is a holistic approach that is often more complex than first thought.

    What Is Marketing?

    It is a process through which an organization identifies a need and then provides a means of filling or satisfying that need.

    Customers are more informed and savvy than in the past and they expect more – in the quality of both products and service. Today’s customer is not willing to merely sit passively by and consume – he wants a voice and relationship with the companies with whom he chooses to conduct business.

    Marketing is not deciding where and how to advertise. This is only one component of the process. Effective managers make sure they have a well-defined and mapped out strategy that deals with the entire lifecycle of the process. The most successful companies have a keenly honed customer-centric marketing model.

    This model outlines a process that allows the company to determine the needs and wants of a “target market” and deliver this while instilling in the customer the belief their company’s ‘satisfaction solution’ is better value than the competition’s.

    The first step in a marketing strategy involves the identification of unmet needs within a market and delivering/developing products and/or services to meet those needs.

    Define Your Market First.

    Is it a business-to-consumer company, a business-to-business company, or both? Regardless of the target(s) a company must be able to clearly identify a common need amongst a large portion of this market, as well as that portions propensity and ability to buy that product or service.

    Once the target market has been identified it is time to do some analysis. The depth, complexity and related cost should remain proportionate to the ratio of overall business this product or service is anticipated to generate.

    Analyze Internally.

    What will be involved in creating this product or service? Is there access to all of the necessary components? How much volume can be handled? Are their efficient distribution channels? What will it cost to make or provide this? The next phase is an external analysis that looks at specific trends within the target market. With this information in hand, a company is then able to make an informed decision as to whether or not it is feasible to proceed. Now that the target market has been identified and the operational side has been flushed out, a strategy can be addressed. How a company decides to communicate its message should be in correlation to its overall marketing strategy. Whether the most effective method of conveying you message to the target audience is through traditional advertising channels, the Internet or more innovative activities, it should be apparent from the prior analysis. The final phase of a marketing strategy should examine the component of customer relationship management: What processes are in place to service our customers? How do we ensure a positive resolution of customer complaints? What performance measurements will be used to determine how well clients are being serviced? And, most importantly: How will customer relationships be maintained so they will do business with us again and again? By developing a comprehensive strategy that spans the entire lifecycle of new to repeat client, a company will find it is able to effectively address the present needs and wants of it’s target markets, as well as being able to incorporate new areas as they develop. 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