Results 1 to 3 of 3

Thread: New Window

  1. #1
    Join Date
    Dec 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New Window

    guys i have problems in javascript open new custom size windows. my website has about 15 javascript "open link in new window" everytime visitors clicked on links they just open in one window, meaaning to say windows only open in one window even they have their own respective sizes..

    he code i am using is:

    Code:
    <A HREF="javascript:void(0)"onclick="window.open('http://mydomain.com//filename.htm/','linkname','height=230, width=200,scrollbars=no')" style="text-decoration: none">

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm I'm confused- what's your question? BTW a really helpful page on the Window object of JavaScript and using it to open a custom window is: http://www.javascriptkit.com/jsref/window.shtml

  3. #3
    Join Date
    Dec 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yea thanks and sorry got some spelling and grammar error the last time..
    thanks for the link also..
    i hope you can still answer my question. its about like this.. a link to a javascript window is 500x270 (widht and height) and another is 400x300.. when someone click on the window 500x270, of course it will open there's no problem in it the problem is when they didn't close the 500x270 window and clicked another link which has 400x300 window, that window will open in 500x270 meaning to say it opened on the previous window so the specific size which was 400x300 was not executed..
    thanks and hoping for more replies..

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
  •