Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get around IE Jump Menu Issues?

    When I am using a Jump Menu in IE, it opens the new document in a "Window"

    I want to open the my Jump Menu links like a normal web page that is not constricted to a window frame. I am linking directly to PDF's and when opened, they open in frames that are constrained to a size which cannot be resized. This does not happen in firefox. The PDF window can be resized to any size I need by pulling on the corner of the window. Is there a way to get around this annoying IE issue? Here is the javascript that is currently in the header.

    Code:
    <script type="text/javascript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    
    function fnlink(){
    
    	window.open (document.frmmenu.jumpMenu.value,'mywindow','status=1,toolbar=1')
    }
    //-->
    </script>

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,366
    Thanks
    11
    Thanked 590 Times in 571 Posts
    try:

    Code:
    <script type="text/javascript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    
    function fnlink(){
    
    	window.open (document.frmmenu.jumpMenu.value)
    }
    //-->
    </script>
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%


  •  

    Posting Permissions

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