Posted by BritneyMuller
http://ift.tt/Zv5K7g
(function($) {
// code using $ as alias to jQuery
$(function() {
// Hide the hypotext content.
$(‘.hypotext-content’).hide();
// When a hypotext link is clicked.
$(‘a.hypotext.closed’).click(function (e) {
// custom handling here
e.preventDefault();
// Create the class reference from the rel value.
var id = ‘.’ + $(this).attr(‘rel’);
// If the content is hidden, show it now.
if ( $(id).css(‘display’) == ‘none’ ) {
$(id).show(‘slow’);
if (jQuery.ui) {
// UI loaded
$(id).effect(“highlight”, {}, 1000);
}
}
// If the content is shown, hide it now.
else {
$(id).hide(‘slow’);
}
});
// If we have a hash value in the url.
if (window.location.hash) {
// If the anchor is within a hypotext block, expand it, by clicking the
// relevant link.
console.log(window.location.hash);
var anchor = $(window.location.hash);
var hypotextLink = $(‘#’ + anchor.parents(‘.hypotext-content’).attr(‘rel’));
console.log(hypotextLink);
hypotextLink.click();
// Wait until the content has expanded before jumping to anchor.
//$.delay(1000);
setTimeout(function(){
scrollToAnchor(window.location.hash);
}, 1000);
}
});
function scrollToAnchor(id) {
var anchor = $(id);
$(‘html,body’).animate({scrollTop: anchor.offset().top},’slow’);
}
})(jQuery);
.hypotext-content {
position: relative;
padding: 10px;
margin: 10px 0;
border-right: 5px solid;
}
a.hypotext {
border-bottom: 1px solid;
}
.hypotext-content .close:before {
content: “close”;
font-size: 0.7em;
margin-right: 5px;
border-bottom: 1px solid;
}
a.hypotext.close {
display: block;
position: absolute;
right: 0;
top: 0;
line-height: 1em;
border: none;
}
Many of you reading likely cut your teeth on Moz’s Beginner’s Guide to SEO. Since it was launched, it’s easily been our top-performing piece of content:
While Moz’s Beginner’s Guide to SEO still gets well over 100k views a month, the current guide itself is fairly outdated. This big update has been on my personal to-do list since I started at Moz, and we need to get it right because — let’s get real — you all deserve a bad-ass SEO 101 resource!
However, updating the guide is no easy feat. Thankfully, I have the help of my fellow Mozzers. Our content team has been a collective voice of reason, wisdom, and organization throughout this process and has kept this train on its tracks.
Despite the effort we’ve put into this already, it felt like something was missing: your input! We’re writing this guide to be a go-to resource for all of you (and everyone who follows in your footsteps), and want to make sure that we’re including everything that today’s SEOs need to know. You all have a better sense of that than anyone else.
So, in order to deliver the best possible update, I’m seeking your help.
This is similar to the way Rand did it back in 2007. And upon re-reading your many “more examples” requests, we’ve continued to integrate more examples throughout.
The plan:
- Over the next 6–8 weeks, I’ll be updating sections of the Beginner’s Guide and posting them, one by one, on the blog.
- I’ll solicit feedback from you incredible people and implement top suggestions.
- The guide will be reformatted/redesigned, and I’ll 301 all of the blog entries that will be created over the next few weeks to the final version.
- It’s going to remain 100% free to everyone — no registration required, no premium membership necessary.
To kick things off, here’s the revised outline for the Beginner’s Guide to SEO:
Click each chapter’s description to expand the section for more detail.
Chapter 1: SEO 101
What is it, and why is it important? ↓
Chapter 2: Crawlers & Indexing
First, you need to show up. ↓
Chapter 3: Keyword Research
Next, know what to say and how to say it. ↓
Chapter 4: On-Page SEO
Next, structure your message to resonate and get it published. ↓
Chapter 5: Technical SEO
Next, translate your site into Google’s language. ↓
Chapter 6: Establishing Authority
Finally, turn up the volume. ↓
Chapter 7: Measuring and Tracking SEO
Pivot based on what’s working. ↓
Appendix A: Glossary of Terms
Appendix B: List of Additional Resources
Appendix C: Contributors & Credits
What did you struggle with most when you were first learning about SEO? What would you have benefited from understanding from the get-go?
Are we missing anything? Any section you wish wouldn’t be included in the updated Beginner’s Guide? Leave your suggestions in the comments!
Thanks in advance for contributing.
Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don’t have time to hunt down but want to read!
from Moz Blog http://ift.tt/2yAr3rE
from WordPress http://ift.tt/2z23Sel
No comments:
Post a Comment