PageSourceSearch

https://gotsu.net/scripts/topnavi.js

js gotsu.net collected 2026-10-04 18:09:31 UTC 7,681 bytes, 166 lines download raw bytes

1/*
2   Top Navigation Bar Script.
3*/
4/******** Main Top Navigation Bar ********/
5function addNavi(id, title, poptitle, url) {
6  if (id == setOnNavCont) {
7    document.write("<A class='navLinkOn' title='"+poptitle+"' href=" +url+">&nbsp;"+title+"&nbsp;</A> | ");
8  } else {
9    document.write("<A class='navLink' title='"+poptitle+"' href=" +url+">&nbsp;"+title+"&nbsp;</A> | ");
10  }
11}
12function addNaviOne(id, title, poptitle, url) {
13    if (id == setOnNavCont) {
14        document.write("<A class='navLinkOn' title='"+poptitle+"' href=" +url+">&nbsp;"+title+"&nbsp;</A>&nbsp;");
15    } else {
16        document.write("<A class='navLink' title='"+poptitle+"' href=" +url+">&nbsp;"+title+"&nbsp;</A>&nbsp;");
17    }
18}
19
20/******** Sub Top Navigation Bar ********/
21function addSubNavi(id, title, poptitle, url) {
22  document.write("<A class='topnavisub' href="+localUrl+url+" title='"+poptitle+"'>&nbsp;"+title+"&nbsp;</A> | ");
23}
24function getParam(name, url) {
25    if (!url) url = window.location.href;
26    name = name.replace(/[\[\]]/g, "\\$&");
27    var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
28        results = regex.exec(url);
29    if (!results) return null;
30    if (!results[2]) return '';
31    return decodeURIComponent(results[2].replace(/\+/g, " "));
32}
33
34// var param = location.search;
35// console.log("param => " + param);
36// var today = getParam('checkdate');
37// console.log("today => " + today);
38// if(today >= "202408010000"){
39//     console.log("OK");
40// }
41// else {
42//     console.log("NG");
43// }
44
45
46
47document.write("<style type='text/css'>");
48document.write("   @import url(\"/css/topnavi.css\");");
49document.write("</style>");
50
51//document.write("<table style='width:100%;padding-left:15px;padding-right:15px;background-color: rgba(216,162,0,0.2)' cellspacing='0' cellpadding='0' border='0'>");
52document.write("<table style='width:100%;padding-left:15px;padding-right:15px;background-color: #f8f4e6' cellspacing='0' cellpadding='0' border='0'>");
53document.write("<tr>");
54
55/*
56 Logo Area </td><td rowspan='2' width='100'>
57var sLogoArea = "<td rowspan='2' width='222' >";
58 sLogoArea += "<a href=\"http://www.gotsu.net/\"><img src=\"/images/logo.darkblue.gif\" width='234' height='44' alt='gotsu.net'></a>";
59 sLogoArea +="</td><td class='toolnavi'>&nbsp;</td></tr>";
60
61*/
62document.write("<td class=\"toolnavi\" rowspan='2' width='400' height='84'>");
63document.write("<a href=\"//www.gotsu.net/\"><img src=\"/images/sitelogoHalf.png\" style=\"max-width:400px;min-width:400px;width:400px;height:84px\"  width='400' height='84' alt='gotsu.net'></a>");
64//document.write("</td><td align=\"left\" class='toolnavi'>");
65//document.write("<a href=\"/members_form.html\"><img src=\"/images/recruit3.jpg\" alt=\"メンバー募集のお知らせ\" width='244' height='30' longdesc=\"http://www.gotsu.net/members.html\"></a>");
66document.write("</td>");
67document.write("</tr>");
68
69document.write("<tr>");
70document.write("<td valign='bottom' width='100%' class='toolnavi'>");
71
72addNaviOne("Home","Home","トップページ","/");
73//addNavi("Admin","Admin","gotsu.netの管理情報その他はこちらです。","/adminroom.html");
74
75document.write("</td>");
76document.write("</tr>");
77
78document.write("<tr><td colspan='2'>");
79document.write("<DIV class='topnavi'>");
80
81addNavi("Home","Home","トップページ","/");
82// if(today >= "202408010000"){
83    addNavi("Profile","Profile","gotsuってどんな人?","/profile.html");
84// }
85// else {
86//     addNavi("Profile","Profile/経歴","gotsuってどんな人?","/profile.html");
87// }
88addNavi("solo","GSP/公演","gotsuのSolo活動(GSP)を紹介します。","/soloproject.php");
89addNavi("DUVIO","DUVIO/デュオ","DUVIO","/DUVIO/");
90addNavi("label","Label/音源","ついに立ち上げたGOTSU.NET Labelの紹介ページです","/label/");
91// if(today >= "202408010000"){
92    addNavi("GFA","GFA/講座","GOTSU.NET First Academy","/firstacademy");
93// }
94// addNavi("support","SUPPORT","GOTSU.NET及び後藤勇一郎へのご支援を是非!","/support/");
95//addNavi("dynamites","The Dynamites","超絶バンドのThe Dynamitesの紹介です。","/dynamites/schedule.html");
96//addNavi("MyMusic","My Music","gotsuの音楽活動です。","/mymusic.html");
97// if(today >= "202408010000") {
98    addNavi("Diary","Blog/ブログ","GOTSUのとりとめもない日記です","//blog.gotsu.net/");
99// }
100// else {
101//     addNavi("Diary","from Gotsu/ブログ","GOTSUのとりとめもない日記です","//blog.gotsu.net/");
102// }
103addNavi("other","Other/その他","The Dynamitesや過去にリリースしたCD等の情報です","/other/");
104// addNavi("private","Old Contents","サイトを始めるきっかけとなった愛犬と趣味のページ。","/private/");
105//addNavi("MyDaughters","My Daughters","gotsuの愛くるしい娘たちです。","/mydaughters.html");
106//addNavi("MyFuns","My Funs","GOTSUの楽しみ","/myfuns.html");
107// if(today >= "202408010000") {
108    addNavi("Mail","Inquiry/問合せ","GOTSUへの連絡はこちらから!","/mail.html");
109// }
110// else {
111//     addNavi("Mail","to Gotsu/問合せ","GOTSUへの連絡はこちらから!","/mail.html");
112// }
113document.write("</DIV>");
114document.write("</td></tr>");
115
116  var sSubNavTblStart = "<tr><td colspan='2'><DIV class='subnavi'>";
117  var sSubNavTblEnd = "</DIV></td></tr>";
118
119if (setOnNavCont == "MyMusic") {
120document.write(sSubNavTblStart);
121addSubNavi("works","Works","CMソングなどのスタジオ活動の紹介です。","musicworks.html");
122addSubNavi("CDProducts","CD Products","GOTSUのCDを紹介します。","cdlist.html");
123document.write(sSubNavTblEnd);
124}
125
126if (setOnNavCont == "MyFuns") {
127document.write(sSubNavTblStart);
128addSubNavi("Soccer","My Football","gotsuのサッカーネタです。","mysoccer.html");
129addSubNavi("MyPC","My PC","gotsuのパソコン遍歴です。","mypc.html");
130addSubNavi("MyPDA","My PDA","gotsuのPDA遍歴です。","mypda.html");
131addSubNavi("MyCAR","My CAR","gotsuが小さいころから好きな車です。","mycar.html");
132document.write(sSubNavTblEnd);
133}
134
135if (setOnNavCont == "solo") {
136document.write(sSubNavTblStart);
137addSubNavi("Schedule","GSP Concert Schedules/公演予定","","gspschedule.php");
138//addSubNavi("Novel","GSP Novel","","solochap1.html");
139//addSubNavi("ClubGSP","club GSP","","gsp/clubgsp.html");
140addSubNavi("History","GSP History/GSPの履歴","","gsphistory.php");
141document.write(sSubNavTblEnd);
142}
143
144if (setOnNavCont == "other") {
145    document.write(sSubNavTblStart);
146    addSubNavi("Live Schedule(The Dynamites)","Live Schedule(The Dynamites)","","dynamites/schedule.html");
147    addSubNavi("CM BGM","CM BGM","","dynamites/works.html");
148    addSubNavi("CD Products(The Dynamites)","CD Products(The Dynamites)","","dynamites/cdlist.html");
149    addSubNavi("works","Works","CMソングなどのスタジオ活動の紹介です。","musicworks.html");
150    addSubNavi("CD Products(Other works)","CD Products(Other Works)","GOTSUのCDを紹介します。","cdlist.html");
151    addSubNavi("弦譜塾 ","弦譜塾 ","弦譜塾 ","genpujyuku/");
152    document.write(sSubNavTblEnd);
153}
154
155if (setOnNavCont == "private") {
156    document.write(sSubNavTblStart);
157    addSubNavi("My Daughters","My Daughters","gotsuの愛くるしい娘たちです。","mydaughters.html");
158    addSubNavi("Soccer","My Football","gotsuのサッカーネタです。","mysoccer.html");
159    addSubNavi("MyPC","My PC","gotsuのパソコン遍歴です。","mypc.html");
160    addSubNavi("MyPDA","My PDA","gotsuのPDA遍歴です。","mypda.html");
161    addSubNavi("MyCAR","My CAR","gotsuが小さいころから好きな車です。","mycar.html");
162    document.write(sSubNavTblEnd);
163}
164
165
166document.write("</table>");

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.