WordPress.org

Ready to get started?Download WordPress

Forums

Browser Blocker
[resolved] Invalid HTML markup in default blocked screen (8 posts)

  1. Bozz
    Member
    Posted 2 years ago #

    Ironically, this code doesn't work very well in IE :) - When I view the blocked message in IE the cursor does not change as you hover over the selections.

    I think you need to use <span> instead <div> if you want to keep things compliant while using anchor tags outside of a box.

    <a href="http://www.firefox.com" title="Download Mozilla Firefox">
    		<div id="firefox" class="browser">
    				<img src="http://www.bozzmedia.com/web/wp-content/plugins/browser-blocker/images/firefox.jpg?9d7bd4" />
    				<center><h2>Mozilla Firefox</h2>
    				<p>made to make the web a better place.</p></center>
    				<img src="http://www.bozzmedia.com/web/wp-content/plugins/browser-blocker/images/download.jpg?9d7bd4">
    		</div>
    		</a>

    http://wordpress.org/extend/plugins/browser-blocker/

  2. Bozz
    Member
    Posted 2 years ago #

    I went ahead and fixed this. Span did not work properly either on IE6 or IE7, so I simply moved the link tags from outside the browser divs to *within* the browser divs.

    Here is my modified splash.php: http://pastebin.com/JBuL9XbK

    There sexier ways to do this, but I went for a quick fix type approach. Hopefully the developer will see this need and address it in the production version of the plugin.

  3. Bozz
    Member
    Posted 2 years ago #

    Thanks for the update for 3.4!

    Any word from the developers on addressing this markup issue? Almost a show stopper bug here, please consider a fix so folks can continue to upgrade.

  4. bdoga
    Member
    Plugin Author

    Posted 1 year ago #

    Bozz,

    Thanks for your feedback and patience, I have been very busy and it has taken me a while to get around to making the simple patch, but Version 0.5.5 has just been released which has included your suggested update to fix the issue with IE6.

  5. Bozz
    Member
    Posted 1 year ago #

    You rock, bdoga! Thanks for taking care of this, very much appreciated.

  6. bdoga
    Member
    Plugin Author

    Posted 1 year ago #

    No problem, thank you for taking the time to find the bug and post the suggestion. Much Appreciated!

  7. drew@drewchristopher.com
    Member
    Posted 1 year ago #

    I updated to version 0.5.5 and now Browser Block no longer works on IE?
    http://www.belindasdesigns.net

    My settings are:
    Internet Explorer Less Than 8.0
    Internet Explorer Is 9.0
    Internet Explorer Is 8.0

  8. drew@drewchristopher.com
    Member
    Posted 1 year ago #

    I figured it out! In order for Browser Blocker to block older IE programs,
    typing just 8.0 did not work. You must put the latest updated version. So I put in 8.0.6001. 18702 and this worked!(this is located in IE, under the Help Menu/About Internet Explorer.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic