[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [websites/neverland/develop] themes/wordpress/neverland: make carousel switch automatically until ho
From:       Ingo Malchow <imalchow () kde ! org>
Date:       2012-07-28 15:20:56
Message-ID: 20120728152056.6A809A6094 () git ! kde ! org
[Download RAW message or body]

Git commit 29042461d8a9f98424a066bf44d7366c5f69252c by Ingo Malchow.
Committed on 28/07/2012 at 17:17.
Pushed by imalchow into branch 'develop'.

make carousel switch automatically until hover
make search box append default text when loosing focus

M  +12   -0    themes/wordpress/neverland/footer.php

http://commits.kde.org/websites/neverland/29042461d8a9f98424a066bf44d7366c5f69252c

diff --git a/themes/wordpress/neverland/footer.php b/themes/wordpress/neverland/footer.php
index e20cfb9..46b037c 100644
--- a/themes/wordpress/neverland/footer.php
+++ b/themes/wordpress/neverland/footer.php
@@ -40,7 +40,19 @@
 <script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap-collapse.js"></script>
 <script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap-carousel.js"></script>
 <script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap-neverland.js"></script>
+<script type="text/javascript">
+	$('.carousel').carousel();
+	$('.search-query').focus(function() {
+		this.value = "";
+	});
+	$('.search-query').blur(function() {
+		this.value = "Search..";
+    });
+</script>
+<!--
 
+//-->
+</script>
 <!--
 WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
 BE BLOCKED INSTANTLY AND PERMANENTLY!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic