-
Calling Complete JavaScript’s With One Line Of HTML Code
We all know that some JavaScript coding can be excessive and add considerable amounts of additional coding to our pages making them both slower and less search engine friendly however, what if I told you there was a way you could call the EXACT same JavaScript functions you are calling now by using a single line of code and, in the process you would NEVER have to find a specific piece of JavaScript again as you would instantly know where it was saved.
You would probably think the above is in fact very time consuming but, it actually takes no time at all.
The secret is to copy and paste the JavaScript into a plain text file and save that on your server somewhere. However, instead of saving it as a .txt extension save this file as a .js extension and, to make it easier still to find, when you upload this file to your server place it in a directory called /JavaScript/.
That’s pretty much it, easy huh?
Now comes the part of actually getting the JavaScript to work on your web pages, what you need to do instead of using the complete JavaScript coding that you usually would if you wanted to make a pop-up console appear is to use the following coding placed between your <head> and </head> tags:
<script language=”JavaScript” src=”../JavaScript/popup.js”></script>
That will now call the popup.js file or whatever it was you called it from your server and make the JavaScript function work for your surfers with JavaScript enabled in their browser.As you can see, not only does using this method save you a considerable amount of time but, it will also make your pages more search engine friendly as spiders will not have to work their way through a lot of heavily JavaScript before they get to your SE content.
-
Moving To A New Hosting Company
Moving to a new hosting provider does not have to be a frustrating task if done properly.
Adult webmasters usually have to upgrade their hosting services once their respective Web sites become popular, usually because their current host cannot provide an effective level of scalability or technical support or, perhaps even the cost of bandwidth becomes to high.
In order to transfer service efficiently, in the event that it becomes necessary, webmasters should ensure that all their content, including Web pages, databases and scripts, are properly archived.
You should always back up your data at regular intervals in case of unexpected data loss or hardware failure. Ensure that all data is archived recursively. This will ensure that all your data is archived and compressed in its original directories, which is very important if you want to retain the full working integrity of your Web sites.
You may also find that your new hosting company may be able to transfer the files directly from your old server to the new one you are getting with them, ask before hand if this is something that they can do for you as it is generally a lot quicker for them to do it than for you to upload the files yourself for instance, Web Air will do this work for you.Once you have recursively archived your site, make arrangements to purchase your new hosting services. Make sure that any new solution you select includes basic services that approximate and excel the service that you where obtaining with your previous hosting provider. It makes no sense to replace your present hosting service with another Web hosting solution that equally cannot fulfill your technical or financial requirements.
The best resource to use to find a better hosting firm specific to the adult hosting industry is Adult Hosting Companies, the largest adult Web hosting resource directory with currently over 250 hosts listed.
Once your new solution is activated, upload your archived Web pages, database and scripts to the new host. You will be allocated an IP number from the new hosting company. Take time to debug and test the new site from the individual IP number, not forgetting things like your cgi scripts may need altering.
Once your site is entirely debugged and you verify that all site functionality is operative, then transfer your domain name service (DNS) servers over from your old server to your new server.
During this DNS transition period, which is referred to as the “propagation period,” your Web site will be resolved by both your new and old host, as the new DNS information about your Web site filters through the Internet globally. It typically takes about 10 days for the transfer to fully propagate around the Internet; so keep your old site running in case you get visitors whose ISP’s have cached your site on the old server.
It is important however that you retain both your old and new hosting services during your propagation period of 10 days. You will need to check your e-mail from both hosting providers since different regions of the Internet will remit e-mail to your original host while other regions will remit mail to the new server during this time.
Once a week or two have elapsed, cancel the account with the previous hosting company. Only cancel your old account when e-mail stops arriving from your old hosting provider.
If you follow these steps carefully, then your host change should be easy and stress free.
Article written by Lee
-
Building A Surfer Trap – Stage 7
Here we go with Stage 7 in this Surfer Trap tutorial.
We should by now have a rather complex looking surfer trap, pop up consoles and blur consoles on all of the pages within it, all of these same pages interlinking each other indefinitely.
So, we are starting to get some traffic to this beauty from our existing sites and the counters we implemented but, how can we get some more traffic for FREE?
What I suggest we do next to this little baby is to add a banner exchange code to EACH of the FPA’s we have and also, onto the larger table console we created.
You should sign up for one banner exchange code for this trap, you might like to search around for a banner exchange that lets you have a decent ratio of impressions.
Once you have signed up for your banner exchange code, you now need to copy this coding into the BOTTOM of all of your FPA HTML pages including the Multi-Site FPA.
Now you have the banner exchange code on your site you are earning credits. Your account may not be activated for a day or so but, what this means is you are earning credits the entire time you are showing banners on your Surfer Trap.
Now we have the banner exchange code on our sites we only have one further step to take in order for this project to be completed.
Making sure it works how it is supposed too along with fine tuning this little beast.
If you have any further questions or comments please post on the forums here and one of us will be able to help you.
Article written by Lee.
-
JavaScript – Redirecting Foreign Surfers
At some point or another we are no doubt going to have the need to redirect some or all of our surfers based on the language they speak, this snippet of JavaScript when placed on your page will enable you to do just that without the need for .php or other more complex scripting.
Here is the coding that you need to place between your <head> and </head> tags:
<SCRIPT LANGUAGE=”JavaScript1.2″>
<!– Begin
if (navigator.appName == ‘Netscape’)
var language = navigator.language;
else
var language = navigator.browserLanguage;if (language.indexOf(‘en’) > -1) document.location.href = ‘english.shtml';
else if (language.indexOf(‘nl’) > -1) document.location.href = ‘dutch.shtml';
else if (language.indexOf(‘fr’) > -1) document.location.href = ‘french.shtml';
else if (language.indexOf(‘de’) > -1) document.location.href = ‘german.shtml';
else if (language.indexOf(‘ja’) > -1) document.location.href = ‘japanese.shtml';
else if (language.indexOf(‘it’) > -1) document.location.href = ‘italian.shtml';
else if (language.indexOf(‘pt’) > -1) document.location.href = ‘portuguese.shtml';
else if (language.indexOf(‘es’) > -1) document.location.href = ‘Spanish.shtml';
else if (language.indexOf(‘sv’) > -1) document.location.href = ‘swedish.shtml';
else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
else
document.location.href = ‘english.shtml';
// End –>
</script>To add additional language redirects to this JavaScript all you need to do is duplicate the:
else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
Section of the coding changing the (‘zh’) language code to that of the language you wish to redirect.
Article written by Lee
-
Redirecting To A Different Page Using JavaScrip
There are times when a simple JavaScript redirection from one page to another can come in handy and, the following JavaScripting will enable you to do this.
When a page contains this javascript, it will be redirected to another page that you specify in the “window.location=”. You can change the number of refresh seconds by changing the “move()’,1000 to the number of seconds you’d like.
Example:
1000 = 1 second
2000 = 2 seconds
3000 = 3 secondsPlace this JavaScript code between the <head> and </head> tags
<script language=”JavaScript”>
<!–hide from old browsers
var time = null
function move() {
window.location = ‘http://www.yourdomain.com’
}
//–>
</script>Place this JavaScript code in your <body> tag
<body onload=”timer=setTimeout(‘move()’,1000)”>
You should now have a page that will redirect to a new url when it loads in the surfers browser window.
Article written by Lee
-
Newbie Basics – The HTML Layout
In this article we will look at some HTML tags that you will be using in every HTML document that you create. They are the base for every web page and are the essential pieces of HTML coding to ensure that your pages display correctly.
The Structure Tags.
Here is a look at the main structure tags. You will have to get used to these since you will be using them for all your pages.We would suggest that you start by copy and pasting the structure into your document then creating my page once they’re in place.
Make it a habit to ensure that all surfers (regardless of their browsers) will be able to identify your creations. Each of these HTML tags are used in pairs with a start and ending tag in the same way as we mentioned in the previous chapter.
<HTML> </HTML>
The HTML tag tells the browser that your page is a valid HTML page.
The first and last tag on all your HTML documents will be this tag.
The complete HTML coding for the remainder of your document will be placed between these two HTML tags.
<HEAD> </HEAD>
This tag is used to reference your document.
<TITLE> </TITLE>
This tag enables you to give your HTML document a title.
It’s best to insert descriptive text about your page between these tags we will go into this in more detail in the later chapters.
This will also be the name that is displayed in a web browser’s system tray when someone bookmarks or adds your HTML document to their favorites list.
<BODY> </BODY>
The entire coding for your page goes in between these two tags.
Basically, they mark the beginning and end of your web page’s body. They are the essence of your HTML.
All your HTML tags in your document will be resting in between these two HTML tags.
Putting It All Together.
Now that the main tags have been outlined, it’s time to put them all together. Here is an example of what your HTML documents should look like.<HTML>
<HEAD>
<TITLE>The Title Of Your Html Document Goes Here</TITLE>
</HEAD><BODY>
All your other HTML tags and text goes here.
This Is the main body of your HTML document.
At the end of this text you will also see where the closing Body and HTML tags go.</BODY>
</HTML>
This is the basic structure for any HTML document. Once these tags are in place, the rest is down to you. These Tags are not case sensitive. In other words, you don’t have to use all capital letters like we have in our Chapters. It won’t make a difference to the overall outcome of your tags. However we would recommend using Caps for your tags. It makes them a lot easier to distinguish from all the other sections of your HTML document coding, as you can see in the example above.
Article written by Lee
-
The Curse Of The Broken Image
At one time or another we have all done it, uploaded a new site only to find out that when we view the page in our browser one of the images are broken because we either didn’t link it properly or the filename wasn’t named correctly on our server.
We may think that this is a bad thing however, recent experimentation on my part has found quite the opposite.
We all search for new ways of getting the surfer to visit our sponsors in order to have them buy a membership and earn us a nice little slice of $$$ in the process but, what methods could we use that quite simply are overlooked?
One such method is that of utilizing broken images, lets be honest here, no-one wants broken image son their site, it makes the site look unprofessional but, lets think about this, on a page full of banners and graphics all nested together neatly on an FPA (Full Page Ad) what’s more likely to grab the surfers attention, a completely loaded heavy bandwidth graphic or a single solitary broken image placed in a such a spot the surfer actually notices it?
Makes you think doesn’t it. Our recent testing of this method has actually shown that our CTR (Click Through Ratio) rose slightly on a couple of sponsors we used this method on all of the sites in question had nice looking text and banners with corresponding thumbnails leading tot he full size image but, upon deliberately leaving an image off the server thus resulting in the ‘appearance’ of an erroneous broken graphic the spot where that image should have been was were a great deal of our click throughs came from.
I am not saying you should immediately go and delete all graphics from you pages but, a single, well placed broken image on a free site can work wonders in getting traffic off your site and to your sponsors pay site tour which ultimately, is what we want to happen at the EARLIEST possible time.
Article written by Lee
-
Straight From The Horses Mouth – Get Googlized
Many webmasters wonder how to ensure their sites will be included in Google’s index of web sites. Although Google crawls more than a billion pages, it’s inevitable some sites will be missed. When Google does miss a site, it’s frequently for one of these reasons:
* The site is not well connected through multiple links to others on the web.
* The site launched after Google’s last crawl was completed.
* The design of the site makes it difficult for Google to effectively crawl its content (excessive frames, tables, etc).Google’s intent is to represent the content of the Internet fairly and accurately. To help make that goal a reality, we offer this guide to building a “crawler-friendly” site. There are no guarantees a site will be found by our crawler, but following these guidelines should increase the probability that your site will show up in Google search results.
Do…
Provide high-quality content on your page – especially your home page.
If you follow only one tip from this page, this should be it. Our crawler indexes web pages by analyzing the content of the pages themselves. Google will index your site better if your pages contain useful information. Plus, your site has a better chance of becoming a favorite among web surfers and being linked to by others if the information it contains is relevant and useful.Submit your site to the appropriate category in a web directory.
Listing your site in the Open Directory Project http://www.dmoz.org/ or Yahoo! http://www.yahoo.com/ increases the likelihood it will be seen by robot crawlers and web surfers.Pay attention to HTML conventions.
Make sure that your <TITLE> and <ALT> tags are accurate and descriptive. Also, check your <A HREF> tags for errors since broken or improperly formatted links can prevent Google from indexing your page.
Make use of the robots.txt file on your web server.
This file tells crawlers which directories can or cannot be crawled. Make sure it’s current for your site so that you don’t accidentally block our crawler. Visit: http://www.robotstxt.org/wc/faq.html for a FAQ answering questions regarding robots and how to control them once they visit your site.Ensure that your site is accessible through HTML hyperlinks.
Generally, your site is crawlable if the pages are connected to each other with ordinary HTML links. If certain areas are not linked, you may be excluding older browsers, differently-abled users, and Google. Google can crawl content from a database or other dynamically generated content as long as it can be found by following links. If you have many unlinked pages, you may want to create a jump page from which the crawler can find all of your pages.Build your site with a logical link structure.
A hierarchical link structure is not only beneficial to you, but also to Google. More of your site can be crawled if it is laid out in with a clear architecture.Don’t…
Fill your page with lists of keywords, attempt to “cloak” pages, or put up “crawler only” pages.
If your site contains pages, links or text that you do not intend visitors to see, Google considers them deceptive and may ignore your site.Feel obligated to purchase a search optimization service.
Some companies “guarantee” your site a place near the top of a results page. While legitimate consulting firms can improve your site’s flow and content, others employ deceptive tactics to try and fool search engines. Be careful – if your domain is affiliated with one of these services, it could be permanently banned from our index, we have found search engine optimization software like Web Position Gold works best but, again use it in moderation.Use images to display important names, content or links.
Our crawler does not recognize text contained in graphics.
Use ALT tags if the main content and key words on your page cannot be formatted in regular HTML.Provide multiple copies of a page under different URLs
Many sites offer text-only or printer-friendly versions of pages that contain the same content as the graphic-enriched version of the page. While Google crawls these pages, duplicates are removed from our index. In order to ensure that we have the desired version of your page, place the other versions in separate directories and use the robots.txt file to block our crawler.Article written by a Google employee
-
Adding Images To Your Web Pages
The Basics
Adding Images To Your Web Pages – The Basics.
So you have just got into the online adult business but don’t know your ass from your elbow, you have the simplistic stuff relating to HTML down but, you want to find out how you can start adding banners and images to your pages here is a quick guide to help you on your way.
What Is An Image?
The answer, is, believe it or not simple, An image is a picture on a page of your website. There are however, many way to display images on your site from the size of it to the overall effect you want the image to have on your HTML page and from borders around the image and many other things.
However, I don’t want to blind you with information at the moment considering you need to actually know the basics of adding images before you can start using fancy styles and the likes.
Adding A Basic Image.
The HTML code to add an image on any HTML based page is a straight forward one however, before you can use this HTML tag you need to know where on your page you want the image to appear.Now that you have decided where you want your image to display you need to use the image tag, the HTML coding to place an image on your page should be IMG. Also, you will need to tell your page where you want the image to come from or, in other words, you need to tell it the source of the image you want to use the HTML tag to do this is SRC.
For example, lets say you have an image called porn.gif (you need to include the extension in your SRC coding) you would display this image on your page using the following code:
<IMG SRC=”porn.gif”>
Simple huh?
Well, actually, maybe not, for example, what do you put if the images you are linking to is NOT in the same location as the page you want it to appear on? That’s not a problem, all you need to do is use the FULL location of the image in your IMG HTML tag like this:
<IMG SRC=”http://www.domain.com/images/porn.gif”>
You should now be able to include images on your pages without any problems.
Image Sizes.
Ok we can now include an image on our pages but, what if we want to make this image fit the feel of the rest of our page / site, how do you manipulate the graphic to ‘look’ right?There are a number of ways images can be manipulated for example, if you want the image to be 100 pixels wide by 100 pixels high you can add the WIDTH and the HEIGHT tag to your HTML coding like this:
<IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″>
That will now resize your image into a square that is 100 pixels wide and high.
Now we have the image on our page in the right size we require what else can we do with it? Read on..
Borders + Colors.
In addition to placing the image and resizing the image on our pages we can also add a border and, a border color to the mage to make it stand out if needed for example:<IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″ BORDER=”2″ BORDERCOLOR=”FF0000″>
As you can see we have now added the two tags ‘BORDER’ and ‘BORDERCOLOR’. The first ‘BORDER’ tag tells your HTML what size of border you want around your image and, this can be any size you want to make the image stand out on your page. The second ‘BORDERCOLOR’ tag tells your HTML code what color you want the border to be again, this can be any color you like to match the rest of your sites pages.
Linking An Image.
In addition to resizing, adding borders and colors we can also link our image to a specific URL (the most common form of this is with banner advertising) and, if you want to link your image to a URL you would use the following coding:<A HREF=”http://www.sponsorsurl.com”><IMG SRC=”http://www.domain.com/images/porn.gif” BORDER=”2″ WIDTH=”100″ HEIGHT=”100″ BORDERCOLOR=”FF0000″>
This will create an image that is 100×100 pixels in size, with a border size of 2 pixels in the color FF0000 that is linked to http://www.sponsorsurl.com
Also, the order of the HTML tags we use is not important however, you should try to get used to arranging them in a certain way to make your work easier if it ever comes to editing your images.
Hopefully this has been of use to you and you can now see that adding banners and images to your sites isn’t as daunting as you first thought.
Article written by Lee.
-
Protecting The Kids – Europe’s Role
As adult webmasters we have certain obligations we must fulfill daily whether these be, legal or moral.
One issue that is constantly cropping up in our industry is that of minors (Children) accessing adult websites and, more importantly, the ease of which they can do.
Recent figures released by one of Europe’s top internet analysis companies show that children in Europe and, specifically within the United Kingdom are more likely to visit a website and that, ‘showing that around one in five Internet kids (290,000) check out the sex sites’.
These figures are certainly alarming to say the least, bearing in mind they are specifically talking about the United Kingdom, that leaves a vast majority of Europe, as yet, un-analyzed.
We should all adapt to new methods in order to protect minors from accessing our site whether that includes placing your sites behind AVS systems which, in my opinion is one of the best ways and, most profitable of protecting minors or, utilizing ‘web safe’ software packages that are available to block access to adult sites completely we all need to adopt these practices.
The fact of the matter remains that, in this day and age, no matter what precautions we take in order to prevent access there will, undoubtedly, be a majority of children who can and will, get access to adult sites.
Does that mean we should compromise on the quality of our sites? No
Does that mean we need to think harder about how we develop our sites? YesIt takes very little effort to subscribe to the services to block access and, you can get a single line of code to place within your html from ICRA which will at least, deter underage surfers from accessing your sites.
In addition to the above mentioned service, you can also place a link on your warning page/s to the following services for parents to block access from children to our sites, SAFESURF, CYBERPATROL, NETNANNY and, SURFWATCH amongst others. Its not just about utilizing software and ratings on our sites though, we can go much further than that and, for instance, using nothing but softcore content on our sites will protect to some extent the materials available to children but, in addition you will also notice your conversion ratios will go up! I have and, I’m sure you have, heard it time and time again.. Make them ‘Pay for pink’ and, by using softcore images on your sites that’s exactly what you are doing.
I for one certainly hope that you take heed at this article, protecting our children is paramount if, we are to succeed in the business, it is getting harder and harder to control who accesses our site but, we can at least take a step in the right direction.
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