Support » Plugin: Ajaxize » Help with javascript?

  • Resolved arhyarion

    (@arhyarion)


    Hi,

    I successfully installed Ajaxize, pasted a function and got a div – and it works. Woohoo!

    Two things I’d like to do with the value I’m getting though.

    1. I’d like it to refresh every 30 seconds.

    2. The function outputs price per gram. I need to output price per Troy ounce. So the value that is being output needs to be multiplied by 31.10.

    In the FAQ there was a mention of a Javascript being able to achieve this. I just need some help. Thanks.

    https://wordpress.org/plugins/ajaxize/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    Hi arhyarion,

    I successfully installed Ajaxize, pasted a function and got a div – and it works. Woohoo!

    Happy to hear!

    1. I’d like it to refresh every 30 seconds.

    Take a look at the FAQ https://wordpress.org/plugins/ajaxize/faq/

    2. The function outputs price per gram. I need to output price per Troy ounce. So the value that is being output needs to be multiplied by 31.10.

    Unfortunately this goes beyond the basic functionality of Ajaxize or the level of support I am able to offer.

    Good luck using Ajaxize.

    Cheers,
    Yoav

    Follow up regarding the Javascript in your FAQ:

    Are these modifications that would be made to the ajaxize_this.js code? Or would this be a new javascript entirely?

    Plugin Author yoav.aner

    (@yoavaner)

    New javascript. You shouldn’t need to change the plugin js code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with javascript?’ is closed to new replies.