p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   cross frames with javascript drop-down menu (http://p2p.wrox.com/showthread.php?t=26804)

crmpicco March 14th, 2005 08:03 AM

cross frames with javascript drop-down menu
 
I am looking for a solution to allow me to cross frames with my existing code?

I have a menu bar at the top of my asp page:

 <tr bordercolor="#AEBDE5">
          <td width="128" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="parent.main.location.href='airbook.asp';" onmouseover="fadeImgend2(0)" onmouseout="fadeImg2(0)">Flights</td>
          <td width="128" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="parent.main.location.href='bookings.asp'; " onmouseover="fadeImgend2(1)" onmouseout="fadeImg2(1)">Bookings</td>
          <td width="128" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="parent.main.location.href='admin_login_fo rm.asp';" onmouseover="fadeImgend2(2)" onmouseout="fadeImg2(2)">Admin</td>
          <td width="129" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="return dropdownmenu(this, event, menu2, '200px');" onmouseover="fadeImgend2(3)" onmouseout="fadeImg2(3);delayhidemenu();" target="_parent">Help</td>
          <td width="129" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="parent.location.href='logout.asp?logOut=t rue';" onmouseover="fadeImgend2(4)" onmouseout="fadeImg2(4)">Logout</td>
        </tr>

My problem is when i click 'HELP' the javascript drop-down menu does not go into the next frame. it just cuts off.

how do i stop this? is there a parameter? or is it a new piece of code required?

Picco

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt

crmpicco March 14th, 2005 12:57 PM

http://www.codingforums.com/showthre...786#post284786

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt


All times are GMT -4. The time now is 02:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.