WordPress.org

Ready to get started?Download WordPress

Forums

Tilt Social Share Widget
New window sized (1 post)

  1. leethompson
    Member
    Posted 1 year ago #

    Thank you for a perfect plugin, I did make one change to open the windows in a smaller window.
    Around line 333 i changed it to

    echo('<a href="' . $this->processUrl($this->services[$element]['url'], $homeTitle, $homeDescription, $homeURL) . '"onclick="window.open(this.href,\'targetWindow\',\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=600,height=600\'); return false;" ><span class="tssw-icon tssw-' . $this->services[$element]['slug'] . '"></span><span class="tssw-tooltip">' . $this->services[$element]['label'] . '</span></a>');

    and on line 343 I change it to
    echo('processUrl($service['url'], $homeTitle, $homeDescription, $homeURL) . '"onclick="window.open(this.href,\'targetWindow\',\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=600,height=600\'); return false;"><span class="tssw-icon tssw-' . $service['slug'] . '"></span><span class="tssw-tooltip">' . $service['label'] . '</span>');`

    Thanks again for a great plugin

    Lee
    `

    http://wordpress.org/extend/plugins/tilt-social-share-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic