投稿

6月 3, 2018の投稿を表示しています

Translate

Javascript:カーソル合わせたときに何かさせる方法(mouseover)

何故今更感があるけれど・・・ 今の職場は、情報システム課なのに、何故か導入して良いツールに非常に謎な統制が取られていて、VBA以外まともにプログラムをやる機会が無い・・・ ・・という事で、せめて自分の仕事を快適にするために、HTMLとJavascriptで便利にしている今日このごろ。 ・・・が、WEBサーバーも使えないので・・・ね。。。 mouseover <!DOCTYPE html> <head> <script type="text/javascript">     windows.addEventListener('load',                                             function(event){                                                 var elems = document.getElementByName('testmouseover');                                                  for(var i=0; i < elems.length; i++){                                                      elems[i].addEventListener('mouseover', mouseevent, false);                                                  }                                              },                                             false );     function mouseevent(event){         var elem = event.currentTarget;         elem.style = 'background=red;";     } <

不味いラーメン屋 | Most bad taste restaurant..

イメージ
前から気になっていたラーメン屋がある。 I had interested in that restaurant. 聞いたことが無い名前のお店。 I never listen store name. めん処マナムネ屋。 'Mendokoro Masamuneya' ラーメンのお店のようだ。 It is noodle store. ここの場所は、チェーン店が出来ては閉店し・・・を繰り返している。 This location are Many store are opened and closed. 記憶にあるだけで、げんこつラーメン、東京チカラめし・・・・ 'Genkotsu noodle', 'Tokyo Chikarameshi'.... そして、今のマナムネ屋。 And now .. the masamune noodle store. イオン大日ショッピングセンターと、ベアーズというショッピングセンターのデカイショッピングセンターが2つもある場所。 There is Two big shopping center near here. 場所的に明らかに不利で、連続して短いサイクルで潰れていった。 The store open is extremely disadvantageous at  this location. So many store ware got open and got closed. げんこつラーメンは、イオン大日ショッピングセンターの中にもあるから、ここにある意味もなかったのだと思うが。 そして、今回は、今までとは様子が違う。 Now times are strange situation. 今までは、味はおいしかった。 It was Good taste until now. うまいまずいでいうと、今までのお店は美味しかった。 I teach everyone that this situated restaurant serves good taste food until now. ・・・だが、今回は違う・・・ But different situation now. Googleマ