Skip to content

Commit

Permalink
Fix nav - moved style sheet to top row
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraShopsin committed May 29, 2012
1 parent c255afd commit 76281ba
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 23 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function kubrick_theme_page() {
if ( ! function_exists( 'myCustomTinyMCE') ) :
function myCustomTinyMCE($init) {
$init['theme_advanced_disable'] = 'outdent, indent, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, outdent, indent, fontselect, fontsizeselect, forecolor, backcolor, forecolorpicker, backcolorpicker, formatselect'; // Removes the undesired buttons
$init['theme_advanced_buttons2_add_before'] = 'styleselect'; // Adds the buttons at the begining. (theme_advanced_buttons2_add adds them at the end)
$init['theme_advanced_buttons1_add_before'] = 'styleselect'; // Adds the buttons at the begining. (theme_advanced_buttons2_add adds them at the end)
$init['theme_advanced_styles'] = 'Big=b, Small=s, Mini=mini';
$init['content_css'] = get_template_directory_uri().'/mycustomstyles.css';
return $init;
Expand Down
6 changes: 2 additions & 4 deletions guidepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@
<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<div class="navigation">

<div class="alignleft">
<?php previous_link(); ?>
</div>
<div class="alignright">

<?php next_link(); ?>
</div>


</div>

Expand Down
6 changes: 0 additions & 6 deletions home.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@
<div class="navigation">


<div class="alignright">

<?php next_link(); ?>
<?php next_link(); ?>
</div>



</div>

Expand Down
2 changes: 1 addition & 1 deletion homeoccsplash.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

get_header(); ?>
<div id="header3">
<a href="http://opencounter.org">
<a href="<?php echo get_settings('home'); ?>">
<canvas id="clockcanvas" width="50" height="50"></canvas>
</a>

Expand Down
8 changes: 4 additions & 4 deletions map.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ function checkForEnter(e){
<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<div class="navigation">

<div class="alignleft">

<?php previous_link(); ?>
</div>
<div class="alignright">


<?php next_link(); ?>
</div>


</div>

Expand Down
7 changes: 3 additions & 4 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@

<div class="navigation">

<div class="alignleft">

<?php previous_link(); ?>
</div>
<div class="alignright">

<?php next_link(); ?>
</div>


</div>

Expand Down
8 changes: 6 additions & 2 deletions scripts/magic-arrows.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,14 @@ jQuery(document).ready(function(){
jQuery(document.body).bind("keyup", function(event){
console.log(event);
if(event.which == 37){ // Left arrow key
window.location = jQuery( ".alignleft" ).children()[0].href;
if(jQuery( ".alignleft" ).children()[0].href){
window.location = jQuery( ".alignleft" ).children()[0].href;
}
}
else if(event.which == 39){ // Right arrow key
window.location = jQuery( ".alignright" ).children()[0].href;
if(jQuery( ".alignright" ).children()[0].href){
window.location = jQuery( ".alignright" ).children()[0].href;
}
}
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/thinbox2.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ var ThinBox = {
} else if(href=='') {
return false;
} else {
var thinboxContent = $("<div class='betabox'><div class='betabox2'>BETA WARNING<input type='button' value='X' onclick='ThinBox.remove()' class='betax'/></div><br/><div class='betabox3'>Welcome to Open Counter, a site built for the <a href='http://www.cityofsantacruz.com/' target='_blank'>City of Santa Cruz</a> by <a href='http://codeforamerica.org/' target='_blank'>Code for America</a>.</br></br>PLEASE NOTE:</br></br>This is an experimental/beta version of the site. It may contain inaccuracies!!</br></br>Your suggestions will help make this site better, so if you have any comments please share them on any page by clicking the thumb icon in the upper left corner.</div></div>");
var thinboxContent = $("<div class='betabox'><div class='betabox2'>BETA WARNING<input type='button' value='X' onclick='ThinBox.remove()' class='betax'/></div><br/><div class='betabox3'>Welcome to Open Counter, a site built for the <a href='http://www.cityofsantacruz.com/' target='_blank'>City of Santa Cruz</a> by <a href='http://codeforamerica.org/' target='_blank'>Code for America</a>.</br></br>PLEASE NOTE:</br></br>This is an experimental/beta version of the site. It may contain inaccuracies!!</br></br>Your suggestions will help make this site better, so if you have any comments please share them on any page by clicking the speech bubble icon in the upper left corner.</div></div>");
//thinboxContent.attr("src",href);
var inIframe = true;
}
Expand Down

0 comments on commit 76281ba

Please sign in to comment.