Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pe toate paginile cu exceptia index-ului
#2
Incearca ceva de genu:
PHP Code:
<script>
var 
check 0;
if(
window.location == 'http://example.net/')
{
check 1;
}
if(
window.location == 'http://example.net/index.php')
{
check 1;
}
if(
check == 1){
    
alert("suntem pe index");
}else{
    
alert("nu suntem pe index");
}
</script> 
Reply


Messages In This Thread
RE: Pe toate paginile cu exceptia index-ului - by Admin - 05-28-2012, 01:41 AM



Users browsing this thread: 1 Guest(s)