www.webdeveloper.com
Results 1 to 2 of 2

Thread: open new small window in same location

  1. #1
    Join Date
    May 2009
    Posts
    1

    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 to use javascript onclick or iframe but i am confused.
    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

    Thanks

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You probably require a dhtml window: http://www.dynamicdrive.com/dynamici...htmlwindow.htm
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles