changing routing mechanism
This commit is contained in:
+7
-3
@@ -91,16 +91,20 @@
|
||||
margin: 2em;
|
||||
padding: .5em 3em;
|
||||
font-size: 2em;
|
||||
color: white;
|
||||
color: white !important;
|
||||
border: 3px solid white;
|
||||
cursor: pointer;
|
||||
transition: 0.7s;
|
||||
-webkit-transition: 0.7s;
|
||||
z-index: 2;
|
||||
display: block;
|
||||
z-index: 3;
|
||||
}
|
||||
#readBlog > p {
|
||||
margin: 0;
|
||||
}
|
||||
#readBlog:hover {
|
||||
background-color: white;
|
||||
color: black;
|
||||
color: black !important;
|
||||
box-shadow: inset 0 0 0 1px #ffffff;
|
||||
}
|
||||
|
||||
|
||||
+13
-15
@@ -42,24 +42,22 @@
|
||||
side: 'right'
|
||||
});
|
||||
|
||||
$('#blog').load('blog.html');
|
||||
|
||||
$('#readBlog').on("click", function() {
|
||||
window.location = "http://arjunpatel.me/blog.html";
|
||||
});
|
||||
|
||||
$('.readMore').on("click", function() {
|
||||
var whichBlog = $(this).attr('id');
|
||||
console.log("Loading vlog: " + whichBlog);
|
||||
window.location = "http://arjunpatel.me/blogs/" + whichBlog + ".html";
|
||||
});
|
||||
|
||||
$('#goToMain').on("click", function() {
|
||||
window.location = "http://arjunpatel.me/index.html";
|
||||
});
|
||||
|
||||
$('#goToBlogs').on("click", function() {
|
||||
window.location = "http://arjunpatel.me/blog.html";
|
||||
});
|
||||
// $('.readMore').on("click", function() {
|
||||
// var whichBlog = $(this).attr('id');
|
||||
// console.log("Loading vlog: " + whichBlog);
|
||||
// window.location = "http://arjunpatel.me/blogs/" + whichBlog + ".html";
|
||||
// });
|
||||
//
|
||||
// $('#goToMain').on("click", function() {
|
||||
// window.location = "http://arjunpatel.me/index.html";
|
||||
// });
|
||||
//
|
||||
// $('#goToBlogs').on("click", function() {
|
||||
// window.location = "http://arjunpatel.me/blog.html";
|
||||
// });
|
||||
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user