PDA

View Full Version : HV Menu - sub menu under video



tiba21
09-01-2005, 01:46 AM
HV Menu
http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

I'm having a problem with the sub nav items falling under the embedded video I have on my pages. I've seen threads in the forums that addressed this similar issue, but with Flash. The fix for the Flash issue does not fix my problem with embedded video.

Does anyone have any ideas on how to fix this?

Spinethetic
09-01-2005, 04:14 PM
I dont believe you can, I dont keep up to date with all the W3 news but I know that whenever ive tried to layer any html content above media content such as .3DML, .SWF, .WMV and so forth, the embedded content is always above the HTML content, regardless of what layer you assign it in z-index. But as I said I dont keep up with all the W3 news so Iam not sure if this has been fixed yet with a download patch or something.

jscheuer1
09-01-2005, 04:53 PM
This is a moot point but, with swf there are ways that often work, as the OP mentions but, this is a different situation. Best thing I know of is to move the video away from the menu.

tiba21
09-01-2005, 06:35 PM
Yeah, I pretty much gave up hope. I guess now it's official.

Thanks for your input guys.

Spinethetic
09-01-2005, 06:55 PM
Wait a minute. I just found this DHTML menu website

http://deluxe-menu.com/objects-overlapping-sample.html

Where that light bluish popup menu is above that flash object

jscheuer1
09-01-2005, 07:10 PM
That's flash (.swf) we already knew that could be done, this is a video (probably .mov), not a flash.

tiba21
09-01-2005, 07:25 PM
True, but at this point, I'm willing to try anything. I'll try to implement their trial version tonight and see what happens.

BTW...if it makes any difference...the video is in a Windows Media format(.wmv).

Spinethetic
09-01-2005, 07:25 PM
maybe the movie could be imported into flash and exported to *.SWF to emed onto the page so that you can layer objects above the 'video file' (which would just be a SWF file)

tiba21
09-01-2005, 07:33 PM
I would definitely entertain that idea, if there wasn't 20-30 video clips (each having it's own hi and lo bandwidth versions).

Here's a link to my test page. (http://www.wetmoney.com/entertain/benttest2.asp)

Spinethetic
09-02-2005, 05:26 PM
Iam getting an error message from that link

http://img382.imageshack.us/img382/2646/untitled7kb.th.jpg (http://img382.imageshack.us/img382/2646/untitled7kb.jpg)

tiba21
09-02-2005, 05:48 PM
My fault. I didn't realize that page was protected. I just unlocked it.

tiba21
09-03-2005, 12:56 AM
I found a fix. I got this from a guy that specializes in streaming video.

Here's the code:


function visi(ID)
{
if (document.layers)
{
vista = (document.layers[ID].visibility == 'hide') ? 'show' : 'hide'
document.layers[ID].visibility = vista;
}
else if (document.all)
{
vista = (document.all[ID].style.visibility == 'hidden') ? 'visible' : 'hidden';
document.all[ID].style.visibility = vista;
}
else if (document.getElementById)
{
vista = (document.getElementById(ID).style.visibility == 'hidden') ? 'visible' : 'hidden';
document.getElementById(ID).style.visibility = vista;
elementImage.src= 'http://v3.blastro.com/images/expand2.gif';
}
}



You have to wrap the object tag in a div tag and give it an id (ie. Movie) value.

Then use the following to call the method:


function BeforeFirstOpen(){visi('Movie'); return}
function AfterCloseAll(){visi('Movie'); return}


This basically hides the video when the nav is opened and makes it reappear when the menu is closed.

What a relief!! Thanks for all of your help.