aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorErling Aaby <erlinaa@stud.hist.no>2013-04-30 08:26:15 +0200
committerErling Aaby <erlinaa@stud.hist.no>2013-04-30 08:26:15 +0200
commit28cf2223e6678b689ad01a99decb3371f8a15bcd (patch)
tree4fea0182560ab8054776911af32b9d9c36ce4356
parentAdded better img of androidA.png (diff)
downloadDivid-28cf2223e6678b689ad01a99decb3371f8a15bcd.tar.gz
added mouseover for app store links
-rw-r--r--app.js2
-rw-r--r--public/css/use.less14
-rw-r--r--views/home.ejs8
3 files changed, 4 insertions, 20 deletions
diff --git a/app.js b/app.js
index f9aa1b9..492f8fe 100644
--- a/app.js
+++ b/app.js
@@ -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>