473,398 Members | 2,404 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,398 software developers and data experts.

Javascript menu not working around iframe

Hi,

Apologies in advance if this seems long winded and confusing...

I'm trying to make a javascript drop down menu work around multiple
iframes.

The initial page (http://www.redstudioweb.com/client/ars/frames/
photoframe/pf_hwire.htm) is calling 2 iframes. The first is called
'sourceframe' which loads information regarding the sub-menu
selection. The second is called 'galleryframe' which loads a bunch of
thumbnails.

The user can click on a thumbnail which replaces the initial
information page with a larger image into the 'sourceframe'. All of
this works fine, however, if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.

I'm fairly convinced it has to be javascript related. What it is I
need to do however, I have no idea.

Below is the portion of the script I'm using that (I think) is not
working:

}

function mmLoadMenus() {
if (window.mm_menu_0222114819_0) return;
window.mm_menu_0222114819_0 = new Menu("root",115,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#95de43","center ","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222114819_0.addMenuItem("CAPABILITIES","l ocation='../../
capabilities.htm'");
mm_menu_0222114819_0.hideOnMouseOut=true;
mm_menu_0222114819_0.menuBorder=1;
mm_menu_0222114819_0.menuLiteBgColor='#ffffff';
mm_menu_0222114819_0.menuBorderBgColor='#d8d8d8';
mm_menu_0222114819_0.bgColor='#ffffff';
window.mm_menu_0222115702_1 = new Menu("root",101,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#005aab","center ","middle",
0,0,100,-5,7,true,true,true,0,false,false);

mm_menu_0222115702_1.addMenuItem("HORIZONTAL  WIRE","location='pf_hwire.htm'");

mm_menu_0222115702_1.addMenuItem("VERTICAL WI RE","location='pf_vwire.htm'");
mm_menu_0222115702_1.addMenuItem("GLASS","location ='pf_glass.htm'");
mm_menu_0222115702_1.addMenuItem("TUBE","location= 'pf_tube.htm'");
mm_menu_0222115702_1.addMenuItem("WALL/
HAND RAILS","location='pf_wallhand.htm'");

mm_menu_0222115702_1.addMenuItem("POOL FENCIN G","location='pf_pool.htm'");
mm_menu_0222115702_1.hideOnMouseOut=true;
mm_menu_0222115702_1.menuBorder=1;
mm_menu_0222115702_1.menuLiteBgColor='#ffffff';
mm_menu_0222115702_1.menuBorderBgColor='#d8d8d8';
mm_menu_0222115702_1.bgColor='#ffffff';
window.mm_menu_0222120744_3 = new Menu("root",61,18,"Verdana, Arial,
Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#ffcb08","center ","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222120744_3.addMenuItem("QUOTES","locatio n='../../
quotes.htm'");
mm_menu_0222120744_3.hideOnMouseOut=true;
mm_menu_0222120744_3.menuBorder=1;
mm_menu_0222120744_3.menuLiteBgColor='#ffffff';
mm_menu_0222120744_3.menuBorderBgColor='#d8d8d8';
mm_menu_0222120744_3.bgColor='#ffffff';

mm_menu_0222120744_3.writeMenus();
} // mmLoadMenus()

//-->
</script>

Please note any regular html links within the initial page will
respond correctly. It is only the "location='page.htm" links within
the script that seem to be effected.

Any ideas?

Cheers,

May 16 '07 #1
6 1764
ASM
ma***********@gmail.com a écrit :
>
if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
All is OK with my FF
function mmLoadMenus() {
it seems to be a function created by DW, no ?
--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
May 16 '07 #2
On May 16, 12:53 pm, ASM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
marckatsam...@gmail.com a écrit :
if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.

All is OK with my FF
function mmLoadMenus() {

it seems to be a function created by DW, no ?

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Hi Stephane,

I totally neglected testing the site with FF, as my default browser is
Safari. However since trying FF, it seems to work fine for me aswell.
I will have to try it in IE once I get to a PC.

But I would assume if it works in Firefox, it should work in IE...
meaning there is nothing severely wrong with my code and it is more or
less a safari issue/bug.

Thanks for your input :)

Cheers

May 16 '07 #3
ma***********@gmail.com wrote:
On May 16, 12:53 pm, ASM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
>marckatsam...@gmail.com a écrit :
>>if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
All is OK with my FF
>>function mmLoadMenus() {
it seems to be a function created by DW, no ?
Hi Stephane,

I totally neglected testing the site with FF, as my default browser is
Safari. However since trying FF, it seems to work fine for me aswell.
I will have to try it in IE once I get to a PC.

But I would assume if it works in Firefox, it should work in IE...
meaning there is nothing severely wrong with my code and it is more or
less a safari issue/bug.

Thanks for your input :)

Cheers
It works just fine in Internet Explorer 6 in Windows. Didn't look at
your JavaScript at all though. All I can say is it works.

So, how much do we make off of your client for doing site testing and
JavaScript work for you?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 16 '07 #4
On May 16, 1:22 pm, -Lost <maventheextrawo...@techie.comwrote:
marckatsam...@gmail.com wrote:
On May 16, 12:53 pm, ASM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
marckatsam...@gmail.com a écrit :
>if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
All is OK with my FF
>function mmLoadMenus() {
it seems to be a function created by DW, no ?
Hi Stephane,
I totally neglected testing the site with FF, as my default browser is
Safari. However since trying FF, it seems to work fine for me aswell.
I will have to try it in IE once I get to a PC.
But I would assume if it works in Firefox, it should work in IE...
meaning there is nothing severely wrong with my code and it is more or
less a safari issue/bug.
Thanks for your input :)
Cheers

It works just fine in Internet Explorer 6 in Windows. Didn't look at
your JavaScript at all though. All I can say is it works.

So, how much do we make off of your client for doing site testing and
JavaScript work for you?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Will $4 8 15 16 23 42.00 be suffice?

May 16 '07 #5
ma***********@gmail.com wrote:
On May 16, 1:22 pm, -Lost <maventheextrawo...@techie.comwrote:
>marckatsam...@gmail.com wrote:
>>On May 16, 12:53 pm, ASM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
marckatsam...@gmail.com a écrit :
if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
All is OK with my FF
function mmLoadMenus() {
it seems to be a function created by DW, no ?
Hi Stephane,
>>I totally neglected testing the site with FF, as my default browser is
Safari. However since trying FF, it seems to work fine for me aswell.
I will have to try it in IE once I get to a PC.
But I would assume if it works in Firefox, it should work in IE...
meaning there is nothing severely wrong with my code and it is more or
less a safari issue/bug.
Thanks for your input :)
Cheers
It works just fine in Internet Explorer 6 in Windows. Didn't look at
your JavaScript at all though. All I can say is it works.

So, how much do we make off of your client for doing site testing and
JavaScript work for you?

Will $4 8 15 16 23 42.00 be suffice?
Yes, all of those for a total of $108.00 GBP will do just fine.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 16 '07 #6
ASM
ma***********@gmail.com a écrit :
On May 16, 12:53 pm, ASM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
>marckatsam...@gmail.com a écrit :
<http://www.redstudioweb.com/client/ars/frames/photoframe/pf_hwire.htm>
>>
>>if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
All is OK with my FF

Hi Stephane,

I totally neglected testing the site with FF, as my default browser is
Safari.
Mine is Firefox, Safari(1.3) is too much buggued.

You're true Safari has some problem with your code.
He losts the links in sub-menu

I think you'll have to do something as :

if (window.mm_menu_0222114819_0 && itIsNotSafafari) return;

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
May 16 '07 #7

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

Similar topics

2
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
8
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
10
by: John Ortt | last post by:
Hi Everyone, I have created a Javascript menu for my site which uses frames. The first stage loads fine but I want two drill down menus ("About Me Menu" and "Projects Menu"). The pages load...
3
by: John Ortt | last post by:
Hi everyone, I posted with the title "Javascript Menu Not Loading Images" last week but I only posted the code as the site was on a corporate Intranet. Thanks to advice on the thread I have...
1
by: Paul Proefrock | last post by:
I am trying to do a site in FrontPage2003 using dwt and css. I added a drop-down javascript menu (EZMenu). It is working however the CSS overrides the formatting of the menu. Is there a way to...
1
by: Dave | last post by:
Hi, I have a logo jpg and then a jpg which is a solid blue line. I am trying to make my javascript menu load underneath these two. I have put the src="menu.js" after the two jpg's in the code but...
1
by: sagar | last post by:
Hello friends, I am developing a AJAX based IM application. For this is need a Javascript Library to built iframe/div based dragable windows in a page. I will need multiple windows (for chat,...
0
by: trint | last post by:
This is the html view of the menu that works: <html> <head> <title>JavaScript Menu</title> <link rel="stylesheet" href="menu.css"> </head> <body> <script language="JavaScript"...
2
by: barrymars | last post by:
First posting here so bear with me. i'm working on a double tabbed menu system for a web aplpication, where the first row of 'divs' control visibility of the second row of 'divs'. It all works...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.