Page 1 of 1

adding script to a page

Posted: Mon Mar 02, 2015 6:49 pm
by Anton Joubert

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


adding script to a page

Posted: Mon Mar 02, 2015 10:30 pm
by Illya Stepanov

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).

adding script to a page

Posted: Tue Mar 03, 2015 3:52 am
by Anton Joubert

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


adding script to a page

Posted: Fri Mar 06, 2015 9:29 am
by Anton Joubert

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 !!!


adding script to a page

Posted: Fri Mar 06, 2015 11:02 am
by Egor Kotov6832188

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