Joined: August 8th, 2008, 8:42 am

January 6th, 2017, 9:54 am #11

Because the overlay app looks for the string "http://gw2timer.com" at the beginning of the address bar before allowing JavaScript executions, changing to "https" would break functionality of the overlay. The only reason I'd change to https is if the site had logins or stored account data on a server, which it doesn't.

It's unfortunate that the embed no longer works because your site changed. I'm not familiar with how an iframe is different on https, so did you do further research on that? Maybe you could use the <object> tag instead. Another way, although drastic, is to copy and host GW2Timer (the whole website) on your own server.
Last edited by Drant on January 6th, 2017, 10:27 am, edited 1 time in total.
Quote
Like
Share

Ventuszx
Ventuszx

June 6th, 2017, 11:40 pm #12

Hello! Is there a way to just embed the "Daily Achievements" section and a server reset countdown timer? Thanks. :^^:
Quote
Share

Joined: August 8th, 2008, 8:42 am

June 7th, 2017, 12:26 am #13

Just paste the URL of the content you want into the src parameter, for example:

Code: Select all

<iframe src="http://gw2timer.com/?page=Daily&int_setClock=3&enu_Language=en" width="360" height="580" seamless="seamless" style="border: 1px solid #444; box-shadow: 0px 0px 12px #223;"></iframe>
I put in http://gw2timer.com/?page=Daily&int_set ... anguage=en as the src. The "int_setClock" is so the clock is set to hidden. The "page" is the content you want, and I set the "enu_Language" as English.

The width and height are tailored so it only shows the app panel instead of the map too; you can change the height if you want a taller window, but a longer width will show the map. Try it out on your website and tell me if you need to change anything.
Last edited by Drant on June 7th, 2017, 12:32 am, edited 2 times in total.
Quote
Like
Share

Ventuszx
Ventuszx

June 7th, 2017, 8:17 pm #14

Worked flawlessly! thank you for your time! I'm going to experiment a bit with the options! again, thank you :^^:
Quote
Share

Confirmation of reply: