modifing page without reloading?

Feel like it has been decades since I did any web page design let alone php/css
So forgive my questions.

I have a webpage with a fixed photo 1920/1080 background I do not want to reload.
I need a few buttons on left side that will select one of jpg file photo to be put on the right side
the jpg photos are all 200x200 in an exact position

I can do it easily with new web page but reload time for fixed background picture takes forever.
Can it be done??
Thanks,
Ray

First off use compression to get the bg image down in size. You should be able to have a hd background take no more than 120-170 kB

Changing the page without reloafing can not be done with PHP. Javascript however have no problems with this. Look into Jquery if you want a quick and easy way to do this (and much much more)

Thanks, It has been over 10 years since I have done any scripting.
Friend wants his beautiful photo to be the background.
I tried lower rez and stretched but it looks bad.
So…
The best I could do with his 3300x2500 5meg photo is 1meg for 1920x1080.gif
Thanks,
Ray

try 1920x1080 jpg and use jpg compression (found in image editing programs) to lower the quality until you have a decent size/quality ratio. gif is a terrible format.

Thanks, will do.
Looking at Jquery I see I got to go back to script searching with demo to find what I need then cut & paste what I need. Do you know of any learning sites?
Thanks again.
Feel so old.
Ray

Sponsor our Newsletter | Privacy Policy | Terms of Service