WordPress.org

Ready to get started?Download WordPress

Forums

Digg Digg
[resolved] Print button (4 posts)

  1. jynxy
    Member
    Posted 1 year ago #

    Hi, if i enable the digg digg print button with Fancier Author Box enabled, it breaks the page and i see

    var dd_offset_from_content = 40; var dd_top_offset_from_content = 0;

    on the page.

    this is with the floating option enabled.

    anyway to fix this ?

    Thanks

    http://wordpress.org/extend/plugins/digg-digg/

  2. jynxy
    Member
    Posted 1 year ago #

    ok this is the issue.

    <span id='dd_print_text'><a href="javascript:window:print()'>print</a></span>

    should be

    <span id='dd_print_text'><a href="javascript:window:print()">print</a></span>

    now need to find now to fix it.

  3. jynxy
    Member
    Posted 1 year ago #

    ok in digg-digg.php find the following.

    function dd_get_print_service(){
    	$emailButton = "<div class='dd_button_extra_v'><div id='dd_print_button'><span id='dd_print_text'><a href='javascript:window:print()'>print</a></span></div></div><div style='clear:left'></div>";
    
    	return $emailButton;
    }

    replace with this

    function dd_get_print_service(){
    	$emailButton = "<div class='dd_button_extra_v'><div id='dd_print_button'><span id='dd_print_text'><a href=\"javascript:window:print()\">print</a></span></div></div><div style='clear:left'></div>";
    
    	return $emailButton;
    }
  4. Andrew Yates
    Member
    Plugin Author

    Posted 1 year ago #

    Will get this updated in the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.