indiancine.ma home screen: make byline clickable; update pad.ma home screen

This commit is contained in:
rolux 2013-02-20 01:15:37 +05:30
parent 30013931bf
commit cd4c7b62a1
2 changed files with 14 additions and 6 deletions

View file

@ -68,13 +68,13 @@ pandora.ui.home = function() {
margin: '0 auto 0 auto',
cursor: 'pointer'
})
.on({
click: function() {
.bindEvent({
anyclick: function() {
$browseButton.triggerEvent('click');
}
})
.appendTo($box),
$line = $('<img>')
$line = Ox.Element('<img>')
.attr({src: '/static/png/line.indiancinema.png'})
.css({
position: 'absolute',
@ -88,7 +88,15 @@ pandora.ui.home = function() {
})
.one({
load: function() {
$line.animate({opacity: 1}, 250);
$line.animate({opacity: 1}, 250, function() {
$line
.options({tooltip: 'Visit Pad.ma'})
.bindEvent({
anyclick: function() {
document.location.href = '/url=https://pad.ma';
}
});
});
}
})
.appendTo($box),

View file

@ -68,8 +68,8 @@ pandora.ui.home = function() {
margin: '0 auto 0 auto',
cursor: 'pointer'
})
.on({
click: function() {
.bindEvent({
anyclick: function() {
$browseButton.triggerEvent('click');
}
})