|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have no experience in javascript...What I'm doing is using PHP and I was wondering if there was a way you can make javascript print out a word in a url? such as:
http://www.domain.com/page.php3?ani...erd&JAVASCRIPT= <javascript here to print out something> Then I would just check to see if the variable $javascript is set and if it is, the user has javascript on. Then I can make it so that if javascript is not enabled, I can offer an alternative code for the pop-ups. So can javascript print something out? |
|
#2
|
||||
|
||||
|
if you document.write() one of the parameters for the url its very existance will imply the javasript existance.
but if (navigator.javaEnabled()) is much easier? Simon ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
|
#3
|
|||
|
|||
|
how do you use navigator.javaenabled() ?
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > printing in URL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|