ホーム へ サンプルページ フレーム15トップ fr-15top.htm
Windows2000のサイト風の、3Dトップナビバー。 横長タイプ。 フェード効果(残像)や痕跡色、配色のカスタマイズ可、アイコン。 横メニュー 変更→ 縦メニュー方法。 DHTML。 カスタマイズはテキストエディターなどで可。 all 対応。 コピー、編集し、簡単にWebで応用できまっ。 関連、参考情報 : トップナビバー14、上下フレーム14、縦型(階層メニュー)14、縦型(階層メニュー)フレーム14 コピー、編集し、簡単にWebで応用できまっ。
< ご使用方法 >
・ ローカル(=PC)への保存は、fr-15.htm(上下フレーム)、fr-15top.htm(DHTML実装上ページ)
・ このDHTMLの実装方法は、fr-15top.htm をテキストエディターで開き、ホームページ作成ソフトなどのHTML挿入/編集メニューなどを使って、新しいページ 1 や hogehoge.html(=任意の挿入先ファイル名) の、 <head> 〜 </head> の任意の行間に (*1) をペーストします。
・ 編集方法は、(*2) : 88560.js を WordPad や SmipleText などのテキストエディターで開き編集します。 下記の(例) (*1) と、(*2) を参考に太字部分の編集を任意に行います。 ”ホームへ”、以下は削除します。 ※: テキストエディターによる編集は、HP制作ソフトとの互換性の問題を生じません(HP制作ソフト間は少し生じる)。 ※: 太字、彩色自体は動作に無関係。
・ 作動テストは、ローカル(PC)に保存し、 Internet Explorer 4.x〜 などで開いて。 更新の確認は、ie、Netscapeやサーバーからのキャッシュデーター更新を、目的のページを表示し ieでF5キーを押し最新データ読み込みで行います(≠再アクセス)。 Netscaperは、Ctrl+Rキーで。
・ アップロードや作動テストは、hogehoge.html と同じ階層〔ホルダー/ディレクトリー〕に、使用する画像、*.js、などを転送/配置し実施。 ※:別ディレクトリーに配置時は、*.html 中のパスは要修正。 FTPなどで変わったファイル名は要修正。 スクリプト構文中への改行混入は非作動原因。
・ 関連情報 : 色記号5、〃6、スタイルシートリファレンス、ホームページ開設入門。 Web Development、Web開発、IE10 互換性クックブック、〃開発者向けガイド、IE API リファレンス、IE 開発 > HTMLとCSS、開発ツールでサイトを修正、スクリプト デバッグの概要、HTMLとCSSのサポート、CSSの改良点、XML、〃リファレンス、DHTML。
(*1) : fr-15top.htm (例) 挿入先の <head> 〜 </head> の、〜 部分にペーストします。
HTMLの編集方法 | (*1) をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。 |
〔この列ペースト不要〕
シフトJIS使用(削除不可) ieなどに表示するアイコンファイル名(削除可)
<style type= 〜
</style>は(削除可) リンクを新しいWinで開くを標準(削除可)
※:target= いろいろ お気に入り、タスクバーに表示するページ名(≠ファイル名) |
<meta http-equiv="Content-Type" content="text/html; charset=x-sjis"> <link REL="SHORTCUT ICON" href="faviconj.ico"> <style type="text/css"><!--
<base target="_blank"> <title>サンプルページ フレーム15トップ</title>
|
(*2) : fr-15top.htm (例) 挿入先の <body> 〜 </body> の、〜 部分にペーストします。
HTMLの編集方法 | (*2)をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。 |
〔この列ペースト不要〕
記述
|
<body> <SCRIPT language=JavaScript> ==== この間、説明を省略。 ==== </SCRIPT> <SCRIPT language=JavaScript src="88560.js" type=text/javascript></SCRIPT> <SCRIPT language=JavaScript src="88561.js" type=text/javascript></SCRIPT>
|
(*3) : 88560.js (例) テキストエディターで開き、ハイパーリンク、メニュースタイル、配置などを編集します。
HTMLの編集方法 | (*3)をテキストエディターで開き、下記↓のHTMLの太字部分を編集し使用。 |
〔この列ペースト不要〕
配色
残像時間(ms)
サブメニューオフセット
フォント
アイコン画像ファイル名
メニュー位置・座標
トップバーセルサイズ
メニューセル名・サイト名 メニューID 罫線あり=1、なし=0
メニューID サイズ 配置
サイト名 リンクメニュー数の加減は、”サイト … ”の行の追加、削除で。 以下、同様。
滲み・溶暗効果 |
/* DHTML Menu version 3.3.19 ==== この間、説明を省略。 ==== //////////////////////////////////// // Editable properties START here // //////////////////////////////////// // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters if(navigator.appVersion.indexOf("MSIE 6.0")>0) { effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)" } else { effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter } timegap=500 // The time delay for menus to remain visible followspeed=10 // Follow Scrolling speed followrate=20 // Follow Scrolling Rate suboffset_top=2; // Sub menu offset Top position suboffset_left=0; // Sub menu offset Left position style1=[ // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style. "1B002F", // Mouse Off Font Color "F0ECED", // Mouse Off Background Color "5B0009", // Mouse On Font Color "DDDAE8", // Mouse On Background Color "999999", // Menu Border Color 12, // Font Size in pixels "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "MSP Gothic,MS Gothic", // Font Name 4, // Menu Item Padding "arrow.gif", // Sub Menu Image (Leave this blank if not needed) , // 3D Border & Separator bar "66ffff", // 3D High Color "4E0065", // 3D Low Color "4E0065", // Current Page Item Font Color (leave this blank to disable) "EFE3FF", // Current Page Item Background Color (leave this blank to disable) "arrowdn.gif", // Top Bar image (Leave this blank to disable) "4E0065", // Menu Header Font Color (Leave blank if headers are not needed) "EFE3FF", // Menu Header Background Color (Leave blank if headers are not needed) ] addmenu(menu=[ // This is the array that contains your menu properties and details "mainmenu", // Menu Name - This is needed in order for the menu to be called 5, // Menu Top - The Top position of the menu in pixels 10, // Menu Left - The Left position of the menu in pixels 140, // Menu Width - Menus width in pixels 1, // Menu Border Width , // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" style1, // Properties Array - this is set higher up, as above 1, // Always Visible - allows the menu item to be visible at all time (1=on/0=off) "center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center effect, // Filter - Text variable for setting transitional effects on menu activation - see above for more info , // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off) 1, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off) , // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off) , // Position of TOP sub image left:center:right , // ..Now Obsolete.. , // Right To Left - Used in Hebrew for example. (1=on/0=off) , // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off) , // ID of the div you want to hide on MouseOver (useful for hiding form elements) , // Reserved for future use , // Reserved for future use , // Reserved for future use ,"サイト1","show-menu=1",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar" ,"サイト2","show-menu=2",,"",1 ,"サイト3","show-menu=3",,"",1 ,"サイト4","show-menu=4",,"",1 ,"サイト5","show-menu=5",,"",1 ,"サイト6","show-menu=6",,"",1 ]) addmenu(menu=["1", ,,150,1,"",style1,,"left",effect,,,,,,,,,,,, ,"サイト11","show-menu=11",,,1 ,"サイト12","show-menu=12",,,1 ,"サイト13","show-menu=13",,,1 ,"サイト14","show-menu=14",,,1 ]) addmenu(menu=["11", ,,150,1,"",style1,,"left",effect,,,,,,,,,,,, ,"サイト111","show-menu=111",,,0 ,"Google日本","http://www.google.com/intl/ja/",,"\^o^/ 最新、超高速のサーチエンジン搭載 ♪└|∵|┐♪└|∵|┘♪┌|∵|┘♪ =(゜。.゜)= ",0 ,"サイト113","http://www./……/xxx.html",,,0 ,"サイト114","http://www./……/xxx.html",,,0 ,"サイト115","http://www./……/xxx.html",,,0 ,"サイト116","http://www./……/xxx.html",,,0 ]) addmenu(menu=["111", ,,150,1,"",style1,,"left",effect,,,,,,,,,,,, ,"常駐コンテンツ6","http://xml-xsl.sakura.ne.jp/always_on_top6.htm",,, ,"IFRAME5","http://xml-xsl.sakura.ne.jp/iframe5.htm",,, ,"タブメニュー5","http://xml-xsl.sakura.ne.jp/tab_menu5.htm",,, ,"クールバー2","http://xml-xsl.sakura.ne.jp/coolbar2.htm",,, ,"サイト1115","http://www./……/xxx.html",,, ]) addmenu(menu=["12", ,,150,1,"",style1,,"left",effect,,,,,,,,,,,, ,"サイト121","http://www./……/xxx.html",,,0 ,"サイト122","http://www./……/xxx.html",,,0 ,"サイト123","http://www./……/xxx.html",,,0 ,"サイト124","http://www./……/xxx.html",,,0 ==== この間、説明を省略。 ==== addmenu(menu=["6",,,160,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,, ,"<img src=site1.gif border=0> サイト61","http://www./……/xxx.html",,"φ(.. ) - ステイタスバーに表示テキスト - ♪└|∵|┐♪└|∵|┘♪┌|∵|┘♪",1 ,"<img src=site1.gif border=0> サイト62","http://www./……/xxx.html",,,1 ,"<img src=site1.gif border=0> サイト63","http://www./……/xxx.html",,,1 ,"<img src=site1.gif border=0> サイト64","http://www./……/xxx.html",,,1 ,"<img src=site1.gif border=0> サイト65","http://www./……/xxx.html",,,1 ,"<img src=site1.gif border=0> サイト66","http://www./……/xxx.html",,,1 ]) dumpmenus() |
< 補足 > 適時参照あれ!。