Results 1 to 3 of 3

Thread: "Calculating" with variables in NOF

  1. #1
    Junior Member
    Join Date
    Aug 2015
    Location
    Antwerp
    Posts
    9

    Cool "Calculating" with variables in NOF

    Other than just inserting a predefined date & time variable, I need to calculate with date variables.
    Like having to display the current year minus x years...

    No clue how to achieve that. Already tried to define a new one, but I do not see any other option than to assign a "fixed" value.

    Any trics?

    Regards, Daniel

  2. #2
    Senior Member chuckj's Avatar
    Join Date
    Jan 2010
    Location
    www.beyondfusion.com - Florida
    Posts
    1,302

    Default

    This sort of thing requires scripting. You can do math client side (in the browser) with JavaScript. The code can easily be inserted into a page in Fusion.

    Do a web search for javascript math.

    Here's something I found in a quick search that may help: http://www.htmlgoodies.com/html5/jav...id=rLVNTs-M520
    Chuck Joslin
    www.BeyondFusion.com
    PHP & MySQL development with Fusion
    Fusion support for AllWebMenus (Likno) Contact me for custom AWM menus for your sites.
    Tutorials and Forums

  3. #3
    Junior Member
    Join Date
    Aug 2015
    Location
    Antwerp
    Posts
    9

    Default

    Tnx Chuck!

    I'm going to try some...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •