Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

different resolutions


markvellagera

Recommended Posts

The problem with what you want to do is that you can't directly detect screen resolution using PHP.

 

It requires Java Script to detect it, set it in a cookie, then reading that cookie using PHP.

 

If they have cookies disabled, the screen resolution detection would fail.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

but when I use different resolutions it doesn't always take the width of the page :-(
Then your code is not setup correctly. It should fit the size of every resolution without any code changes. But if you have made code changes, especially by installing a pre-made template, then it probably won't work.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...