why not just make the 'somepass' into a variable.
True, doing that now.
Edited:
See the bottom of this site and then click login.
Now go to the top and click the (X) on the right.
Dafuq?
What shoud happen:
I'm using jQuqery to give the container the appropiate height. It does so by taking the height of the body, then subtracting the height of the notification, header, menu, footer and login div.
However, it always thinks the login div is visible, even if it's hidden.
Any ideas on how to fix this?
Code:
$(function () {
$("footer#login").hide()
onResize()
$(window).resize(onResize)
$("header#not a img").click(function () {
var timer = setInterval(onResize, 50)
$("header#not").slideUp(500, function () {
$(this).remove()
clearInterval(timer)
onResize()
})
return false
})
$("#login").click(function () {
$("footer#login").slideDown()
return false
})
$("html").contextmenu(function (){
$("html")
.css("-webkit-transform", "rotate(180deg)")
$("#container")
.text("Don't mess with my site, bro.")
.css("-webkit-transform", "rotate(180deg)")
return false
})
})
function onResize() {
$("div#container").height($(document.body).height() -
$("header#not").outerHeight() -
$("header#header").outerHeight() -
$("nav#smenu").outerHeight() -
$("footer#footer").outerHeight() -
$("footer#login").outerHeight() -
20)
}
Edited:
On a side-note, awesome, figured out how the automerge worked!