Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kevin heath

    (@ypraise)

    ok did a bit of hacking and came up with this.

    The infoboc is set to adjust depending on the length of the tweets hence the box being too big for the map on occassions.

    I set a fixed size for box dislay by setting an inline paragraph style at line 386 –

    $htmlText = '<p style="width:300px;margin-top:-20px;padding:5 5 5 5;">' . $htmlText . '</p>';

    That’s in tweet-map.php file of course.

    I also wanted the tweet text to float around the image so in the same file on line 390 I dumped the line break css style of clear both to just have the stand br /

    Looks a bit better now as you can see at https://www.lovebreconbeacons.co.uk

    If you use this method don’t forget that you will have to rebuild your tweet image map. I did this by setting tweeets to show at 1 and then resynicing. After that I set it back to 20 a resythniced again.

    OK you’re stuck with one image that is still stlyed the old way but that should drop out soon enough.
    thanks
    Kevin

    Plugin Author peter2322

    (@peter2322)

    hi kevin,

    thanks for the info. I will try and get an update out this week to fix yfrog and i ll take a look at the infowindow.

    -peter

    Plugin Author peter2322

    (@peter2322)

    hi kevin,

    I have fixed the yfrog and the infowindow size issue.

    please give it a try and let me know.

    thanks for using the plugin!

    Thread Starter kevin heath

    (@ypraise)

    Hi Peter

    Looks like the infobox window is sorted now thanks.

    I’ll do a check on the yfrog over the weekend.

    Thanks.
    kevin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Tweet Map] works but infowidonw too large’ is closed to new replies.