Coding standard fixes. Routes: Error page override works now. Welcome controller: Return false where needed. Header-view: lnk-helper function to help highlight current page matching links. ecards-helper: lnk() and checkboxes(), needs commenting. new-view: values for javascript, Image name for dropdown. style.css: better colours, footer links not so prominent, helper classes, moved cursor: move from users without javascript. scripts.js: documentation.

This commit is contained in:
Ismo Vuorinen
2013-07-16 18:42:36 +03:00
parent 4bb689166d
commit adaca5b8b2
9 changed files with 211 additions and 115 deletions

View File

@@ -45,7 +45,6 @@ jQuery(document).ready(function($) {
$('div#message_text_preview').text(message_text_preview_text);
});
// Sizing and placement of preview elements
$('#message_title_preview, #message_text_preview')
.draggable({
@@ -80,11 +79,11 @@ jQuery(document).ready(function($) {
}
});
// Set panel height on initiation
$('#previewpanel').height( $('#previewimage').height() );
setElementPlaces();
checkSizesTimer();
setElementPlaces(); // Populate our image place fields
checkSizesTimer(); // If we change window size, make everything adjust
/**
* checkSizesTimer changes inputs