How do I get the Mortgage Calc code back?

More
13 years 10 months ago #5392 by screamingfingers
How do I get the mortgage calculator back? I opened the article and then saved it to close it and it disappeared. I can't find the code anywhere in the zip file.

Thanks

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 10 months ago #5406 by milos
Please copy/paste this code. If you are using Joomla 1.6, please go to Article Manager > Options > Text Filtering and select No Filtering for Super Users.
Code:
<div style="margin: 2px; padding: 0; width: 685px;"><script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"> </script><script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"> </script><script type="text/javascript" src="http://www.mortgageloanplace.com/scripts/mortgage-calculator.pack.js"> </script><script type="text/javascript"> $(function() { $("#calculator_widget").MortgageCalculator({ mode: "normal", animate: "true", title: "", footer: "", intro: "With this calculator you can put in your values and estimate the amount of your loan and get an estimate on the amount of your monthly payments. Click on the &#39;Calculate&#39; button when you&#39;re ready.", logo: {path: "", url: ""}, fields: { principal: { enabled: "null", type: "input", desc: "The total value of the loan (in dollars)"} , interest: { enabled: "null", type: "input", desc: "The annual interest rate of the loan"} , term: { enabled: "null", type: "select", desc: "The term of the loan (in years)"} , down: { enabled: "true", type: "input", desc: "The down payment on the loan (in dollars)"} , taxes: { enabled: "true", type: "input", desc: "The annual property taxes (in dollars)"} , insurance: { enabled: "true", type: "input", desc: "The annual homeowner&#39;s insurance (in dollars)"} , pmi: { enabled: "true", type: "input", desc: "The monthly private mortgage insurance (in dollars)"} , extra: { enabled: "true", type: "input", desc: "Extra to pay to the principal per month (in dollars)"} }, defaults: { taxes: 1.5, insurance: 0.5 }, bounds: { min: { principal: 0, interest: 0, term: 15 }, max: { principal: 15000000, interest: 15, term: 40 }, step: { term: 5} }, colors: { main: { text: "#000", back: "#eef2fd", border: "#39c" }, title: { text: "#39c", back: "" }, tab: { text: "#39c", back: "#fff", border: "#39c" }, pane: { text: "#000", back: "#fff", border: "#39c" }, input: { text: "#000", back: "#fff", border: "#aaa", error: "#fcc" }, button: { text: "#fff", back: "#46a026", border: "#1f731a" }, nav: { text: "#fff", back: "#39c", border: "#39c" }, table: { text: "#000", back: "#fff", border: "#aaa" }, footer: { text: "#999", back: "" }, link: { text: "#39c" }, values: { payment: "#6a9f35", taxes: "#0584af", insurance: "#ff9300", total: "#eee", principal: "#6a9f35", extra: "#90d948", interest: "#f00", balance: "#333"} }}); }); </script><div id="calculator_widget"></div><a href="http://www.mortgageloanplace.com/home.html" style="text-decoration: none; display: block; width: 100%; text-align: center; float: left; font-family: Verdana, san-serif; font-size:7pt; color: #3399CC;" target="_blank">Home Loan Calculator</a></div>

Please Log in to join the conversation.

More
13 years 10 months ago #5435 by screamingfingers
Hi Milos,

Thanks for the code, but when I save it still disappears even after I set to no filtering. Any thoughts?

David

Please Log in to join the conversation.

More
13 years 10 months ago #5436 by screamingfingers
Milos I couldn't figure it out, so what I did was enter it in through the database. Any idea how I can add it in the future without going to the database?

Thanks,

David

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 10 months ago #5440 by milos
You must disable filtering properly and you must use NoWYSIWYG editor.

Please Log in to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum