Giter Club home page Giter Club logo

Comments (15)

ftk789 avatar ftk789 commented on August 25, 2024

Did you link the css file in the HTML?

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

Did you link the css file in the HTML?

Yes I do I had testing it with link and with inner <style> tag. steal not working (

from androidjs.

ftk789 avatar ftk789 commented on August 25, 2024

Can you show me your code? Because it clearly works for me.

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024
<style>

body{ background: #420000; }
#R { background-color: #00ff00; }
.target { background-color: #b4178d; }
.tainer {background-color: #174eb4;}

#grd{
display: grid;
position: absolute;
width: 100%;
height: 100%;
grid-template-rows: 25px repeat(6,6fr) 25px ;
grid-template-columns: 25px repeat(5,5fr) 25px ;
}
</style>

<div id="grd">
	<div class="target" style="grid-area: 3 / 4;" name="trg 3 / 4"></div>
	<div class="tainer" style="grid-area: 4 / 4;" name="4 / 4"></div>
	<div id="R" style="grid-area: 6 / 4;" name="6 / 4"></div>
</div>

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

i am using android 5.0.2

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

full code
https://github.com/Giftykik/androidjs_troubles/blob/main/grid

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

i dont even need server part i need only client part

from androidjs.

ftk789 avatar ftk789 commented on August 25, 2024

image
It works perfectly fine! Unless I'm miss understanding you.

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

yes... but on my device i got only background... wtf.. my android 5.0.2

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

image It works perfectly fine! Unless I'm miss understanding you.

but this emulator, what if you test it on real device?

from androidjs.

ftk789 avatar ftk789 commented on August 25, 2024

image It works perfectly fine! Unless I'm miss understanding you.

but this emulator, what if you test it on real device?

Same results, I think the issue here is something else, See if probably your main.js has anything in it, And see if there's wrong files in wrong places.

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

I just copy index.html in views dir and do not change main.js
do i have to wright something in main.js?

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

i was trying even delete main.js and the same result (

from androidjs.

ftk789 avatar ftk789 commented on August 25, 2024

i was trying even delete main.js and the same result (

I'll give you somethign that might help, There's a repo that has sample apps, Get one of them and copy and paste your stuff there, Should work.

from androidjs.

Giftykik avatar Giftykik commented on August 25, 2024

Thank you very much! How i can get it?

I think its SDK version trouble cos other phone work normaly, only my Android 5.0.2 do not. May be it is too old...

from androidjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.