SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My Popup menu only shows on standalone html Page

    Hi Guys,

    Please Help. I created a nav bar with popup menu in Fireworks MX. It works fine until I put the html into a frameset and then the popup does not appear any more.

    Here is the frameset code.

    <html>
    <head>
    <title>Sketched News </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <frameset rows="18,82" frameborder="NO" border="0" framespacing="0">
    <frame src="topsindex.html" name="topFrame" scrolling="NO" BORDER="0" noresize>
    <frame src="holdsindex.html" name="mainFrame" scrolling="No" BORDER="0" noresize >
    </frameset>
    <noframes><body>

    </body></noframes>


    </html>

    And Here is a part of the nav bar code.

    <area shape="poly" coords="781,99,878,99,880,100,881,103,881,119,880,122,878,123,781,123,779,122,778,119,778,103,779,100,781,99" href="javascript:void(0)" onclick="parent.frames['mainFrame'].location.href='tvindex.html'" title="MSNBC News Live TV" alt="MSNBC News Live TV" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0216223415_0,828,17,null,'topsindex');" >


    Please tell me what I am doing wrong...

    Thanks

  2. #2
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,748
    Mentioned
    73 Post(s)
    Tagged
    0 Thread(s)
    an <area> tag defines an area inside an imagemap. I see no imagemaps here. If your image that's supposed to be using the imagemap is inside topsindex.html or holdsindex.html, then your area tag needs to be inside that file, not your frameset file....
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.

  3. #3
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by StarLion View Post
    an <area> tag defines an area inside an imagemap. I see no imagemaps here. If your image that's supposed to be using the imagemap is inside topsindex.html or holdsindex.html, then your area tag needs to be inside that file, not your frameset file....
    Thanks, but I solved the problem.

    In reference to your comment, I only posted a part of the code "topsindex.html".

    The solution in this case was to remove the first line of code from my frameset html file.

    " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> "

    I don't know why, but afterwards it worked. Maybe someone can explain this to me?I have been teaching myself and there are still many things that I don't understand.

    Thank Again.


Tags for this Thread

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
  •