one method that i have found works for me (albeit not
so pretty, neat, or concise) is to pass js variables
through a url request. Ok follow me for a little if
you will (it's bulky, but it works!)
1) user loads a page (e.g.
your-domain.com/index.phtml)
that page contains the javascript which deter
I can't think of a way to do it in the page itself... Unfortunately (there
could be a way, I just can't think of it - frazzled after a day of work),
but if you're using forms on your page, then set the values of some hidden
form elements to the JS variables you want to use, and pass them along. Yo
You can blend the two... sort of.
I'm not aware of any PHP vars that hold screen information.
HTH
Martin
You have to submit the variables back to PHP by refreshing/requesting
another page. Once javascript finds the values..PHP is done executing.
So have the values put into hidden elements of a form that's submitted, or
tacked on to the end of a URL and redirected to another page...
---John Holmes..
4 matches
Mail list logo