on 10-08-2015 10:19 AM
Hi Ogulcan,
If want to remove it onload, try this: JS Bin - Collaborative JavaScript Debugging
If you want to be dynamic, then try this: JS Bin - Collaborative JavaScript Debugging
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sai,
Thank you for your answer but when I create css file and paste your code it doesnt effect my project. On second link I copied the code ;
"
$('#oShell-wBar').css("display","none");
$('#oShell-paneBar').css("display","none");
$('#oShell-tp').css("display","none");
"
it doesnt work too.
What can i do please help me for this 😕
Hi Ogulcan,
It is manual Id:
$('#oShell-wBar').css("display","none");
$('#oShell-paneBar').css("display","none");
$('#oShell-tp').css("display","none");
instead of "oShell" you should use your id.
eg:
new sap.ui.ux3.Shell("MyShell");
$('#MyShell-wBar').css("display","none");
$('#MyShell-paneBar').css("display","none");
$('#MyShell-tp').css("display","none");
Thanks,
Karthik A
Thank you for everything you guys its working right now!!!!
And do you know how can i do full screen to canvas ? what is the css code for this.
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Code to make canvas occupy full page :
var canvas = document.getElementById("canvas");
/* Rresize the canvas to occupy the full page,
by getting the widow width and height and setting it to canvas*/
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
//Done! Enjoy full page canvas!
Code to make canvas element to occupy full-screen :
// Get the canvas element form the page
var canvas = document.queryselector('canvas');
function fullscreen(){
var el = document.getElementById('canvas');
if(el.webkitRequestFullScreen) {
el.webkitRequestFullScreen();
}
else {
el.mozRequestFullScreen();
}
}
canvas.addEventListener("click",fullscreen)
Hi Mr. Kumar,
Firstly thank you for answering. But I need some information about that.
Can I use this code for Shell Canvas? Actually right now my shell items are removed but my text fields and labels are still on the middle of the page. For ex:
But I want this page like this:
I think if its possible I can maximize my canvas it can be works but if there are more possiblities I can try it if you know.
Thank you for advices.
Ogulcan G.
hi,
Its just a attempt. U just inspect element, inject manual css by making display:none, check if works. if so write css script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.