1

I want another three more surface inside this surface how it possible please help me

This is the surface that I have created.

           var firstSurface = new Surface({
                size: [360, 480],

                properties:{
                    backgroundColor:'blue',
                    backgroundImage: "url('img/panel-item-ticks-hq.png')",
                    backgroundSize: '360px 480px',
                    backgroundRepeat: 'no-repeat'
                }

            });
MPelletier
  • 16,256
  • 15
  • 86
  • 137

1 Answers1

2

Check out the famo.us university's layout course. http://famo.us/university/famous-102/layout/1/

Surfaces can't be placed inside each other you can use a container surface which can hold other surfaces you can .add them to the base with the same position but a higher zIndex, you could create a view if one of the current ones doesn't match the pattern your looking for, or you can make an html template and set it as the content of this surface.

Keith Nicholas
  • 43,549
  • 15
  • 93
  • 156
aintnorest
  • 1,326
  • 2
  • 13
  • 20
  • I don't think it's because of the question which seems to be simple, but because of the formatage of the question. The question is in the title and the post is bad formatted. That's it. – Erowlin Jul 24 '14 at 19:29
  • 1
    Alright touche. I edited for the guy so it looks better but it's waiting for peer review. – aintnorest Jul 24 '14 at 19:31
  • and you should add the first bit of your answer as a comment (I've edited it out) to the orignal post..... and people should down vote and give a reason, specially for the noobs – Keith Nicholas Jul 24 '14 at 20:56