Question

Recommend this page to a friend!

      Dynamic Menu in PHP  >  All threads  >  Question  >  (Un) Subscribe thread alerts  
Subject:Question
Summary:How to open in same page
Messages:2
Author:ndhol
Date:2010-04-09 01:06:17
Update:2010-04-12 08:47:00
 

  1. Question   Reply   Report abuse  
Picture of ndhol ndhol - 2010-04-09 01:06:17
Excellent class, thank you. But I have some problem when implementing those menu, seems that the target page is open new window. I need the target page open in the same page, something like target='_SELF'. How to edit that? Thank You

  2. Re: Question   Reply   Report abuse  
Picture of Pravin Sonawane Pravin Sonawane - 2010-04-12 08:47:00 - In reply to message 1 from ndhol
Hi,

Thanks for your response.

Regarding your query. In menu.php page there is javascript redirect function. Just replace that function with this function;

function redirect(url)
{
window.location = url ;
return false;
}

 

For more information send a message to info at phpclasses dot org.