HIght of .rotatingtweets on resize
-
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.
- The topic ‘HIght of .rotatingtweets on resize’ is closed to new replies.