PC Review


Reply
 
 
=?Utf-8?B?Q3JhaWc=?=
Guest
Posts: n/a
 
      24th Jun 2005
Can someone please tell me how to apply a behaviour to hide a drop down menu
using a transparent .gif file.
I can see the change property box but what gets entered into them to produce
this affect.
 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      25th Jun 2005
OK, I give. I'm confused.

If the gif file is transparent, how can it hide anything??

?:-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"Craig" <(E-Mail Removed)> wrote in message
news:41C57013-22B8-4592-BD33-(E-Mail Removed)...
> Can someone please tell me how to apply a behaviour to hide a drop down menu
> using a transparent .gif file.
> I can see the change property box but what gets entered into them to produce
> this affect.



 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      25th Jun 2005
There's a complete procedure that includes this technique at:

Creating DHTML Menus in FrontPage 2003
http://www.interlacken.com/winnt/tip...ow.aspx?tip=28

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

"Craig" wrote:

> Can someone please tell me how to apply a behaviour to hide a drop down menu
> using a transparent .gif file.
> I can see the change property box but what gets entered into them to produce
> this affect.

 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      25th Jun 2005
There's a technique for hiding drop-down menu leaves where you:

o Display each leaf at, say, z-index 2.
o Display a large transparent GIF behind the whole DHTML menu structure
(i.e. at z-index 1).

Then, whenever the transparent GIF gets an onmouseover, you hide all the
drop-down menu leaves.

Note that you can't reliably use onmouseout to detect when the mouse moves
outside a dropdown menu leaf. This is because in a structure like:

<div>
<table>
<tr><td><a href="hither.htm">Hither</td></tr>
<tr><td><a href="yon.htm">Yon</td></tr>
</table>
</div>

the <div> gets :

o An onmouseover event when the mouse enters it, which is fine.
o An onmouseout event when the mouse moves outside it, which is fine.
o An onmouseout event when the mouse moves over the table, which is
*way* inconvenient.

Basically, when the table gets onmouseover, the div has to get onmouseout,
because the mouse can only be over one element at a time. Because of this,
you can't use the div's onmouseout to hide the div. You have to use
onmouseover on some element outside the div, such as a transparent gif
underlaying the whole menu.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------



> OK, I give. I'm confused.
>
> If the gif file is transparent, how can it hide anything??
>
> ?:-)
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> ........................with a computer
>
> "Craig" <(E-Mail Removed)> wrote in message
> news:41C57013-22B8-4592-BD33-(E-Mail Removed)...
> > Can someone please tell me how to apply a behaviour to hide a drop down menu
> > using a transparent .gif file.
> > I can see the change property box but what gets entered into them to produce
> > this affect.

>
>
>

 
Reply With Quote
 
=?Utf-8?B?Q3JhaWc=?=
Guest
Posts: n/a
 
      25th Jun 2005
Thanks for that Jim I had already been to interlacken after reading some
other posts and since then I had a problem making my iimage to transparent.
Revisiting this site forced me to look again at what I had been doing and
this proved to be where the answer lay. I had not applied a behaviur to the
main menu hyperlink to make the .gif layer visible and therefore no matter
what I tried it wa never going to happen. So in short you fixed my problem -
many thanks keep up the good work with the service you provide for everyone
on this forum and thanks once again.
Craig

"Jim Buyens" wrote:

> There's a complete procedure that includes this technique at:
>
> Creating DHTML Menus in FrontPage 2003
> http://www.interlacken.com/winnt/tip...ow.aspx?tip=28
>
> Jim Buyens
> Microsoft MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Windows SharePoint Services Inside Out
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------
>
> "Craig" wrote:
>
> > Can someone please tell me how to apply a behaviour to hide a drop down menu
> > using a transparent .gif file.
> > I can see the change property box but what gets entered into them to produce
> > this affect.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Behaviours - Am I mad =?Utf-8?B?UnVzczc3?= Microsoft Frontpage 2 3rd Nov 2004 11:17 PM
Strange behaviours Gary Miller Windows XP General 0 10th Jun 2004 06:09 PM
Layers & behaviours Greg Microsoft Frontpage 5 17th Apr 2004 10:40 AM
Three strange behaviours in IE 6 Ben Windows XP Internet Explorer 0 11th Mar 2004 10:38 AM
Strange Admin behaviours help Windows XP Security 0 4th Sep 2003 04:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 AM.