SEO Software
Closed Thread
Results 1 to 3 of 3

Thread: JavaScript for links

  1. #1

    Default JavaScript for links

    Most links use a standard HREF format, which Google has no problem understanding. However, if you use JavaScript code to create your links, Google may not be able to recognize this as a link. Bear in mind that Google can recognize some JavaScript-coded links, depending on how the link is coded. For information on how to construct a JavaScript-coded link, look anywhere on the Web for samples. The best way is to use a separate JavaScript (.js) file to store the URLs

  2. The Following User Says Thank You to sanky12ka4 For This Useful Post:

    internalsoul (10-11-2009)


  3. Micro Niche Builder

  4. #2

    Default

    Thats a nice information. However, if you could give an example then it will help me to understand it better.

  5. #3

    Default

    For example:
    Code:
    <script name="JavaScript">
    var partnerPath = '';
    
    function redirectURL( url ) {
    var redirectURL = "/folder/redirectURL?URL=" + escape( url ) ;
    location.href = redirectURL; 
    } 
    </script>

Closed Thread

Similar Threads

  1. What is JavaScript?
    By gilbertsavier in forum JavaScript Help
    Replies: 2
    Last Post: 10-26-2010, 07:55 AM
  2. Replies: 0
    Last Post: 09-04-2009, 12:37 AM
  3. Javascript
    By Avss in forum Design and Development
    Replies: 1
    Last Post: 05-26-2009, 02:20 AM
  4. Outbound Links and Inbound Links
    By nikon in forum SEO Forum
    Replies: 1
    Last Post: 01-13-2009, 02:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts