Code: Linking to somewhere on the page
expand instructions
My blog of many a thing in the world :: Codes (Read More Using Toggles, Categories) - Musings - Pix - Movies/YouTube - Links - BlogThis!
.dropdown {
font-family: arial;
font-size: 9px;
color: #000000;
width:120px;
background-color: #FFFFFF;
}
<script type="text/Javascript">
function togglecomments (postid) {
var whichpost = document.getElementById(postid);
if (whichpost.className=="commentshown") { whichpost.className="commenthidden"; } else { whichpost.className="commentshown"; }
} </script>
.commenthidden {display:none} .commentshown {display:inline}
<a aiotitle="click to expand" href="javascript:togglecomments('NAMEITHERE')">expand</a>
<div class="commenthidden" id="NAMEITHERE"></div>
<html>
<head>
<meta http-equiv="Refresh"
content="5;url=http://blogger.com">
</head>
<body>
<p>
Redirecting you: <a href="http://blogger.com">Blogger</a>
</p>
<p>
You will be redirected to the new address in five seconds.
</p>
<p>
If you see this message for more than 5 seconds, please click on the link above.
</p>
</body>
</html>
<MainPage>
<h2 class="sidebar-title">Recent Comments</h2>
<ul>
<Blogger>
<BlogItemCommentsEnabled>
<BlogItemComments>
<li><$BlogCommentAuthor$> @ <a href="<$BlogCommentPermalinkURL$>"><$BlogCommentDateTime$></a></li>
</BlogItemComments>
</BlogItemCommentsEnabled>
</Blogger>
</ul></MainPage>
<BlogDateHeader><h2 class="date-header"><$BlogDateHeaderDate$></h2></B<a href="<$BlogItemPermalinkUrl$>" title="permanent link">
<DateHeader><$BlogItemDateTime$></a>
<a href="<$BlogItemPermalinkUrl$>" title="permanent link"><BlogDateHeader><h2 class="date-header"><$BlogDateHeaderDate$></h2></BlogDateHeader><$BlogItemDateTime$></a>
<!--TEXT YOU WANT TO HIDE GOES HERE-->
<link rel="shortcut icon" href="FAVICON IMAGE URL" type="image/xxx-icon" />
JSOin blue letters.
pre {
text-align: left;
font-size: 1.5em;
width:100%;
border:1px solid #3366FF;
overflow:scroll;
}
<pre>Your Text Here</pre>
<a href="http://journalofasuburbanobserver.blogspot.com"><img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6882/1771/320/jso-blog.png" border="0" alt="" /></a>
<a href="http://www.flickr.com/photos/noahbulgaria"><img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6882/1771/320/my-flickr.png" border="0" alt="" /></a>
This is the code for the link>>
Change the "example" (not the "#") to a unique name.
This is the code where the link will be directed>>
<a name="example"></a>
The "example" will be changed to what ever was after the "#" in the link. In this case it would be "example", NOT #example. Place where you want the link to link.