๐Ÿ”’ Closed ๐šŒ๐š•๐š˜๐šœ๐šŽ

Status
Not open for further replies.
Why is your site eating too much RAM? Did you run a load test? Try running it with You do not have permission to view the full content of this post. Log in or register now. or with Google's Lighthouse/PageSpeed Insights.

Did you try width: 30%? Why isn't it working?
 
Why is your site eating too much RAM? Did you run a load test? Try running it with You do not have permission to view the full content of this post. Log in or register now. or with Google's Lighthouse/PageSpeed Insights.

Did you try width: 30%? Why isn't it working?
no sir, imean yung pinaka web page ng school namen is malake kumain ng ram and mahina cignal so mabagal mag load kaya gumawa po ako sarili ko. Yes sir na try ko na din yung width change to 30% not working po. Thank you po sa response
 
no sir, imean yung pinaka web page ng school namen is malake kumain ng ram and mahina cignal so mabagal mag load kaya gumawa po ako sarili ko. Yes sir na try ko na din yung width change to 30% not working po. Thank you po sa response

Thanks for that response. That's one proof why web developers need to optimize their sites. We need to respect people's machine, time, and bandwidth. We should always consider slow networks and low end devices.

I reread your inquiry. So you want the side nav bar to be 30% width? Your open nav function shows you are setting the width to 250px? Is that equivalent to 30% of your screen? If I remember correctly an iPhone 6 plus width is about 450px. So 250px doesn't sound like a fix 30%.
 
Yung Java script mo palitan mo Yung width nun NG 30%

JavaScript:
function openNav() {
  document.getElementById("mySidenav").style.width = "250px";
}
To

Code:
function openNav() {
  document.getElementById("mySidenav").style.width = "30%";
}

Feedback Kung gumana Sana makatulong ๐Ÿ˜Š
 
try mo palitan yung width ng max-width: 30% or gamit ka ng 'vw' for example width: 30vw, yung vw ay 'viewport width' ang ibig sabihin.
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 331
    Views
  • 4
    Participants
Last reply from:
DARKWING10

Online now

Members online
1,018
Guests online
890
Total visitors
1,908

Forum statistics

Threads
2,276,222
Posts
28,968,417
Members
1,231,173
Latest member
JJJJMMMM
Back
Top