10 Responses to “One Tip And One Plugin To Retain Your Readers.”

Comments

Read below or add a comment...

  1. Hmm, I hate new windows actually. So, I guess it’s personal preference.

  2. Glad you like it.. I’m almost finished with another update. BTW, the version available for download currently includes a default 404.php page, and it will install it automatically if you don’t already have one in your template folder.

  3. Opening a new browser window is something that some people like and some people hate with little middle ground.

    Since I use either IE7 with IE7Pro or Firefox 2.0 I set them to open new windows in a new tab instead. I also usually just scroll wheel click links to open them in a new tab anyway.

  4. Using target=”_blank” is considered a bad practice, because it can confuse readers who aren’t expecting a new window to open. Also, they can’t simply hit their browser’s back button to get back to your site, they have to close the window. Which is awkward. See:
    http://weblogs.macromedia.com/cantrell/archives/2003/11/target__blank_a_1.cfm
    http://www.useit.com/alertbox/990530.html
    http://weblogs.macromedia.com/cantrell/archives/2003/11/target__blank_a.cfm

  5. The reason why people or at least myself do not open new windows is because of the standards. Target=”_blank” does not validate your site as XHTML Strict 1.0, a base I want my site to be adhering to.


  6. Micheal,

    Thanks for the info. Guess i was to used to right click the links I see to have it “open in a new tab” that I did not consider the other “consequences” :-)
    But for me, I still open all the links I see in a new tab because I always get carried away while browsing the new page that I usually forget to go back to the originating page. In fact I set my Firefox to “open all new links in a new tab” so I can easily switchback and forth.

    Anyway, that was great info and I will consider twice before inserting the target=”_blank” in future postings. Thanks.

    Frank C,

    LOL, we have the same habit!

    Darran,

    Wo, I did not go that deep to consider that aspect. Anyway, I think the moment we start posting many things already happened to screw up validation. From what I understand, flash videos like those from YouTube is also a big culprit.

    It would really be stressful to post if I was to keep to those strict rules. :-)

  7. It is true that the youtube embed code doesn’t actually validate as XHTML 1.0 Strict, and you would have to make some modifications to the code if you want it to work. I am posting on a regular basis and yet keeping to the rules which is so important nowadays.

  8. Ctrl click, middle click, or ctrl-middle click

    browsing should be in the hands of the user, not the webmaster

  9. I spent several years obsessing over mastering best-practice CSS and XHTML strict 1 and strict unobtrusive javascript and I still remember when I found out 1 trick that has kept my code XHTML Strict while still being able to do almost anything I want no matter how invalid. The trick is to start out with 100% valid markup and then when you want to add some invalid code like adding a flash movie or adding target=”blank” or whatever, you just make it happen through a single external javascript file.

    I’m assuming that of course you have firebug running on firefox, and at the very least you have the web developer tools for firefox. Go ahead and disable javascript in your browser and check out a page on my site like: Custom boot menu in WinXP.. even though the code is crazy, its valid XHTML strict because anything that would break that I automatically stick in my javascript file.

    Costa, the issue of a validating method of opening new windows for external links is very very old. So you are in luck if you still want to have that capability.. Surf over to sitepoint.com and check out their javascript source code for a really nice standards compliant javascript way to do this.

    BTW, I read just the other day on google that search engines notice when links are opening up new windows and for whatever reason they might penalize your site for it as they say their is no good truly good reason to do that.

  10. A hint to get youtube fully compliant, instead of putting the html youtube code directly into your post, put an empty div in its place instead. Give the div an id=”whatev” and then in your external javascript file do document.getElementById(‘whatev’).innerHTML=’youtube html’;

    that will make your site validate no matter what you add, because javascript is a client side technology, not server!