SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Resistance is Futile webgodjj's Avatar
    Join Date
    Nov 2002
    Location
    Madison, WI USA
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scratchn' my head over a window.open and explorer

    I have a link:
    HTML Code:
    <a href="javascript:launch()" id="terrace" name="terrace">VJing at the Terrace</a>
    Which is called by this function in an external javascript file
    HTML Code:
    function launch(){
    terrace=window.open("http://www.realnamefilms.com/video/terrace.swf","VJing at the Terrace","width=500,height=400,top=200,left=200,resizable=yes,scrollbars=no,menubar=no,toolbar=no,status=no,location=no")}
    Firefox and Safari pop up a window nicely, however, IE (windows and mac) just sits there and doesn't do a thing.. no window... no error..
    http://www.realnamefilms.com/vjing.php

  2. #2
    SitePoint Zealot coothead's Avatar
    Join Date
    Jan 2005
    Location
    Chertsey, London, England
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there webgodjj,

    IE requires two modifications, which are highlighted here...
    Code:
    function launch(){
    var terrace=window.open("http://www.realnamefilms.com/video/terrace.swf","VJing_at_the_Terrace","width=500,height=400,top=200,left=200,resizable=yes,scrollbars=no,menubar=no,toolbar=no,status=no,location=no")}
    coothead

  3. #3
    Resistance is Futile webgodjj's Avatar
    Join Date
    Nov 2002
    Location
    Madison, WI USA
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dude you rock...

  4. #4
    SitePoint Zealot coothead's Avatar
    Join Date
    Jan 2005
    Location
    Chertsey, London, England
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there webgodjj,

    thanks for your kind words.

    coothead


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
  •