-
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
-
Obscenity – Put It To The Test
Regardless of how long any of us have been an adult webmaster we all need to be
aware of obscenity laws and, in particular how they affect our businesses
whether we think a hardcore photoset is ‘obscene’ or not ultimately, if you get
taken to court on obscenity charges the one thing you should be aware of is how
the courts will decide whether the images you are using will be classified as
obscene or not.Testing Obscenity – The Miller Test.
The Miller test was developed in the 1973 court case of Miller vs. California
and in comprises of three parts ALL of which MUST be satisfied on order for
something to be deemed obscene by the courts. The Miller test is the ‘official’
method used by the United States Supreme Court for determining whether an
expression or a speech can be determined as obscene and, if deemed obscene, it
is not protected under the First Amendment and is therefore prohibited by law.The Miller Test – Part One.
Part one of The Miller Test states something may be obscene if ‘the average
person, applying contemporary adult community standards, would find that the
work, taken as a whole, appeals to the prurient interest’ In essence, this
means that if the ‘average’ person on a jury or on the bench finds the work to
be deemed obscene then, it is. However for the court to rule something as
obscene it also has to be deemed obscene by the standards set in part two and
part three below.The Miller Test – Part Two.
Part two of The Miller Test states that something is potentially obscene is
‘the average person, applying contemporary adult community standards, would
find that the work depicts or describes, in a patently offensive way, sexual
conduct’. Basically this is saying that if the images or speech is something
which is not practiced in a manner befitting your local community standards
then again, it may be obscene. However, as with part one of The Miller Test for
a court to find something obscene it needs to fall below the standards in part
three below.The Miller Test – Part Three.
Part three of The Miller Test states that something is potentially obscene if,
‘a reasonable person would find that the work, taken as a whole, lacks serious
literary, artistic, political, or scientific value.’ This is pretty much where
you could potentially come unstuck after all, everyone has different sexual
tastes and because of this, just because something that may be widespread such
as ‘bare backing’ (to use as an example) could potentially be considered as
obscene if you happen to have a jury who are devout practicers of safe sex.The Miller Test – Overview.
In essence The Miller Test is a useful guideline for webmasters when it comes
to operating our sites and specifically, when it comes to choosing the types of
content we utilize on them however, for the most part The Miller Test itself is
outdated. Since the early 70’s when this test was devised there have been many
sexual practices that were once deemed obscene that have become more a part of
everyday life and accepted in to society as whole thus, what once would (or
could) have been deemed obscene would no longer be in the same sense as
something that may be deemed obscene today could be found not to be in 5 years
time.Article written by Lee
-
Gay Online Dating – Offering Your Surfers An Alternative
Whilst adult websites remain the most highly concentrated method of making money for affiliate programs we have slowly started to see a trend over the past few months of affiliate programs adding a new kind of site to their regular lineup, online dating sites however, as webmasters working in the adult industry how can we successfully market these sites on our existing traffic base? This is what we are going to look at in this article.
Gay Online Dating – Some Facts And Figures.
As mentioned above many affiliate programs now offer some form of online dating site whether it is for gay men and women or for their straight counterparts there is very little mentioned about the target audience these types of site attract so, with that said lets look at some figures from a recent Nielsen report in respect of online dating sites.The online dating market is expected to grow to become an estimated $642 Million dollar industry by 2008.
On average, a user on a dating site will spend 1hour 45 minutes on the dating network itself.
The highest ranked age group (27.64%) for online dating sites is between the ages of 35 and 44 years old.
Men are more likely to a) Browse online dating profiles, b) Post a profile on a dating site, c) Respond to a dating profile and, d) Pay for access to a dating site than women.
So what does this mean for us marketing our sites to gay men and women well, straight off the bat you can see that there is going to be a considerable boom in the online dating world and, with that boom will come a rather satisfying chunk of change also, the age group that spends most time on a dating site as mentioned above is also within the demographical group for the ages of gay online surfers. In addition, males as mentioned, are also more likely to respond to, post, browse or, more importantly here, pay for access to an online dating site making this an ideal opportunity for those of us who actively promote a gay site lineup to start supplementing our income by offering our surfers access to dating sites too.
Gay Adult Dating – Affiliate Programs.
So now we have the figures where do we go to find a gay adult dating affiliate program? Well, there are a couple of options for us, there is the highly recognized outpersonals.com as well as the gay.com dating area however, surprisingly enough, the more ‘mainstream’ dating sites such as date.com, match.com and even adultfriendfinder.com all have sections within their sites for gay men and women as well as gay specific tour pages and promotional materials.Gay Online Dating – Where To Market Our Sponsor.
As with any type of new affiliate program the best way to start marketing them is to place a link on a less prominent page of your site so as to not send your high converting traffic off to a sponsor that may not work for you however, if you have a good network of sites then you might like to try adding your newly found dating affiliate program on your sites ‘exit’ links or even create a TGP gallery specifically for your dating sponsor utilizing softcore content. Also, one thing that I have personally found is that using text links always garners more clicks thru to the dating site than a regular button or banner so again, this may be something you would like to try. In essence though, first test your gay dating sponsor on a minimal traffic source to see what effect it has on your overall site then, once you have ran a test period you can adjust your marketing efforts appropriately.Gay Adult Dating – Recap.
As we have seen above the marketplace for online dating is going to grow to a multimillion dollar industry and, whilst we already know that gay surfers are more affluent and willing to spend money if we can match our sponsors to the type of site they are looking for, why not also offer them an alternative to porn? Many webmasters often overlook the basic principles of marketing that is to say, don’t just give a potential buyer one option but rather, give them several options, by utilizing dating affiliate programs on our sites we are not only giving the surfer an option but, are also giving us a potential opportunity to make more money.Article written by Le
-
Converting Japanese Traffic – The Niche Paysites That Work
Up to this point we have only looked at the European traffic sources and what niches convert for them however, we will now take a look at the Japanese specific adult surfers and, see just what makes them tick when they come to look online for porn.
Japanese Adult Traffic – Dispelling The Myths.
Contrary to popular beliefs Japanese porn surfers are not all looking for Bukakke or Hentai orientated adult sites in fact, the results we saw far from backed this up. Also, many webmasters believe Japanese traffic is worthless again, from our results this is simply not the case.Japanese Adult Traffic – The Niches.
We were extremely pleased with the results we found from the Japanese traffic we got to our hub sites in fact, we altered the type of sponsors we used on our Japanese hubs so that we could see just how well this type of international adult traffic converted and, i think you will see the results are worthy of you sending your Japanese adult traffic to sites that do not encompass dialers as the only means of revenue for those surfers after reading this article.Asian.
We set up a small niche specific ‘Asian’ hub trap that we could use to primarily filter our Japanese traffic through and, as we expected, very little of the traffic actually purchased memberships to these sites that were supposedly made specifically for Japanese surfers instead, all but 2 sales came from sites outside of this ‘Asian’ specific hub.Ebony.
By far our best converting niche on Japanese traffic, the sales figures we saw from a join perspective were enough to warrant that we altered the rest of our hub site to ensure maximum exposure of the Ebony niche sites we were using to get them in front of the Japanese surfer as quickly as possible.Anime / Hentai / Toon.
Again another surprise, the sales we saw on these niche paysites were lower overall when compared to sites in completely different niches what was also surprising about this is that the vast majority of adult webmasters will actively push their Japanese traffic to sites in this niche.Bukakke.
Finding a Japanese Bukakke sponsors was impossible for us, instead, we opted to send the traffic to a US only paysite and, as expected, we had no sales for this niche on the Japanese traffic we saw flowing through our sites. As mentioned above with the Anime niche, this is often the first type of site adult webmasters will send their Japanese speaking traffic too and, as we thought, this is wrong.Teen.
The teen niche converted really well for us, not as well as the ebony niche did but non the less, we received a steady amount of signups each month, this steady signup rate was also added to by recurring incomes from the previous months signups towards the end of our three month test period.Gay.
As with the Bukakke niche paysite we received absolutely no sales to the Japanese gay paysite we used in our hub site this was surprising as even with the other international traffic we had gotten at least one sale a month but, alas, it seems the vast majority of Japanese surfers do not want to see naked men online.Amateur.
Specifically amateur web cam sites converted for us on our Japanese traffic and again, this was good because of the rebills at the end of the month in fact, we still have some rebills continuing now some 5 months after our test period ended.Japanese Adult Surfers – An Overview.
As expected at the start of the test period, Japanese adult surfers are not primarily interested in Bukakke and Anime sites in fact, it would appear they were primarily interested in the Ebony paysites we had to offer them. This is interesting in itself because, when offered ‘Asian’ niche paysites we only achieved 2 sales a month compared to the vast amount of sales to the Ebony niche, I think it might be worthwhile re-visiting Japanese traffic at a later date so we can evaluate exactly what preferences they have over time.One other thing we discovered when testing the Japanese traffic was that, as we have been saying for a long time, Japanese surfers do hold credit / debit cards and, will use them online if their needs can be matched. This is good as if, like us, you use recurring sponsors on this type of traffic you will see some good long term residual income.
Article written by Lee
-
Over The Rainbow
So why is the gay community over the rainbow? As promised today I’ll finish up on the symbols that are prevalent in the gay community. Last week I mention the Pink Triangle and it’s political emergence. And technically, the rainbow flag has a similar political beginning.
I always love answering a question with another question (it is one of those annoying habits I have). So, when I am asked the “what does the rainbow flag stand for?” I look forward to the response when I ask, in turn, “what do YOU think it means?” Here are my top three favorite answers:
1 – “It’s colorful and gay people like colors.”
2 – “It’s a dance party thing”
3 – “Judy Garland sang Over the Rainbow you guys loved her a lot.” (This has to be my all time favorite.)
Well like any political symbol, it is a way to distinguish ourselves. But this time we look not to a place in history but we look at the world in general. No matter where you are, whether it is on 8th street in NYC or Rue du Champe in Paris, there will be a gay person somewhere. Now, some may argue that not all cultures and societies will have homosexual present. And I say, “BULL”. They are just in the closet somewhere.
So in essence, gay men and women cross every racial and religious culture around the world. We come in all shapes, sizes and colors. So what better symbol to show that with than a rainbow, all colors coming together as one – as one community. No matter how culturally diverse our world is, the gay community is made up from a piece of each.
The rainbow flag and the uses of the rainbow, in the gay community, are diverse. If you see it flying outside on a restaurant wall, and it means it is a gay or gay friendly establishment. See a set of rainbow rings around a friend’s neck, it’s gay fashion accessories. And see a political march with rainbows on posters and flags, it’s a gay assembly.
Last week I insinuated that the pink triangle was not a symbol to over use in design. Well, in my opinion, the opposite is true with the rainbow and the rainbow flag. I am NOT saying run out and re do all your sites with rainbow backgrounds. No! But, I am saying that the nature of this political symbol is somewhat more flexible. We ourselves took the rainbow and made jewelry, publications, tee shirts and such. And just as the pink triangle, the rainbow will say that it’s ok to be here, you have friends inside or you have nothing to worry about here – be yourself, this place is for you.
So what have we learned? What some people think as silly symbols that gay people use, actually have an origin – and, a potent origin at that. I still ask, for your own good, that you use them wisely and not over do it. The more you throw symbols around willy-nilly, the more people will think you do not know what you are doing. And the more that the surfers thinks that, the less likely you are to make the sale and get your business to grow.
Article written by Gary-Alan
-
The Successful Marketing Approach
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
-
Message Boards – Getting The Postings
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
-
European Surfers – Gold Waiting To Be Harvested
80% Of the internets content is English. 40% of internet surfers cant even read English, let alone understand it. Out of all the countries in the world, German internet users spend an average of 59.2 minutes looking at porn a month closely followed by Norwegian surfers who looked at it 55.4 minutes every month, how many of you have sites catering to this market? Not one of you… I would bet!
Most webmasters that I know of automatically assume, European surfers = Freeloading Bestiality Loving Sicko’s. That’s bullshit! In fact, a larger and larger percentage of European surfers are looking for porn. Sure, they can find it by the bucket load but, lets be honest, Herman from Munich who cant speak a word of English is going to be making a lot more from this industry than Jason in Miami.. WHY? Because Herman has a captive audience, most of his surfers are German speaking after all, that’s the language he makes his sites in, that’s the language of the sponsors he uses and, like it or not, German surfers are proven to be avid porn surfers and, more importantly, Credit Card spenders!
But Wait…Hang on a second, Credit Card spenders? But I thought the best way of milking $$$ out of foreign surfers was to send them off to a dialer program? hmmm…. perhaps I’m missing something??
You are! there are a lot of sponsors that don’t have any sites in English, Germany has a load of high converting AVS sites, why is this? Because they are written completely in German, Spain has a lot of good quality sponsor that work wonders, Why? Again because they are written in Spanish.
You have a lot of AVS, TGP and free sites that don’t make as much as they could, WHY? because you haven’t considered the global market! Let’s be honest here, the big sponsors of this world you use, how many of them say in their terms and conditions, they don’t allow access to German, Spanish, Ukrainian, Russian surfers? Ill bet at least 50% or more of them right? that’s money you have just lost! Sure, you can ship them off to a dialer program and hope they download it, most wont, sure you can send them to an opt-in email program and hope to make some money from them long term, you wont, In fact, European surfers detest having to give any information about them out. Its a privacy thing, they don’t want you to know who they are, so you cant tell their governments who they are, it sounds harsh but, its true.
So How Do I Do It??
The best way to milk money from the European surfers is to treat them EXACTLY the same as American surfers, but, with one major difference… You need to build for their language, get this right and you’ll be laughing all the way to the Bundesbank
But, where do you start, how can you build a site in a language you know nothing about? Simple, do some research, there are places out there that cater to European based webmasters, go to the forums, ask for help, you wont be laughed at, you wont be ridiculed and, who knows, you may just learn something in the process!
Sign up to a foreign sponsor, you can find a lot on our site, most of, if not all of these foreign sponsor will gladly help you out, they have email support in a variety of languages themselves, drop them a line, tell them you need help, Ask for it… It will come.
Now you have the help you need what next? use it, ask everyday if you have to, there are some good translation services available on the net, spend $50 to get an existing site you have that’s working well translated into a foreign language, I guarantee you, its money well spent! Once you have this translated ‘template’ site use it time and time again, tweak it until you find the best converting site you can, submit it to all the foreign search engines around, you’ll soon pick up that its not much different to working your ‘standard’ sites except, you’ll have trapped a larger percentage of internet porn surfers and, what’s more, this is a percentage that YOUR competitors wont have!
Integration..
Is it possible to build foreign sites and English site to work together? YES but, its hard, you have to mimic the responses you have learnt from the trial you did with the first translated site, once you start to see trends happening, build on them, if something doesn’t work, swap it out, put something in its place, even if.. Its a US sponsor. You have the framework, the surfer is in your site, they know what its about, that’s the time to start introducing the foreign (to them) sponsors ads.The Results..
The results of your trial will speak for themselves, you will have tapped into an as yet untamed market, You will have more scope of growth for your business, You will have established a new traffic source, You will be able to reap the benefits. Of course, you need to work for it, don’t expect magic overnight, it just isn’t gonna happen! Remember when you first started webmastering? it was hard work, tapping into the European market is even harder, its like starting all over again from scratch then, realizing you know what your doing but you have been doing it wrong all these years.Article written by Lee
-
Fonts – Everything You Wanted To Know
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
-
Using JavaScript To Auto Scroll Text
Using JavaScript To Auto Scroll Text.
There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser?The following JavaScript will do just that.
Place the following section of JavaScript coding between your <head> and </head> tags:
<SCRIPT LANGUAGE=”JavaScript”>
<!–function scrollit() {
for (I=1; I<=1200; I++) window.scroll(1,I);
}// –>
</SCRIPT>Along with the following JavaScript coding someone in the Body of your page:
<FORM>
<INPUT type=button value=”scroll” onClick=”scrollit()”>
</FORM>Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye.
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