Results 1 to 3 of 3

Thread: Help. This is driving me NUTS.

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

    Question Help. This is driving me NUTS.

    Hi. I have a gaming website which uses Yahoo Games Rooms. I am developing an 'enhanced' room system using frames and popups. The start page for loading the rooms is http://hosts101.com/user/birdsnest/backdoorsnew.html . On the topbar menu (http://users.igl.net/salteyseaman/topbar.htm) I have a dropdown list to open further windows as required. Okay here's the problem. The first popup which opens from the dropdown opens in a new window (which is the way I want it) but all further options chosen open in the same window which is not what I want. Hope someone can help me solve this. Thanks in advance

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You'll have to explain further. As far as I can see, the drop down menu here:
    http://users.igl.net/salteyseaman/topbar.htm

    Opens every dropdown selected link in a new window (including the items you don't want to trigger... )

    Because it was getting to me that items were opening in new windows that were null, I did a tiny rewrite:

    Code:
    <script type="text/javascript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source http://javascript.internet.com -->
    
    function formHandler(form) {
    var windowprops = "height=600,width=800,location=no,"
    + "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";
    var URL = form.site.options[form.site.selectedIndex].value;
    if(URL==""){}
    else{
    popup = window.open(URL,"MenuPopup",windowprops); }
    }
    </script>
    So that sorts one problem out.

    As for your original problem, could you give us step-by-steps as to how to replicate the problem? Bear in mind I don't have a yahoo ID and can't sign into the website.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

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

    Thumbs up Thank You

    Thanks for replying cr3. I've managed to sort out the problem - can't figure out where I was going wrong before though lol.

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
  •