diff options
author | Erling Aaby <erlinaa@stud.hist.no> | 2013-04-30 08:26:15 +0200 |
---|---|---|
committer | Erling Aaby <erlinaa@stud.hist.no> | 2013-04-30 08:26:15 +0200 |
commit | 28cf2223e6678b689ad01a99decb3371f8a15bcd (patch) | |
tree | 4fea0182560ab8054776911af32b9d9c36ce4356 | |
parent | Added better img of androidA.png (diff) | |
download | Divid-28cf2223e6678b689ad01a99decb3371f8a15bcd.tar.gz |
added mouseover for app store links
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | public/css/use.less | 14 | ||||
-rw-r--r-- | views/home.ejs | 8 |
3 files changed, 4 insertions, 20 deletions
@@ -10,7 +10,7 @@ var express = require('express') /** * App configuration */ -var port = process.env.PORT || 8000 +var port = process.env.PORT || 8001 , env = process.env.NODE_ENV || 'development' , config = require('./config/config')[env] , auth = require('./config/middlewares/authorization'); diff --git a/public/css/use.less b/public/css/use.less index 7788aa2..4f2dbb9 100644 --- a/public/css/use.less +++ b/public/css/use.less @@ -168,20 +168,6 @@ margin:60px; display: block; } -#android:hover { -background-image: url('/img/androidA'); -} -img.apple { -background-image: url('/img/iphone'); -z-index:2; -} -img.apple:hover { -background-image: url('/img/iphoneA'); -z-index:1; -} -#windows:hover { -background-image: url('/img/winA'); -} /* #register { height:460px; diff --git a/views/home.ejs b/views/home.ejs index 54c19e6..7884df8 100644 --- a/views/home.ejs +++ b/views/home.ejs @@ -110,11 +110,9 @@ </div> </div> <div class="span5 sectionright"> - <a href="https://itunes.apple.com/us/genre/ios-finance/id6015?mt=8"> - <img src="/img/iph.png" class="apple"> - </a> - <a href="https://play.google.com/store"><img src="/img/android.png" id="android" class="infoimg"></a> - <a href="http://www.windowsphone.com/nb-no/store"><img src="/img/win.png" id="windows" class="infoimg"></a> + <a href="https://itunes.apple.com/us/genre/ios-finance/id6015?mt=8"><img src="/img/iph.png" onmouseover="this.src='/img/iphoneA.png'" onmouseout="this.src='/img/iph.png'"></a> + <a href="https://play.google.com/store"><img src="/img/android.png" onmouseover="this.src='/img/androidA.png'" onmouseout="this.src='/img/android.png'"></a> + <a href="http://www.windowsphone.com/nb-no/store"><img src="/img/win.png" onmouseover="this.src='/img/winA.png'" onmouseout="this.src='/img/win.png'"></a> </div> </div> </div> |