View Single Post
Old 12-05-2002, 11:31 PM  
psyko514
See sig. Join Epic Cash.
 
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
Passing variables from PHP to Javascript and vice versa

i have a frames page with a menubar at top and the main content below. i want the main page to redirect to a PHP page based on screen size using the following format

if (screen.width > 1024)
{window.location.href='girls1024.php?id=XXXXX'}

where XXXXX will be sent to JS from PHP

i know very little about JS, so help me out here... thanks
psyko514 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote