Results 1 to 3 of 3

Thread: help with onmouseover, iframe menu

  1. #1
    Join Date
    Oct 2006
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with onmouseover, iframe menu

    Hi,
    I am using a floating onMouseOver-onMouseOut menu, see below or go to tstiger.org.uk to see it working

    <a href="about.htm" target="_top"><img border="0" src="images/unitoff.gif" alt="About TS Tiger" onMouseOver="src='images/uniton.gif'" onMouseOut="src='images/unitoff.gif'" width="142" height="27"></a><br>
    <a href="news.htm" target="_top"><img border="0" src="images/newsoff.gif" alt="Latest News And Events" onMouseOver="src='images/newson.gif'" onMouseOut="src='images/newsoff.gif'" width="142" height="27"></a><br>
    <a href="resources.htm" target="_top"><img border="0" src="images/resourcesoff.gif" alt="Cadet Resources Pages" onMouseOver="src='images/resourceson.gif'" onMouseOut="src='images/resourcesoff.gif'" width="142" height="27"></a><br>


    the images used to stay 'on' to indicate the live page but this will not now work as the menu is a seperate file loaded into an iframe on the main page.

    This is the menufile - tstiger.org.uk/frame_menu.htm

    Is it possible for the menu to 'know' which page it is loaded into?
    i.e. which page is the parent or top page so that it will show the 'on' image instead of the 'off' image

    hope this makes sense, I am trying to do it so that it resembles the way I used to do it before I altered the menu to an iframe and seperate htm file

    thanks in advance

    PdS

  2. #2
    Join Date
    Oct 2006
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    please guys, if its not possible could someone say so.
    I've looked around but i can't see a straight answer that will work for this.
    Is it possible for the frame to know who its parent is?

    Thanks in advance

    PdS

  3. #3
    Join Date
    Oct 2006
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I now realise that this is impossible without some javascript so i'll repost there thanks

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
  •