Results 1 to 2 of 2

Thread: Jim's DHTML Menu - Open in New Window with Size

  1. #1
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML Menu - Open in New Window with Size

    Hi Everyone,

    I'm not sure if anyone has tried this but I'm interested in using Jim's DHTML Menu but I was wondering if there is anyway to open a new window from this menu at a specified size. Similar to other scripts on DD - where you can set the width and height of the window that is created.

    This would be a great option to have, Newwin is nice but in my case I'd like that new window to be a nice size to fit the content.

    Thanks to anyone that might have some ideas on how it could be done and would be willing to share.

    Here's the link to the script in case you're not familiar with it
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    Thanks,

    Arkitekt

  2. #2
    Join Date
    Sep 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes you can specify a new window with "Jims DHTML Menu"

    Below is the code from one of mine that opens the game in a new window.

    Code:
    menus[2].addItem("javascript:void window.open('./games/tic/ttt.htm','tictactoe','top=50,left=125,width=475,height=430')", "", 90, "center", "Tic Tac Toe", 0);

Bookmarks

Posting Permissions

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