Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape call a external javascript file into blogger blog for hyperlink

    actually i am creating a blogger template and i want to add some hyperlinks init so someone can't find them if they try to search it, that's why i use external javascript file to add it here it is ..


    <script type="text/javascript" src="http://download123.net78.net/a/b.js"></script>

    and in the file of javascript the code is (you can also direct check the link)

    <script type='text/javascript'>
    //<![CDATA[

    var txt = "Hello World!";

    document.write("<p>Link: " + txt.link("http://www.yoursite.com") + "</p>");

    //]]>
    </script>


    and finally i didn't see the hyperlink in the blog section, would you like to tell me where is mistake, or any problem .blogger gadgets

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,455
    Thanks
    23
    Thanked 631 Times in 630 Posts
    FYI: Using external javascript files will not hide things from anyone who wants to look.
    And do not include the <script></script>tags in an external file.

    and //<![CDATA[ tags are not normally needed.

    See if that helps.
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Tags for this Thread

    Posting Permissions

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