Announcement

Collapse
No announcement yet.

embed google calendar in blank application

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • embed google calendar in blank application

    How would I go about to embed a google calendar into a blank application?

    I have the Iframe code for the cal:

    <iframe src="https://www.google.com/calendar/embed?src=thedomain.com_5i0md0mja7d9mpjo0iv5atq6sk %40group.calendar.google.com&ctz=Africa/Johannesburg" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

    My guess is that you would have to "echo" it, but I am not sure if that is the right way.

    Also what will have to be done with the " 's (double quotes) in the string?

    Thanks
    Last edited by Steph; 09-07-2015, 09:26 AM.

  • #2
    You have to echo it yes. If you enclose it between singlenquote, you dont have to do anything, if you do it between double quotes, then your inner double quotes must be escaped with \
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      it works perfectly thanks:

      echo '<iframe src="https://www.google.com/calendar/embed?src=thedomain.com_5i0md0mja7d9mpjo0iv5atq6sk %40group.calendar.google.com&ctz=Africa/Johannesburg" style="border: 0" width="380" height="300" frameborder="1" scrolling="no"></iframe>';

      Comment

      Working...
      X