73 users online (0 members and 73 guests)  

  Results 1 to 2 of 2


  1. Positioning inline frames- HELP!    Forum: HTML Forum
    Replies: 3
  2. Inline Frames Script    Forum: Website Scripts Forum
    Replies: 3
  3. Inline Frames Help    Forum: HTML Forum
    Replies: 3
  4. inline frames.    Forum: HTML Forum
    Replies: 1
  5. Does Netscape support inline frames    Forum: HTML Forum
    Replies: 1
  1. #1
    smell_fire's Avatar
    New User

    Join Date
    Dec 2003

    Lightbulb Linking to Inline Frames From Java Menu

    My problem is linking to an inline frame using a java based drop down menu. I use IE 6.0

    For speed and reliability this project will be run from a folder on the local hard drives & not posted to the web.

    I can't get the java based drop down menu to target an inline frame thats inside the bottom frame, even though I named the inline frame InlineFrame.

    Actually the java menu will display the src html file inside the InlineFrame on startup <IFRAME SRC="MurrayFireLogo.html" Title="InlineFrame" FRAMEBORDER=1 SCROLLING=no WIDTH=900 HEIGHT=550></IFRAME> but when a link targets the inline frame the link opens up in a new window - thats not what I want.

    I can figure out html links, but linking to stuff in java has been hard for me.

    Any help would be nice.

    Here is the INDEX page:

    <title>Murray Streets</title>

    <SCRIPT language=JavaScript>

    <script type='text/javascript'>

    var height = screen.height; //Set height
    var width = screen.width; //Set width
    var name = "winname" //Set window name
    var top = 0 //Set distance from top
    var left = 0 //Set distance from bottom

    if(document.location.search=='') {
    newwin=window.open(document.location + "?newwin=true", name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=yes,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);
    self.opener = ""


    <FRAMESET ROWS="3%,5%,*" BORDER=0>

    <frame src="StreetsTopFrame.html" NAME="StreetsTopFrame" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDER=0 NORESIZE scrolling="no">

    <frame src="StreetsMiddleFrame.html" NAME="StreetsMiddleFrame" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDER=0 NORESIZE scrolling="no">

    <frameset cols="100%">

    <FRAME SRC="StreetsBottomFrame.html" NAME="StreetsBottomFrame" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDER=0 NORESIZE scrolling="no">


    <body bgcolor="#cococo">

    Here is the top frame (These links target the MiddleFrame):

    <body bgcolor="#cccccc">
    <table width="100%" height="4" align="center" cellspacing="0" cellpadding="0">
    <td width="33%"><CENTER>
    <td width="33%"><Center>
    <a href="../Apartments/ApartmentsFrameIndex.html" TARGET=_blank>APARTMENTS</a></td>
    <td width="33%"><Center>
    <a href="../Preplans/PreplansFrameIndex.html" TARGET="_blank">PREPLANS</a></td>

    Here is the middle frame (The Java Menu - MenuLynx)
    These links target the InlineFrame inside the BottomFrame:

    <body bgcolor="#c0c0c0">

    <table width="100%" height="5" align="center" cellspacing="0" cellpadding="0">
    <td width="33%" bgcolor="#000000"><CENTER><img alt="KnightRiderLED.gif (3K)" src="KnightRiderLED.gif" height="4" width="120" border="0"></CENTER></td>
    <td width="33%" bgcolor="#000000"></td>
    <td width="33%" bgcolor="#000000"></td>

    <applet code="MenuLynx.class" archive="MLynx.zip" align=top width=1024 height=30>
    <param name="cabbase" value="MLynx.cab">
    <PARAM NAME="cabbase" VALUE="MLynx.cab">
    <param name="INIFile" value="">
    <param name="FontName" value="SansSerif">
    <param name="FontStyle" value="0">
    <param name="MenuColor" value="SystemColor.Menu">
    <param name="MenuText" value="SystemMenu.ColorText">
    <param name="HiLightColor" value="MenuColor">
    <param name="NoLines" value="">
    <param name="DefaultFrame" value="InlineFrame">

    <param name="Link0" value="&nbsp;&nbsp;A&nbsp;&nbsp;">
    <param name="Link00" value="Adaley Ave^file://c|/MurrayFireMaps/Streets/StreetImages/Adaley Ave.png">
    <param name="Link01" value="Afton Ave^file://c|/MurrayFireMaps/Streets/StreetImages/Afton Ave.png">
    <param name="Link02" value="Alfred Circle^file://c|/MurrayFireMaps/Streets/StreetImages/Alfred Circle.png">
    <param name="Link03" value="Alicia Park Way^file://c|/MurrayFireMaps/Streets/StreetImages/Alicia Park Way.png">
    <param name="Link04" value="Allendale Drive^file://c|/MurrayFireMaps/Streets/StreetImages/Allendale Drive.png">
    <param name="Link05" value="Alpine Drive^file://c|/MurrayFireMaps/Streets/StreetImages/Alpine Drive.png">
    <param name="Link06" value="American Ave^file://c|/MurrayFireMaps/Streets/StreetImages/American Ave.png">
    <param name="Link07" value="Murray Fire Logo^file://c|/MurrayFireMaps/Streets/StreetImages/Murray Fire Logo.bmp">
    <param name="Link08" value="Test Of Margins^file://c|/MurrayFireMaps/Streets/StreetImages/Test Of Margins.png">

    <param name="Link1" value="&nbsp;&nbsp;B&nbsp;&nbsp;">

    'etc. . .
    Last edited by smell_fire; 12-03-2003 at 12:39 PM.

  2. #2
    QuietDean's Avatar

    Join Date
    Oct 2000
    Bournemouth, UK
    Hi there, welcome to the forums.

    This functionality depends heavily on whether the Java sclass can handle being passed an extra value, the 'target' frame. if it cannot, this will not work no matter what you place in the params.

    Are you the author of MenuLynx.class? if not, best bet might be to find the authors documentation or contact the authors support service.

    As an alternative, you can make attractive rollover menus usings images or CSS.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

Tags for this Thread