44mlb Posted November 1, 2018 Share Posted November 1, 2018 Hi, I am very new to scripting and I have tried for a long time now to place the JavaScript below inside an iFrame without success. Therefore any help on how I should do this would be very much appreciated. <script type="text/javascript"> var tt_bgnd = '#fff999'; var tt_width = '100%'; var tt_corner = '0px'; </script> <script src="https://www.tidetimes.org.uk/broadstairs-tide-times.js" type="text/javascript"></script> Link to comment Share on other sites More sharing options...
justsomeguy Posted November 1, 2018 Share Posted November 1, 2018 Save that Javascript code in an HTML file, and set the HTML file as the src of the iframe. Link to comment Share on other sites More sharing options...
44mlb Posted November 2, 2018 Author Share Posted November 2, 2018 Many thanks justsomeguy. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now