Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

adding script to a page

Hi I would like to add the following script to a page in my app

How do I do this?

The script is to render a mini live shared calendar.

Please help Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

adding script to a page

Hi Anton -

In Appery.io it is better to do it using JavaScript asset:

  1. In your project click 'Create New';
  2. Choose 'JavaScript';
  3. Add paste the context of needed JS script (without the script tags).
Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

adding script to a page

Hi IIIya thank you . I want the scrip to display as an

I followed the following steps according to comments on the forum, but there is some glitch.

1) I created a page EVENTS
2) In the events page I added a HTML frame and resized it to the size I wanted. Image

3) I then went onto the page and added the following eventfunction to the page.
Image

4) I want the EVENTS page to load the script if I click on the item EVENTS on the startscreen.
Image

5) I now click on EVENTS CALENDAR and get the following.

Image

I don't know if my workorder make sence. ( Maybe it is in step 3 that I make a mistake)

I want to load the following calendar to display

Image

Image

Thank you so much for trying to assist me.

Anton

Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

adding script to a page

Do you ever follow up on the replies.

I find the back up service of Appery to be really BAD !!!

I have been waiting for three days now ... no reply?

Come on !!!

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

adding script to a page

Hello Anton.
Sorry for the delay.
1) add src attribute to your iframe
2) set src to url which you have in the show page event
3) remove page show event

Return to “Issues”