B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

How to automatic fit the screen according to screen device, so looks more beautiful without scroll bar :)

Image

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

Hi..

so we need to add all image size into it

how about for device with screen size 240x320?

I did not find such size in the Launch Image page..

please advise?

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

image height does not follow device screen height..

i have setted:

  • Dimension 100%, Auto for imgLogo
    then set ClassName of imgLogo to centerImage..

    and I My CSS1 as follow:

    .centeredImage {
    display: block;
    margin: auto
    } Image Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to automatic fit the screen (splash screen)

Hello,

Could you please detail your goals? Would you like to use splash or create page with image on whole page?

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

Hello

what I want is to create a page with image on whole of page (without scroll bar) that follow the screen of device..

thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to automatic fit the screen (splash screen)

Hi,

You can use such way to set a background image: http://devcenter.appery.io/documentat...

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

Hi..

I call javascript codes below in Load event of the page.. but it does not show anything... I have stored bn_640x960.png ..

$('div[dsid="mobContainer"]').css('background-image',
'url('+Appery.getImagePath('bn_640x960.png')+')');

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to automatic fit the screen (splash screen)

Hi.. the image shown like this... what I missed?

('div[dsid="mobContainer"]').css('background-image',
'url('+Appery.getImagePath('l640x480.png')+')');

. Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to automatic fit the screen (splash screen)

Hi,

Could you please post a public link to your application and tell us a name of the page with background image?
http://devcenter.appery.io/documentat...

Return to “Issues”