Results 1 to 5 of 5

Thread: Javascript Arrow Leftover
      
   

  1. #1
    MidnightSun's Avatar
    MidnightSun is offline Captain
    Join Date
    May 2009
    Location
    Blue Ridge Mts. VA / Khorat, Thailand
    Posts
    232

    Default Javascript Arrow Leftover

    I tried putting a hidden counter on my page in JavaScript and each time I tried, (3), when I opened the page I got a (-->) where the counter was. I put it in in HTML and it seems OK. I just wondered what's up with the javascript version?? Thx, #34460

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Javascript Arrow Leftover

    Can you give a link to the page that the "-->" is appearing on (always give a link to the page if you are asking something specific such as this).

    I can almost guarantee you it's from a comment in the javascript, and probably a syntax error causing it to show.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    MidnightSun's Avatar
    MidnightSun is offline Captain
    Join Date
    May 2009
    Location
    Blue Ridge Mts. VA / Khorat, Thailand
    Posts
    232

    Default Re: Javascript Arrow Leftover

    I didn't put that page up because of that error. On the page I reworked, it is a black BG and it doesn't show, but here is the script itself...

    <!-- GoStats JavaScript Based Code -->
    <script type="text/javascript" src="http://gostats.com/js/counter.js"></script>
    <script type="text/javascript">_gos='c3.gostats.com';_goa=314563;
    _got=5;_goi=1;_goz=0;_gol='invisible counter';_GoStatsRun();</script>
    <noscript><a target="_blank" title="invisible counter"
    href="http://gostats.com"><img alt="invisible counter"
    src="http://c3.gostats.com/bin/count/a_314563/t_5/i_1/counter.png"
    style="border-width:0" /></a></noscript>
    <!-- End GoStats JavaScript Based Code -->

    If that doesn't help enough, I can replace the BG and upload it again, thx.....

  4. #4
    Vasili's Avatar
    Vasili is online now Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Default Re: Javascript Arrow Leftover

    * Might want to Google for a " Free Javascript Validator" .... a number of sites feature these free tools ... and quadruple-check you copied the entire script properly!

  5. #5
    MidnightSun's Avatar
    MidnightSun is offline Captain
    Join Date
    May 2009
    Location
    Blue Ridge Mts. VA / Khorat, Thailand
    Posts
    232

    Default Re: Javascript Arrow Leftover

    Thx for the tip.....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49