Hello and welcome to our community! Is this your first visit?
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
    Thanked 0 Times in 0 Posts

    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'>

    var txt = "Hello World!";

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


    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. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Thanked 1,013 Times in 1,010 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.
    Physics is actually atoms trying to understand themselves.


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