open new small window in same location
i am working in drupal and i am new to every technology.
i have a checkout form where i need to display a help button in every pane of the form for that i need to click on that help button so that a new window will appear with some text i.e. help text of that pane.
i need your help that how i display a new window on the same window.
i used the following code:
'#attributes' => array('onclick'=>"window.open('+self.location','width=10,height=1,status=0')")
but with this code it will iopen a window but in a different tab. so pls help me out. I really need your help
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)