• Resolved raptdimitris

    (@raptdimitris)


    Hi,

    I have an issue on resize. When the resize the window the height of the root element with class .rotatingtweets doesn’t recalculate the height. So for example when I resize from desktop to tablet and vice versa I end up with a very long gutter underneath the feed. How can a call a refresh function on resize?
    And one more thing, I saw lots on console.log messages:
    self_width = 513
    rotating_tweet.js?ver=1.9:45 parent_width = 550
    rotating_tweet.js?ver=1.9:46 grandparent_width = 1100
    rotating_tweet.js?ver=1.9:47 rt_target_container_width = 518
    rotating_tweet.js?ver=1.9:48 rt_target_width = 513
    rotating_tweet.js?ver=1.9:49 rotate_timeout = 5000
    rotating_tweet.js?ver=1.9:50 rotate_speed = 1000
    rotating_tweet.js?ver=1.9:51 rotate_fx = fade
    rotating_tweet.js?ver=1.9:52 rotate_pager = undefined
    rotating_tweet.js?ver=1.9:53 rotate_pager_template = undefined
    rotating_tweet.js?ver=1.9:86 Object {pause: 1, height: “auto”, timeout: 5000, cleartypeNoBg: true, width: 513…}
    rotating_tweet.js?ver=1.9:93 Initial height: 136
    rotating_tweet.js?ver=1.9:127 Adjusting widths for ‘Official Twitter Version 2’
    rotating_tweet.js?ver=1.9:128 – Width of Rotating Tweets container: 513
    rotating_tweet.js?ver=1.9:129 – Width of the icon container: 0
    rotating_tweet.js?ver=1.9:139 – Width of the icon: 0
    rotating_tweet.js?ver=1.9:152 Now check for ‘padding-left’
    rotating_tweet.js?ver=1.9:153 – leftpadding – text : 58px and value: 58
    rotating_tweet.js?ver=1.9:159 – Padding is not undefined
    rotating_tweet.js?ver=1.9:165 – rt_max_width: 454
    rotating_tweet.js?ver=1.9:187 == Window Resize Detected ==

    Who do I deactivate those and there are some comments on the html as well:
    <!– option[ladol_freezone00] exists –><!– option[ladol_freezone00][‘json’][0] is an array – 476 seconds since last load –>
    <!– Using OAuth – version 1.1 of API – statuses/user_timeline –>

    <!– Verifying SSL peer –>

    <!– Setting timeout to 3 seconds –>
    <!– wp_remote_request() variables in lib/wp_twitteroauth.php:

    $args = Array
    (
    [method] => GET
    [timeout] => 3
    [sslverify] => 1
    )

    –>
    <!– wp_remote_request() in lib/wp_twitteroauth.php successfully completed in 3.0113 seconds –>
    <!– Error message from WordPress – cURL error 6: name lookup timed out –><!– Transient rt-sc-f58d5448d53ed58dcf9001bfd5fb457a stored for 120 seconds –>

    Do those comments need to be there? How can I remove them??
    I look forward to hearing from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • For the resizing, go to the Rotating Tweets settings page and try switching the version of JavaScript to version 2 from version 1.

    If you’ve got WordPress debugging switched on (details here), then Rotating Tweets gives you lots of debugging messages. If it’s not, it doesn’t.

    Just make sure the following line is correctly set in your wp-config.php file and the messages should go away:

    
    define( 'WP_DEBUG', false );
    
    • This reply was modified 7 years, 8 months ago by Martin Tod.
    • This reply was modified 7 years, 8 months ago by Martin Tod.
    Thread Starter raptdimitris

    (@raptdimitris)

    Thank you for your quick response. Unfortunately changing the jQuery’s version from 1 to 2 or even 3 didn’t change anything and I still had the same resize issue. Is there anything else we could do to solve this?

    Thread Starter raptdimitris

    (@raptdimitris)

    mb It has been solved. I will mark this ticket as completed. Thank you for your assistance

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HIght of .rotatingtweets on resize’ is closed to new replies.