Hi, I have developed a website using Fireworks + Dreamweaver and website is for 1024X768 pixels. Now I want , it detects the browser and resolution of the user and if user resolution is 800X600 it shows a web page of 800X600 . i have developed in both resolutions. please guide me.
ayesha789
7
Posting Pro in Training
Recommended Answers
Jump to PostHi there, it can't be done solely with php, you need javascript to pull the actual resolution initially, but after that you can store it in a cookie and use php to access it
Put this script on your home page<script language="javascript"> window.location.href = "resolution.php?width=" + …
Jump to PostJust a thought:
Have you developed two css files or completely different webpages for these resolutions?
The first option is the easiest to deal with. You just use js redirect if a cookie doesn't exist, which will create a cookie and read the right css file into the …
Jump to Postplease guide me. I really want to know.
I have 2 pages. both are same but resolution is different.
Page1: 800X600
Page2: 1024X768So when user Resolution is 800X600 its shows page1 else page 2. Is it possible?
switch(screen.width) { case 640: goToPage('640x480.htm'); …
All 17 Replies
Menster
38
Junior Poster
kvprajapati
1,826
Posting Genius
Team Colleague
ayesha789
7
Posting Pro in Training
diafol
ayesha789
7
Posting Pro in Training
ayesha789
7
Posting Pro in Training
kvprajapati
1,826
Posting Genius
Team Colleague
ayesha789
7
Posting Pro in Training
ayesha789
7
Posting Pro in Training
dados
0
Newbie Poster
austinluthers
0
Newbie Poster
dados
0
Newbie Poster
diafol
dados
0
Newbie Poster
diafol
dados
0
Newbie Poster
dados
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.