Results 1 to 10 of 10

Thread: Implement John's shim for chrome drop menu?

  1. #1
    Join Date
    Oct 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Implement John's shim for chrome drop menu?

    Can someone implement John's shim (http://www.dynamicdrive.com/forums/s...56&postcount=4) for the chrome drop down menu on dd?

    I have it for the tooltips, but for the drop downs, a bit of an issue.

    Script URL:

    http://www.dynamicdrive.com/dynamici...rome/index.htm

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I'll most likely be modifying the chrome script soon for this enhancement. Probably end of next week.

  3. #3
    Join Date
    Oct 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you. Although I needed it sooner. But theres also one issue. And that is windows media objects do not get shimmed for the drop downs. All other objects do. Any idea?

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Ok, the Chrome menu has just been updated with the iframe shim technique, which gets the drop down menus to correctly appear on top of windowed objects (ie: <select>) in IE5.5 and IE6.

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Why are you including a windows media object in the menu? I can't think of any good reasons to do so....
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by ak7861 View Post
    windows media objects do not get shimmed for the drop downs. All other objects do. Any idea?
    http://support.microsoft.com/default...b;en-us;308491
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Oct 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Thanks for updated the script. Works well now. Except for the windows media objects on my page. John, I browsed through that link you pasted. How do I set the z-index for the windows media object?

    Code:
    <object id="MediaPlayer" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" width="<? echo $get_video_row["width"]; ?>" height="<? echo $get_video_row["height"]; ?>">
    <param name="filename" value="<? echo $get_video_row["link"]; ?>">
    <param name='animationatStart' value='true'>
    <param name='transparentatStart' value='true'>
    <param name='autoStart' value="true">
    <param name='showControls' value="true">
    <param name="wmode" value="transparent">
    <embed type="application/x-mplayer2" src="<? echo $get_video_row["link"]; ?>" name="MediaPlayer" width="<? echo $get_video_row["width"]; ?>" height=<? echo $get_video_row["height"]; ?>" ShowStatusBar=1 
    wmode="transparent"></embed></object>

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I have no idea exactly (never done this) but, I'd try (from that link):

    1. Enable the video mixing renderer in Windows Media Player. To do so, click Options on the Tools menu, click the Performance tab, and then click Advanced. Click to select the Use video mixing renderer check box, click OK, and then click OK.
    2. Set the zindex (stacking order) for the frame element to a higher value than the embedded player control element.
    3. Set the windowlessvideo property in the player control to true (1).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Oct 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    But doesnt the following only apply to the users settings?

    "Enable the video mixing renderer in Windows Media Player. To do so, click Options on the Tools menu, click the Performance tab, and then click Advanced. Click to select the Use video mixing renderer check box, click OK, and then click OK."

    This is a media object that is displayed publicly.

  10. #10
    Join Date
    Oct 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok. Everything works as it should. Except on Firefox 2, I'm unable to select the item of the drop down menu which overlaps the media object. Heres my code:

    Code:
    <!--[if gte IE 6]><script language="javascript">document.write("<NOSCRIPT class=clickfix><OBJECT style=\"display:none\">"); </script> <![endif]-->
    <object style="z-index: 100;" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" width="<? echo $get_video_row["width"]; ?>" height="<? echo $get_video_row["height"]; ?>">
    <param name="filename" value="<? echo $get_video_row["link"]; ?>">
    <param name='animationatstart' value='true'>
    <param name='transparentatStart' value='true'>
    <param name='autostart' value="true">
    <param name='showcontrols' value="true">
    <param name="showstatusbar" value="true">
    <param name="windowlessvideo" value="true">
    <embed type="application/x-mplayer2" src="<? echo $get_video_row["link"]; ?>" name="MediaPlayer" width="<? echo $get_video_row["width"]; ?>" height="<? echo $get_video_row["height"]; ?>" showstatusbar="1" windowlessvideo="1"></embed></object>
    <!--[if gte IE 6]></OBJECT></NOSCRIPT><![endif]-->
    <script type="text/javascript" src="click_fix.js"></script>
    The click fix thingy is to disable the silly notice 'click to activate' for IE.

    Can anyone solve the remaining slice?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •