๐Ÿ”’ 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
  • 340
    Views
  • 4
    Participants
Last reply from:
DARKWING10

Trending Topics

Online now

Members online
1,075
Guests online
2,130
Total visitors
3,205

Forum statistics

Threads
2,293,686
Posts
29,085,710
Members
1,207,925
Latest member
Icedmach
Back
Top