Skip to content

Commit

Permalink
fsr created
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Sep 25, 2012
1 parent e1d9a34 commit aa9f8c6
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
21 changes: 20 additions & 1 deletion css/main.css
Expand Up @@ -239,7 +239,26 @@ body {

#pronite_container:hover{
background-color : #b20404;
}
}

#fsr_container{
position: absolute;
width: 8%;
height: 7%;
left : 58%;
bottom : 48%;
cursor : pointer;
border-top-left-radius : 120px;
background-color : #fff;
}

#element_fsr{

}

#fsr_container:hover{
background-color : Green;
}

#casette_container{
position : absolute;
Expand Down
Binary file modified images/street.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions index.php
Expand Up @@ -487,8 +487,12 @@
<div id="fsr_container">
<canvas id="element_fsr" class="element_canvas"></canvas>
</div>
</div>
<!--
<div id="gallery_container">
<canvas id="element_gallery" class="element_canvas"></canvas>
</div>
-->
<div id="theme_play" class="play-pause">
<img src="images/play.png">
</div>
Expand Down
25 changes: 24 additions & 1 deletion js/main.js
Expand Up @@ -9,6 +9,8 @@
canvas : document.getElementById("container_canvas"),
overlay : document.getElementById("overlayed"),
pronite : document.getElementById("pronite_container"),
fsr : document.getElementById("fsr_container"),
gallery : document.getElementById("gallery_container"),
contacts : document.getElementById("contact_container"),
events : document.getElementById("events_container"),
casette : document.getElementById("casette_container"),
Expand Down Expand Up @@ -90,7 +92,21 @@
left: ((28/100)*w)+'px',
bottom: ((23/100)*w)+'px'
});


$(element["fsr"]).css({
width: ((12/100)*w)+'px',
height: ((9.5/100)*w)+'px',
left: ((53/100)*w)+'px',
bottom: ((25/100)*w)+'px'
});
/*
$(element["gallery"]).css({
width: ((4/100)*w)+'px',
height: ((14.5/100)*w)+'px',
left: ((65/100)*w)+'px',
bottom: ((30/100)*w)+'px'
});
*/
//if(e.type === "resize"){
$(element["player"]).css({
width: ((77/100)*w)+'px',
Expand Down Expand Up @@ -432,6 +448,13 @@
element["content"] = document.getElementById("pronite");
element["content"].style.display = "block";
});
$("#fsr_container").click(function(e){
var that = this;
element["popupSrc"] = this;
popup(that);
element["content"] = document.getElementById("nothing");
element["content"].style.display = "block";
});
$("#games_container").click(function(e){
window.location = "http://games.festember.com/";
});
Expand Down

0 comments on commit aa9f8c6

Please sign in to comment.