• mc64

    (@mc64)


    Hi again,

    thanks for making it responsive, but sadly it doesn’t work in my case an it breaks my position. In the last version (5.1) I just added style=”width:50%;” to the canvas div (line 129 in 3D.WP.Tag.Cloud.S.php) which worked perfectly.

    Another thing is that the cloud uses 100% of one core while open, is it expected?

    Thanks again for your effort

    Michele

    https://ww.wp.xz.cn/plugins/my-wp-tagcanvas/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hityr5yr

    (@hityr5yr)

    Hi mc64,

    thanks for making it responsive, but sadly it doesn’t work in my case an it breaks my position. In the last version (5.1) I just added style=”width:50%;” to the canvas div (line 129 in 3D.WP.Tag.Cloud.S.php) which worked perfectly.

    Could you please explain your case in details? Meanwhile you can open js/s.functions.js and look at lines 9-11. This is the place where canvas size of mobile devices is determined. You can change things in a way that suits you.

    Another thing is that the cloud uses 100% of one core while open, is it expected?

    Sorry, I did not get you. May be because here is 3 in the morning. 🙂 Once again?

    Thread Starter mc64

    (@mc64)

    Hi and thanks for your quick replies!

    I used the div from 3D.WP.Tag.Cloud.S.php version 5.1 line 128
    <canvas title="<?php if($tooltip != ''){ echo $canvas_tooltip;} ?>" id="tag_canvas_<?= $inst_id; ?>" width="<?= $width;?>" height="<?= $height;?>"></canvas>
    and added style="width:50%;"
    and replaced s.functions with version 5.1

    when I revert the changes and use the original version 5.2.1 the canvas does not change.

    The cpu load was a browser issue, sorry.
    btw I like to work late too

    thanks again!

    Thread Starter mc64

    (@mc64)

    and if you’re interested: the site is
    pyar.de

    Plugin Author hityr5yr

    (@hityr5yr)

    Hi,

    I was quite busy these days and could not answer on time. I’ll look at your site later. If I understand you, there in no problem here. If so, may I mark the case resolved?

    Regards,

    Peter

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Responsive canvas’ is closed to new replies.