jtn35
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 4.2.3 removed line breaks from annotationsThanks for the reply, Robert. Does this mean I have to wait until 4.2.4, or should I install one of the patches mentioned on the thread?
Forum: Themes and Templates
In reply to: [Sparkling] Changing header font?Can I also ask if it is possible to change the header font with this css as well?
Forum: Plugins
In reply to: [Plugin: HTML Javascript Adder] Displaying annotations in sidebarI tried these steps this morning but to no avail. Maybe someone can point out where I went wrong?
First, this script was added to the content section of the HTML Javascript Adder plugin:
<script type=”text/javascript”>
$(“a.note”).click(function() {
var alt = $(this).attr(‘alt’);
var pos = $(this).position();
$(‘#note_display’).html(alt);
$(‘#note_display’).css({
position: “absolute”,
top: pos.top + “px”
}).show();
});
</script><div id=”note_display”></div>
Then this was added to header.php:
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”></script>
Then the notes in the page itself were formatted like this:
<a class="note" alt="Sidebar text here"> Link to sidebar text here </a>The sidebar title appears but the links do nothing. Once again, any help would be much appreciated.