diff options
author | friendica <info@friendica.com> | 2012-01-06 03:59:05 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-06 03:59:05 -0800 |
commit | 41bb47ca1b5790442e571d5eb3bbb4dd89708a03 (patch) | |
tree | 890c3209bed4b0df75a225ba551b752ff3e277b2 /view/theme/testbubble | |
parent | a69ecb341371cf0a1c2847ff19abd88f362021c9 (diff) | |
download | volse-hubzilla-41bb47ca1b5790442e571d5eb3bbb4dd89708a03.tar.gz volse-hubzilla-41bb47ca1b5790442e571d5eb3bbb4dd89708a03.tar.bz2 volse-hubzilla-41bb47ca1b5790442e571d5eb3bbb4dd89708a03.zip |
title fixups
Diffstat (limited to 'view/theme/testbubble')
-rw-r--r-- | view/theme/testbubble/jot-header.tpl | 26 | ||||
-rw-r--r-- | view/theme/testbubble/jot.tpl | 7 | ||||
-rw-r--r-- | view/theme/testbubble/style.css | 24 |
3 files changed, 15 insertions, 42 deletions
diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl index 7b2dca9fe..18f07970c 100644 --- a/view/theme/testbubble/jot-header.tpl +++ b/view/theme/testbubble/jot-header.tpl @@ -8,7 +8,6 @@ var textlen = 0; function initEditor(cb) { if (editor==false) { $("#profile-jot-text-loading").show(); - $("#jot-title-desc").show(); tinyMCE.init({ theme : "advanced", mode : "specific_textareas", @@ -85,6 +84,7 @@ function initEditor(cb) { ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; $("#profile-jot-text-loading").hide(); + $(".jothidden").show(); $("#profile-jot-submit-wrapper").show(); {{ if $newpost }} $("#profile-upload-wrapper").show(); @@ -125,30 +125,6 @@ function initEditor(cb) { }); - $("#jot-title").mouseout(function() { - $("#jot-title").hide(); - var ttl = $("#jot-title").val(); - $('#jot-title-display').html(ttl); - if(ttl.length) { - $("#jot-title-display").show(); - } - else { - $("#jot-title-desc").show(); - } - }); - - $("#jot-title-display").hover(function() { - $("#jot-title-display").hide(); - $("#jot-title").show(); - $("#jot-title").focus(); - }); - - $("#jot-title-desc").click(function() { - $("#jot-title-desc").hide(); - $("#jot-title").show(); - $("#jot-title").focus(); - }); - var uploader = new window.AjaxUpload( 'wall-image-upload', { action: 'wall_upload/$nickname', diff --git a/view/theme/testbubble/jot.tpl b/view/theme/testbubble/jot.tpl index fa655a13e..feffea9d8 100644 --- a/view/theme/testbubble/jot.tpl +++ b/view/theme/testbubble/jot.tpl @@ -16,12 +16,7 @@ <input type="hidden" name="coord" id="jot-coord" value="" /> <input type="hidden" name="post_id" value="$post_id" /> <input type="hidden" name="preview" id="jot-preview" value="0" /> - - <div id="jot-title-wrapper"> - <span id="jot-title-desc" style="display: none;">$addtitle</span> - <span id="jot-title-display" style="display: none;"></span> - <input type="text" name="title" id="jot-title" value="" style="display: none;" /> - </div> + <input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"> <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea> diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css index 28fb0ae45..a17d702c1 100644 --- a/view/theme/testbubble/style.css +++ b/view/theme/testbubble/style.css @@ -761,21 +761,23 @@ ul .sidebar-group-li .icon{ #profile-jot-submit-wrapper { } -#jot-title-desc { - color: #cccccc; -} - -#jot-title-wrapper { - margin-bottom: 5px; -} #jot-title { - border: 1px solid #cccccc; - width: 460px; + border: 0px; + margin: 0px; + height: 20px; + width: 462px; + font-weight: bold; + border: 1px solid #ffffff; } -#jot-title-display { - font-weight: bold; +#jot-title::-webkit-input-placeholder{font-weight: normal;} +#jot-title:-moz-placeholder{font-weight: normal;} + + +#jot-title:hover, +#jot-title:focus { + border: 1px solid #cccccc; } #profile-jot-perms, #profile-jot-submit { |