
The Retirement Calculator – Monetary Calculator is a customizable and responsive net calculator designed to combine seamlessly into numerous web site platforms, together with WordPress, Squarespace, Wix, and Webflow. It’s constructed utilizing HTML, CSS, JavaScript, and jQuery. This documentation offers step-by-step directions for set up, configuration, and utilization.
Options:
- Totally customizable utilizing HTML, CSS, and JavaScript.
- Light-weight and straightforward to combine.
- Suitable with widespread web site platforms.
- 100% Responsive design for all units
Information Included:
- codesnippet.txt – Incorporates the entire HTML, CSS, and JavaScript code for the calculator.
- calculator-styles.css – Incorporates the CSS kinds for the calculator.
- calculator-script.js – Incorporates the JavaScript logic for the calculator.
- jquery.js – The jQuery library required for the calculator.
- autoNumeric.js – The autoNumeric library required for the quantity format.
- img folder – Incorporates all pictures
- index.html – A HTML file for preview the calculator.
Set up and Integration
Basic Directions
- Obtain the file, Unpack and navigate to codesnippet.txt file:
- Open the file to view the code.
- Replace picture paths (if relevant):
- Exchange any picture URLs with your individual picture hyperlinks.
- Foreign money change (if relevant):
- Change greenback signal on this variable let curr_symbol = ”$”; within the <script> part
- Open codesnippet.txt and duplicate all its contents.
- Paste the copied code into the customized code part of your web site platform. See particular platform directions under.
Platform-Particular Directions
WordPress
-
Set up a Shortcoder Plugin:
- Navigate to your WordPress dashboard.
- Go to Plugins > Add New.
- Seek for “Shortcoder” and click on Set up Now.
- Activate the plugin.
-
Create a Shortcode:
- Go to “Shortcoder” hyperlink within the left navigation menu.
- Click on on Create a New Shortcode.
- Identify your shortcode (e.g., rt_calculator).
- Paste the content material of codesnippet.txt as shortcode content material.
- Click on Save.
-
Use the Shortcode:
- Add the shortcode [sc name=”rt_calculator”] to any web page or put up.
Squarespace
-
Embed on a Web page:
- Use a Code Block in Squarespace to embed the calculator on a particular web page.
- Paste the contents of codesnippet.txt into the Code Block.
Wix
-
Open the Editor:
- Go to your Wix dashboard and open the positioning editor.
-
Add an HTML Embed:
- Drag and drop an HTML Embed block onto your web page.
- Paste the contents of codesnippet.txt into the block.
Webflow
-
Open the Designer:
- Navigate to your Webflow undertaking.
-
Embed Customized Code:
- Use an Embed ingredient to stick the contents of codesnippet.txt
-
Publish the Web site:
- Save and publish your web site to view the calculator.
Customizing Kinds
-
Modify CSS:
- The CSS part is enclosed inside <type> tags.
- Replace font sizes, colours, or format to match your web site’s theme.
-
Add Customized Fonts (Non-obligatory):
- Hyperlink your most popular font CDN within the <type> part.
JavaScript Configuration
-
Performance Tweaks:
- Replace the logic within the <script> part if further calculations or customized behaviors are required.
-
Exterior Libraries:
- Make sure the required libraries (jQuery and AutoNumeric) are linked accurately utilizing their CDN URLs.
Troubleshooting
Frequent Points
-
Calculator Not Displaying Appropriately:
- Guarantee all needed libraries (jQuery and AutoNumeric) are loaded.
- Examine for JavaScript errors within the browser console.
-
Picture Not Loading:
- Confirm the picture URL is right and accessible.
Help & Contact
In the event you encounter any points or have questions associated to the calculator, be at liberty to contact our help staff. We’re devoted to offering well timed help and guaranteeing that you’ve a seamless expertise with the calculator.
Source