|
Post by tonyimbruglia on Mar 31, 2020 3:33:42 GMT
Hi everyone, It's been ages since I've been on here. I haven't needed anyone's help for a while BUT here I am again! I have been given some Javascript and instructions for installing in WordPress (Ahhgg!) but of course, I want to add it to my Antenna Website. I have saved the script as a text file with a .js extension and it is attached. mi.js (14.53 KB). I was then also given this in the email I received -
Your Website Details www.mymps.com.auPrimary Code <script src="https://www.financemi.com.au/wp-content/plugins/pipedrive-integration-custom/assets/js/frontend-script.js"> </script> Page I-Frame Code <div id="third-party-form" data-id="kiv18mc" ></div>
They want me to put it in an iFrame but would prefer a pop-up box but whatever is easier will do. Can someone please tell me where I put things?
|
|
|
Post by J on Mar 31, 2020 15:43:07 GMT
Hi Tony,
Best thing to do is experiment in a new empty project first, before adding it to your actual project.
There's no mention of mi.js in the email - Is it the same as frontend-script.js?
As a first attempt, you could add a Visual HTML object to the page. Set its Head code to the script line: <script src="https://www.financemi.com.au/wp-content/plugins/pipedrive-integration-custom/assets/js/frontend-script.js"> </script>
...and its Body code to: <div id="third-party-form" data-id="kiv18mc" ></div>
Then Preview in your browser to see what happens. Worth a try?
Cheers, J
|
|
|
Post by tonyimbruglia on Mar 31, 2020 23:47:52 GMT
|
|
|
Post by J on Apr 1, 2020 16:07:52 GMT
Excellent - glad it's working OK!
Cheers, J
|
|
|
Post by tonyimbruglia on Apr 7, 2020 6:18:32 GMT
Hi again J, I'm still working on my project (and I have also been writing the Mobile responsive version as well with success). I have once again received som code from a third party site as I wanted to use an Image Scroller on the bottom of the desktop version. The attached ZIP file has the Images I am using which are Lender Logos. A javascript file and the HTML code. I have tried to copy and paste the code into a Visual HTML object using the <Head> and <Body> text that is in the HTML file and have copied the .js file into the root directory of the project. The images reside in a folder called "img". It won't work. Can you please have a look and let me know what I am doing wrong. I have also tried to upload the Antenna .ata Project file but it's too big. The site is being developed and can be viewed at www.mymps.com.au/1300(If you're interested also have a look at the mobile version on your phone at the same address). Thank you so far for your help. I look forward to your reply.
|
|
|
Post by J on Apr 7, 2020 15:07:17 GMT
Hi Tony,
I'll take a look when I have a moment - leave it with me.
Cheers, J
|
|
|
Post by tonyimbruglia on Apr 8, 2020 5:54:22 GMT
Thanks J, I would really appreciate it.
|
|
|
Post by tonyimbruglia on Apr 10, 2020 8:37:29 GMT
Hi J,
Any progress on this issue J? I want to go live soon.
|
|
|
Post by J on Apr 10, 2020 16:35:21 GMT
Hi Tony, Yes - good news is it seems to work. I've attached an Antenna project file below, with a Visual HTML object on the index page. If you preview in your browser you should see the images slide past. Any joy? Cheers, J slide-test.ata (356.26 KB)
|
|
|
Post by tonyimbruglia on Apr 10, 2020 17:23:48 GMT
Perfect once again J. I promise I won't bug you any further. Any other issues I'll post to the main board.
It works on the mobile too but I think I'm gonna have to adjust the image sizes as it displays very small.
Thanks Heaps Tony
|
|