WHANT SC8 will be ready ?

At this stage SC8 is still unprepared for mobile devices, many options do not look good.
I tested on-line App from NetMake site and it opens OK on my Samsung Galaxy phone, but when I created a simple from and tested it all looks so small (despite I configured mobile settings). Any ideas ?

Arthur

Abandon any hope =P. jking, I had to create specific css files for when the application is loaded in mobiles.

This sucks i know, but is the fastest way for you to go on until netmake takes some steps about his.

Regards

can you put some light on what you did ? perhaps some example ?

Arthur

of course:

First of all i use a class Mobile to detect if I’m in a mobile device.

OnLoad Event


$detect  = new Mobile_Detect;
$esmobil = $detect->isMobile();

if ( $esmobil )
{
	CssMobile();
}

The CSSMobile function is embeded in the code of the application and goes like this (this is just an example).


echo "	
<style>
html { font-size: 0.8em; width:99%; height:99%;}
body { height: 100%; width: 100%; } 
.sortbutton {
       background-color:#415989;
       width: 150;
       height:40;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:5px 10px 5px 10px;
	
	display:inline-block;
	text-color:#ffffff;
	font-family:Trebuchet MS;
	font-size:12px;
	font-weight:normal;
	padding:6px 18px;
	text-decoration:none;
	text-align:left;
}
form[name=F1]{
	width: 100%;
	height: 100%;
	min-width: 1024px;
	min-height: 768px;
	position: absolute;
	-webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;   
    box-sizing: border-box;
}
form[name=F1]>table{
	margin: 0 3% 0 0;
	-webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;   
    box-sizing: border-box;
	position: absolute;
	top: 40%;
	left: 50%;
	margin-left: -140px;
	margin-top: -114px;
	border-radius: 20px;
	//background: gray;
	//border: 0;
	width: 280px;
	height:50%;
	box-shadow: 0px 0px 8px 0px #101010;
	//background-image: url(".$form_bg."); 
	background: rgb(252,255,244); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(252,255,244,1) 0%, rgba(223,229,215,1) 40%, rgba(179,190,173,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,255,244,1)), color-stop(40%,rgba(223,229,215,1)), color-stop(100%,rgba(179,190,173,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 ); /* IE6-9 */

}
form[name=F1]>table td,form[name=F1]>table tr, form[name=F1]>table table, form[name=F1]>table div{
	background: transparent !important;
	border: 0 !important;
	
}

</style>

";

Long story short i used the “inspect this element” functionality in the browser to identify the class of everything i needed to change then added the css code i wanted. I know this might seem like a lot but it took me less than I expected.

Regards