473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PopUp Menu opening into an Inline Frame, how?

I'd like my javascript popup menu link to target the inline frame in the
middle of my page, but I'm unsure how to do this. The inline frame is named
"mainframe". Here is the code, with the line to the link denoted with **:

if (window.mm_menu_0127203047_0) return;
window.mm_menu_0127203047_0 = new Menu("root",140,18,"Tahoma, Arial,
Helvetica,
sans-serif",10,"#ffffff","#ffffff","#ffffff","#243f6f", "left","middle",3,0,5
00,-5,7,true,true,true,0,false,true);

**
mm_menu_0127203047_0.addMenuItem(":: Level&nb sp;Design Screens","l
ocation='leveldesignscreens.html'");

mm_menu_0127203047_0.bgImageUp="images/mmmenu1_140x18_up.gif";
mm_menu_0127203047_0.bgImageOver="images/mmmenu1_140x18_over.gif";
mm_menu_0127203047_0.hideOnMouseOut=true;
mm_menu_0127203047_0.bgColor='#555555';
Any help with this is much appreciated!

Thanks,
Tyson
Jul 20 '05 #1
1 1292
@SM
Applebrown a ecrit :

I'd like my javascript popup menu link to target the inline frame in the
middle of my page, but I'm unsure how to do this. The inline frame is named
"mainframe". Here is the code, with the line to the link denoted with **:
usualy it's used target="mainframe"
here your MacroMedia program has made something not simple in javascript :-(

you search in the mm code : location="blahblah
and replace it by : parent.mainframe.location="blahblah

certainly there is an option somewhere in the MacroMedia menus to do that
**
mm_menu_0127203047_0.addMenuItem(":: Level&nb sp;Design Screens",
"location='leveldesignscreens.html'");

^^^^^^^^^ here
"parent.mainframe.location='

if this code is in a separate popup from main window
try to change it to
"opener.mainframe.location='
or ?
"opener.document.mainframe.location='
--
******** (enlever/remove [OTER_MOI] du/from reply url) *******
Stéphane MORIAUX : mailto:st*********************@wanadoo.fr
Aide aux Pages Perso (images & couleurs, formulaire, CHP, JS)
http://perso.wanadoo.fr/stephane.moriaux/internet/
************************************************** ************
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DJ | last post by:
I've got a rollover-popup menu which pops below the viewable area of my top frame. I don't want to resize the frame. Any way I can pop over the frame? Or make the pop-down background solid?...
2
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows...
38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
4
by: Kai Grossjohann | last post by:
I have a design where the page is divided into two frames. The top frame is just one line tall and is to contain a menu. The bottom frame is again divided into three frames (left, middle, right)....
1
by: Reza Solouki | last post by:
Hello, I created a menu, all with javascript, inside the top section of a 2 part frame. It is opening fine, however only inside where it is created. The top part of the frame. Thus part of it...
1
by: Bill H | last post by:
I run a dbms application that interfaces with the web. This module creates a frames page with two frames ('main' and 'mwinfoframe'). All communication with the dbms is routed through the...
8
by: Orloff | last post by:
Hi, on most (all?) browsers, when you put the pointer on a <a href="..." title="popup text">this is a link</a> without clicking on the link, there is a popup caption with the "popup text". I...
2
by: PC User | last post by:
I'm creating a shortcut menu to popup over my richtext box. Its a form with a listbox of menu items with associated richtext activex (rtf) editing commands. I found a way to transfer a value from...
2
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.