カウンターがまわりません…

このQ&Aのポイント
  • カウンターをHPに設置しようと思い、レンタルしましたが、まわってくれません。
  • HPURLから行くとカウンターが回らず、フォルダのhtmlドキュメントから確認すると回ります。
  • 原因が分からず、最新のデータをアップロードしているにも関わらず、カウンターがまわりません。
回答を見る
  • ベストアンサー

カウンターがまわりません…

カウンターがまわりません… カウンターをHPに設置しようと思い、レンタルしました。 ソースを張り付けて表示までは出来たのですが、まわってくれません。 HPURLから行くと回らず、フォルダのhtmlドキュメントから確認すると回ります。 アップロードしているデータも最新のものなので、何が原因か分かりません… 以下がトップページのソースになります。 <html lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>タイトル</title> </head> <frameset cols="170,60,*" frameborder="0" border="0"> <frame src="sub.html" name="sub" scrolling="auto"> <frame src="menu.html" name="menu" scrolling="auto"> <frame src="first.html" name="main" scrolling="auto"> <noframes> <body> <div id="all"> <IMG src="icon4.gif"><script language="JavaScript" type="text/javascript" src="http://counter1.fc2.com/counter.php? id=5286200"></script><noscript><img src="http://counter1.fc2.com/counter_img.php?id=5286200"><br><strong><a href="http://rss.fc2.com/">RSSリーダー</a></strong></noscript><IMG src="icon4.gif"> <IMG src="icon.gif" align="left"> <h2>About To to444</h2> <h3></h3> <div class="txt"> コメント </div> フレームに対応したブラウザでご覧ください。 </body> </noframes> </frameset> </html> 記載漏れがございましたら追記致します。 お手数ですが、どなたかご指南頂けると幸いです!

質問者が選んだベストアンサー

  • ベストアンサー
noname#119957
noname#119957
回答No.1

</head> <frameset cols="170,60,*" frameborder="0" border="0"> <frame src="sub.html" name="sub" scrolling="auto"> <frame src="menu.html" name="menu" scrolling="auto"> <frame src="first.html" name="main" scrolling="auto"> <noframes> <body> ***************************** 以上でHTMLが変です。headとbodyの間に多数のタグがあります。 ***************************** </head> <body> <frameset cols="170,60,*" frameborder="0" border="0"> <frame src="sub.html" name="sub" scrolling="auto"> <frame src="menu.html" name="menu" scrolling="auto"> <frame src="first.html" name="main" scrolling="auto"> <noframes> ******************************************** noframeの使い方が変です。意味がありません。 フレームに対応していないブラウザにカウンターを 表示することの意味は? ******************************************** http://www.htmq.com/html/noframes.shtml 最後にフレームの中での、そのカウンターが表示できることを 確認したほうがいいと思います。

memo444
質問者

お礼

ご返答ありがとうございました! まだまだ初心者なので、これから勉強していこうと思っています。 ご丁寧にご指南頂き、助かりました。

関連するQ&A

  • サイトのtarget属性について

    サイトを作っているのですが、target属性がうまくいきません。 WinVistaでDreamweaverを使っています。 フレームを縦3画面に分けて、左メニュー・中央に表示・右サブメニューというようにしているのですが、 フレームセットの画面ではname="2"のようにして、リンクにはtarget="2"と指定していても、name="1"のところに表示されてしまいます。 <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>フレーム3分割</title> </head> <frameset cols="230,*,240" border="0"> <frame src="menu.html" name="1" scrolling="auto"> <frame src="top.html" name="2" scrolling="auto"> <frame src="menu2.html" name="3" scrolling="auto"> </frameset> <noframes></noframes> </html> この部分はおかしくないと思います。 メニュー画面は <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>menu</title> <STYLE type="text/css"> <!-- BODY { background-image : url("menubg.jpg"); background-attachment: fixed; background-position: 0% 100%; background-repeat: no-repeat; } --> </STYLE> <link href="css.css" rel="stylesheet" type="text/css" /> </head> <a href="top.html" target="2"><img src="icon/top.gif" onmouseover="this.src='icon/top2.gif';" onmouseout="this.src='icon/top.gif';" style="position: absolute;top: 300px;left: 120px;"></a><br> ・ ・ ・ </body> </html> のようになっています。 言葉を変えていろいろ検索してみましたが、どうにもヒットしませんでしたので、ご教授よろしくお願いします。

  • JavaScriptでHTMLを表示させる方法

    cgiのチャットを使用しております。 古いチャットのため、フレーム対応となっています。 <frameset cols="83%,*"> <frame src="./form.htm" name="chat_form" marginwidth="10" marginheight="10" scrolling="auto"> <frame src="./rom.htm" name="chat_rom" marginwidth="10" marginheight="10" scrolling="auto"> </frameset> <frame src="./chat.htm" name="chat_main" marginwidth="10" marginheight="10" scrolling="auto"> <noframes> <BODY bgcolor="#FFFFFF" text="#666666"> <CENTER> <H2>このチャットはフレーム対応のブラウザでご利用ください</H2> </CENTER> </BODY> </noframes> </frameset> </html> これをフレームを無くすようにしたいのですが、CGIプログラムのため、修正は難しいのです。 JavaScriptでどのように表示できるのでしょうか?document.writeとか…調べても分からなかったのでした。 例 <div> <script type="text/javascript"> ???("○○.html"); </script> </div> 宜しくお願いします。

  • アクセスカウンターの設置

    ホームページにアクセスカウンターを設置した際、 そのサイトを開くと、カウンターがスクリプトのモノのせいか、 セキュリティの警告が出てしまいます。 カウンターはfc2で無料公開されているものを使っています。 ↓ここでは表示上「h」を2つとも抜きました <script language="JavaScript" type="text/javascript" src="ttp://counter1.fc2.com/counter.php?id=1390153"></script><noscript><img src="ttp://counter1.fc2.com/counter_img.php?id=1390153"><br></noscript> 他者のカウンターを設置してあるホームページを開いても、 通常セキュリティの警告は出ません。 警告の出ない、何かよいカウンターを教えていただけませんか?

  • アクセスカウンターの位置を移動させたい

     皆様、お世話になります。パソコンに明るくないので、どうかお教えください。  ホームページビルダーでHPを作成し、アップしました。フレームでページを作った際、最後に左端フレームのメニューボタン等を並べた下位置にアクセスカウンター(FCKのフリー)を設置しました。それがプレビュー、アップともになぜかフレームのトップ、位置としてはメニューボタンよりも最上に表示されてしまうのです。  HTMLは最後の文字と、タグの後に、以下を貼り付けています。 <br> </p> <noscript> <div align="center"><img src="http://counter1.fc2.com/counter_img.php?id=1775431"><br> <br> </div> <br> </noscript> </body> </html>  これを定位置(フレームの中で1番下)に移動させる方法はありますでしょうか?

  • フレーム分割した全体をスクロールバーで動かせないでしょうか?

    フレーム分割したホームページをスクロールバーで上下したいのですが、書き方が分からなくて困っています。お分かりになる方がいらっしゃいましたら、教えて下さい。 尚、当方htmlでようやく簡単なページが作れるレベルです。宜しくお願い申し上げます。 尚、フレームの割り方が違う時はそちらもお教え下さいませ。 <HTML><HEAD> <META Http-Equiv="Content-Type" Content="text/html;charset=Shift_JIS"> <TITLE>フレーム分割</TITLE></HEAD> <FRAMESET Rows="195,*,50" Frameborder="1"> <Frameset cols="10%,80%,10%" Frameborder="1"> <FRAME Src="./frame1.html" name="f1" Scrolling="no"> <FRAME Src="./frame2.html" name="f2" Scrolling="no"> <FRAME Src="./frame1.html" name="f3" Scrolling="no"> </Frameset> <Frameset cols="10%,20%,60%,10%" Frameborder="1"> <FRAME Src="./frame1.html" name="f4"> <FRAME Src="./f001.html" name="f5" scrolling="no"> <FRAME Src="./f002.html" name="f6" scrolling="no"> <FRAME Src="./frame1.html" name="f7"> </Frameset> <FRAME Src="./end.html" name="f8" scrolling="no"> <NOFRAMES>恐れ入りますがフレーム対応ブラウザでご覧下さい</NOFRAMES> </FRAMESET> </HTML>

    • ベストアンサー
    • HTML
  • JavaScriptにて表示させる時計の横に文字を入れる方法

    お世話になります。 この度、HPを作成して公開しているのですが、訪れてくれる方の数も少なくその対応策を考えています。 その1つとして、JavaScriptにて作成されたカレンダーを表示させようと考えています。(今のHPは全て、HTMLにて記述しております。) しかしHTML&JavaScript初心者の為、カレンダーの横に文字を表示させる事が出来ません。 つきましては、カレンダーを左端に表示させて、右側の空白部に標題及び訪問者カウンター(JavaScript)を記す方法をご教示頂けます様お願いします。 参考までに、表示させたい標題+カウンターのコードを以下に記します。 【HTML】 <h1>?????????</h1> <h1>「 ???????????? 」</h1><br> <h3><!-- FC2カウンター ここから --> <script language="JavaScript" type="text/javascript" src="http://counter1.fc2.com/counter.php?id=*******"></script><noscript><img src="http://counter1.fc2.com/counter_img.php?id=********"><br><strong><a href="http://seotaisaku.co.jp">SEO対策</a></strong></noscript> <!-- FC2カウンター ここまで --><BR> <!-- FC2オンラインカウンター ここから --> 現在の閲覧者数:<script language="JavaScript" type="text/javascript" src="http://counter1.fc2.com/views.php?id=*******"></script><noscript><img src="http://counter1.fc2.com/counter_now.php?id=******"><br><strong><a href="http://seotaisaku.co.jp">SEO対策</a></strong></noscript></TD></center><BR><BR>

    • ベストアンサー
    • HTML
  • フレームのページが上下逆に表示されてしまいます。

    Dreamweaver3でフレーム2分割のHPを作りました。 アップして1台のパソコンで表示すると正常に見られますが、もう1台のパソコンで見ると上下逆に表示されてしまいます。 更新させると正常の表示されます。 一体何が原因なのかさっぱりわかりません。 パソコンはどちらもWin98でブラウザはIEの6.0です。 下記はフレームセットのソースです。 原因のわかるかたがおりましたらよろしくお願いします。 ----------------------------------------------- <html> <head> <titleタイトル</title> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> </head> <frameset rows="420,180" frameborder="0" border="0" framespacing="0" cols="*"> <frame src="main.html" name="mainFrame" scrolling="yes" noresize> <frame src="menu.html" name="bottomFrame" noresize scrolling="yes"> </frameset> <noframes> <body bgcolor="#FFFFFF"><DIV ALIGN=CENTER></DIV> </body></noframes> </html> ------------------------------------------------

  • フレーム間のロールオーバーでエラーがでます。

    いつも参考にさせてもらってます。 上下のフレームで、上のボタンから下の画像を変えるロールオーバーですが 画像まではどうにか変えられたのですが、リンクでスクリプトエラーが出てしまいます。 初心者でコピーして継ぎはぎしてるのでさっぱりです。 よろしくお願いします。 上のフレーム <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META http-equiv="content-type" content="text/html; charset=Shift_JIS"> <meta http-equiv="content-language" content="ja"> <META http-equiv="content-style-type" content="text/css"> <meta http-equiv="content-script-type" content="text/javascript"> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 11.0.0.0 for Windows"> <title></title> <script type="text/javascript"> <!-- img_name=new Array(); img_name[0] = "bu05-12.gif"; img_name[1] = "bu05-13.gif"; img_name[2] = "bu05-14.gif"; img_name2 = "bu05-10.gif"; img1 = new Array(); img2 = new Image(); img2.src = img_name2; for(i=0; i<img_name.length; i++) { img1[i] = new Image(); img1[i].src = img_name[i]; } function mouse_over(which) { parent.bottom.document.images["swapImg"].src=img1[which].src; } function mouse_out(which) { parent.bottom.document.images["swapImg"].src=img2.src; } //--> </script> </head> <body> <DIV id="cont"> <div id="gnavi"> <A href="*"> <IMG src="bullet007.gif" onmouseover="this.src='b014lis.gif'" onmouseout="this.src='bullet007.gif'"></A> <A onmouseover="mouse_over(0)" onmouseout="mouse_out(0)" target="bottom" href="bottom-3.htm"> <IMG src="bullet008.gif" onmouseover="this.src='b014lis.gif'" onmouseout="this.src='bullet008.gif'"></A> <A onmouseover="mouse_over(1)" onmouseout="mouse_out(1)" target="bottom" href="bottom-3.htm"> <IMG src="bullet009.gif" onmouseover="this.src='b014lis.gif'" onmouseout="this.src='bullet009.gif'" ></A> <A onmouseover="mouse_over(2)" onmouseout="mouse_out(2)" target="bottom" href="bottom-3.htm"> <IMG src="bullet007.gif" onmouseover="this.src='b014lis.gif'" onmouseout="this.src='bullet007.gif'" ></A> </div> </DIV> </body> </html> 下のフレーム <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META http-equiv="content-type" content="text/html; charset=Shift_JIS"> <meta http-equiv="content-language" content="ja"> <META http-equiv="content-style-type" content="text/css"> <meta http-equiv="content-script-type" content="text/javascript"> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 11.0.0.0 for Windows"> <title></title> </head> <body> <div id="visual"> <IMG src="bu05-10.gif" name="swapImg"> </div> </body> </html>

  • ソース間違えていますか?

    昨日、ソースを変更し、UPしたのですが、今日から急に観覧できなくなりました。ソースがおかしいのでしょうか? 友人たちに、個々のパソコンで観覧していただいたのですが、みんな真っ白で何も見られないといいます。 中国語のサイトなので、metaタグは、gb2312です。 ちなみに、menu1、main、menu2などは、個別には見られます。でも、フレームにすると見られません。 大変困っております。 よろしくお願いいたします。 <html> <head> <title><title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <frameset cols="15%,70%,15%" frameborder="NO" border="0" framespacing="0" rows="*"> <frame name="Frame01" scrolling="yes" src="menu1.htm"> <frame name="main" scrolling="yes" src="main.htm"> <frame name="Frame03" scrolling="yes" src="menu2.htm"> </frameset> <noframes> <body bgcolor="#FFFFFF" text="#000000> </body> </noframes> </html>

    • ベストアンサー
    • HTML
  • インラインフレームが消えてしまいました

    行間を空けようと思い、body内に <span style="font-size:17px; line-height:20pt;"> を入れたとたん、インラインフレームが表示されなくなってしまいました。 ??と思い<span style="font-size:17px; line-height:20pt;">を消してみてもインラインフレームが戻ってきません。他にやった操作はないはずなのですが・・・(<br>をいくつか削ったりはしました) インラインフレームのタグもいじっていません。 なにがいけないのか、さっぱり分かりません。inline.htmlもきちんと同じフォルダ内にあります。 私はHTMLもcssもとても初心者なので、凄く簡単なところで見落としがあるのかもしれません。 と思って小一時間ほどソースを見直してみたのですが、原因となるものが分からず、困っています。 「こういう状況下ではインラインは使えない」というものでもあるのでしょうか・・・? 一応ソースを貼っておきます。******は単なる文字列だと思ってください。 <html lang="ja"> <head> <meta http-equiv="content-type" content="text/html; charset=Shift_JIS"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta content="****" name="keywords"> <meta content="**************" name="description"> <meta name="description" content="******************" /> <meta name="keywords" content="*************************" /> <link rel="stylesheet" href="style.css" media="all" type="text/css"> <title>****************</title> </head> <body><body background="title.gif"> <span style="font-size:17px; line-height:20pt;"> <h1 id="HEADER"><img src="title.jpg" alt="タイトル画像"></h1> <br><br><br> <ul id="NAV"> <li><a href="index.html" title="ホームに戻ります"><img src="home.gif" border=0 alt="ホームに戻ります"></a></li><br><br> <li><a href="main.html" title="********"><img src="bosyu.gif" border=0 alt="********"></a></li><br><br> <li><a href="http://*********.com/" title="******"><img src="blog.gif" border=0 alt="管理人のブログです"></a></li><br><br> <li><a href="douga.html" title="********"><img src="douga.gif" border=0 alt="*****"></a></li><br><br> <li><a href="http://*********/" title="***********"><img src="bbs.gif" border=0 alt="掲示板"></a></li><br><br> <li><a href="link.html" title="お世話になっているサイト様です。ネチケットを守ってお伺いして下さい。"><img src="link.gif" border=0 alt="リンク"></a></li> <br><br> <li><a href="http://******" title="******"><img src="mail.gif" border=0 alt="メールフォーム"></li></a> </li> </ul> <div id="CONTENT"> <center><b> <font color=blue> <br> *****************<br> ****************<br> <font color="green><u>****</u><br> ***********<br> ***********</font><br><br> <iframe src="inline.html" width="50%" height="150" name="koushin">ここはインラインフレームです。表示されない場合はお使いのブラウザが対応しておりませんです。。。</iframe><br><br><br> <h1><font color=red>**********</h1><br> ********<br> ******** <br> <a href=*****.html target="_blank"><br><br> <font size=5>****</font><br></a> ******<br> ****** </font><br> *************<br> *************<br><br> <font color=#00008B><h1>*******</h1> *******************<br> *******************<br><br> *******************<br> *******************<br> *******************<br><br> ************</font> <br> <br> <br> <!-- FC2カウンター ここから --> <center><bottom> <script language="JavaScript" type="text/javascript" src="http://counter1.fc2.com/counter.php?id=3362754"></script><noscript><img src="http://counter1.fc2.com/counter_img.php?id=3362754"><br>undefined</noscript> <!-- FC2カウンター ここまで --> </div> </body></html> どこを見落としていますでしょうか・・・ とてもお手数なのですが、どうぞお力をお貸し下さい。

    • 締切済み
    • CSS