New menu issue

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

New menu issue

Post by Jickimojo »

I have updated the menu had it all working last night!

Came in today and now in IE7 the submenus are showing up below the flash layer.

Here is the link http://www.JacksonsHG.com/newJHG

Anyone else see it?
Can anyone help me figure this out?

Also in FF if you goto the actual default.aspx page in the menu bar some of the sub menu text is invisible?

Man this thing is killin me today.

Thanks
Billy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

You need to upgrade to the very latest version of the menu: version 5.770

I did mention it at the bottom of this message: viewtopic.php?t=8556

HTH,
Andy
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Andy wrote:Hi,

You need to upgrade to the very latest version of the menu: version 5.770

I did mention it at the bottom of this message: viewtopic.php?t=8556

HTH,
Andy
Hi Thanks Andy but I went and upgraded it yesterday afternoon but I guess I cant' seem to keep up with the cahnges?

How often does this menu get updates?

I will get it updated again here in a few minutes.

Thanks again
Billy
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Ok Andy it is upgraded to the latest version I think?????
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

That's fixed the menu behind the Flash.

All that's left to do is fix the Flash Activation. In the other post there was a link to http://milonic.com/activateflash.php that explains all.

p.s. The menu gets updated quite regularily but your problem was quite unique and updates are normally only tweaks so nothing to worry about.
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Andy I am confused I followed the instructions for the Dirty fix. But it is not working.

When it said to add teh code to a .js file less the tags does it matter which one?

It is still blinking in IE7
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Where you have included this at the bottom of your HTML:

<script>

if(ie55){
_miO=_d.getElementsByTagName("object");
for(var x=0;x<_miO.length;x++)_miO[x].outerHTML=_miO[x].outerHTML;
}

</script>


What you need to do is create a file called, flashactivator.js and then add the following to that file:

Code: Select all

if(ie55){
_miO=_d.getElementsByTagName("object"); 
for(var x=0;x<_miO.length;x++)_miO[x].outerHTML=_miO[x].outerHTML;
}
Then replace this:

Code: Select all

script>

if(ie55){
_miO=_d.getElementsByTagName("object"); 
for(var x=0;x<_miO.length;x++)_miO[x].outerHTML=_miO[x].outerHTML;
}

</script>
With this:

Code: Select all

<script src=flashactivator.js></script>

And that should do the trick. The problem is that the code MUST be inside a .js file otherwise it will not work.

HTH
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Looked like the docs needed changing - sorry about that
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Ok Andy that makes a whole lot more sense and it seems to work ok now.

One new thing now when the page loads in IE7 it blinks the flash it looks like it restarts?

One more thing is that if you click on any of the main menu items some of the sub menus are invisible.

All the main menu items for now are linked back to default.aspx till I get the other parts of the site done.

Any thoughts?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

You might be able to fix that by moving the <script src=flashactivator.js></script> part to just after the Flash object has been built in the HTML.

In theory, as long as the menu has been built it should work.
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Andy wrote:You might be able to fix that by moving the <script src=flashactivator.js></script> part to just after the Flash object has been built in the HTML.

In theory, as long as the menu has been built it should work.
no dice! Damik

I am gonna try to put a 2 sec white space for a delay in the swf.

Ill report back!
Jickimojo
Advanced
Advanced
Posts: 16
Joined: Tue Jan 30, 2007 10:43 pm

Post by Jickimojo »

Well I got the animation slowed down enough so that it is ok.
But the activation redraws the entire page.

There has to be a better fix than this.

MS BLOWS monkey Bits.

Sorry for the rant
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Try the MS approach - it actually builds the Flash so won't cause the same problem.
MS BLOWS monkey Bits.
It's not really their fault IMHO - Somebody owns a patent on automatically activating a control in a browser (how on Earth this was approved is beyond me) they are fighting it (apparently) even though it's cost them some $520 Million.

Personally, I just see it as another dig at Microsoft and somebody getting ridiculously rich out of their position.

Anyway, let me know if you still have trouble

Cheers,
Andy
Post Reply