HighDots Forums  

DHTML on pc

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss DHTML on pc in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
judas2
 
Posts: n/a

Default DHTML on pc - 07-16-2004 , 04:44 PM






This code works fine on Mac
Does anybody knows if it is good on PC too?
Thx

<p><a href="javascript:;"
onClick="MM_showHideLayers('menu1','','show','menu 2','','hide');MM_timelinePlay(
'Timeline1');MM_timelineGoto('Timeline1','1')">pri mo</a></p>
<p><a href="javascript:;"
onClick="MM_showHideLayers('menu1','','hide','menu 2','','show');MM_timelinePlay(
'Timeline2');MM_timelineGoto('Timeline2','1')">sec ondo</a></p>


Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: DHTML on pc - 07-16-2004 , 05:30 PM






Quote:
Does anybody knows if it is good on PC too?
Stick it on a page and then post the link.

-Darrel




Reply With Quote
  #3  
Old   
judas2
 
Posts: n/a

Default Re: DHTML on pc - 07-16-2004 , 05:38 PM



Thx Darrel
http://spamo.spymac.net/menu2.htm
quite raw, just to see if the code works
thx

Reply With Quote
  #4  
Old   
darrel
 
Posts: n/a

Default Re: DHTML on pc - 07-16-2004 , 06:43 PM



Quote:
Thx Darrel
http://spamo.spymac.net/menu2.htm
quite raw, just to see if the code works
Seems to work in Firerox/.9 and IE/6.

-Darrel




Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: DHTML on pc - 07-16-2004 , 10:20 PM



Sure it works. But this is not the best way to do dHTML menus, you know?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"judas2" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
This code works fine on Mac
Does anybody knows if it is good on PC too?
Thx

p><a href="javascript:;"

onClick="MM_showHideLayers('menu1','','show','menu 2','','hide');MM_timelineP
lay(
Quote:
'Timeline1');MM_timelineGoto('Timeline1','1')">pri mo</a></p
p><a href="javascript:;"

onClick="MM_showHideLayers('menu1','','hide','menu 2','','show');MM_timelineP
lay(
Quote:
'Timeline2');MM_timelineGoto('Timeline2','1')">sec ondo</a></p




Reply With Quote
  #6  
Old   
judas2
 
Posts: n/a

Default Re: DHTML on pc - 07-17-2004 , 03:19 AM



Murray, I noticed the amount of code I produced with that raw thing. If you
have any suggestiond I'll be glad to follow it. I just need some good link
(PVII is not for free, and I'd like to pay the less as possible)


Reply With Quote
  #7  
Old   
John Gaver
 
Posts: n/a

Default Re: DHTML on pc - 07-17-2004 , 04:21 AM



On 7/17/04 2:19 AM, in article cdaju1$mu3$1 (AT) forums (DOT) macromedia.com, "judas2"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
(PVII is not for free, and I'd like to pay the less as possible)

PVII sells their Menu Magic line.

PVII free extensions are included with the following tutorials:

simple PVII menus:
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm

PVII positioned popup menus:
http://www.projectseven.com/tutorials/navigation/snapmenus/index.htm

With those tutorials and the free extensions that come with them, you can
build a very respectable menu. Neither of these tutorials tell you how to
use the extensions to build multi-layer menus, but with very little
tweaking, you can even do that. They are both designed to be horizontal, but
they can both be easily turned into vertical menus.

John Gaver
Action America
(forget everything to contact me direct)

Microsoft: (n) Job security for IT consultants.



Reply With Quote
  #8  
Old   
judas2
 
Posts: n/a

Default Re: DHTML on pc - 07-17-2004 , 06:07 AM



Thx a lot John Gaver
I have to spend much more time on PVII site. I thought everything was for sell. Now I'm gonna study your tutorials.
Thx very much indeed

Reply With Quote
  #9  
Old   
John Gaver
 
Posts: n/a

Default Re: DHTML on pc - 07-17-2004 , 08:52 AM



On 7/17/04 5:07 AM, in article cdatoa$3ks$1 (AT) forums (DOT) macromedia.com, "judas2"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
Thx a lot John Gaver
I have to spend much more time on PVII site. I thought everything was for
sell. Now I'm gonna study your tutorials.
Thx very much indeed
Glad to help.

BTW, while looking at the tutorials, you should be aware that it is possible
to do more than a single layer dropdown. The key is the following code
generated by PVII (I picked submenu 3 for the example, but it can be any
submenu):

onMouseOver="P7_autoLayers(0,'p7simonsubs3')

Notice the "0", in the above behavior call. Then change it to something like
this, for a second layer of submenus:

onMouseOver="P7_autoLayers(2,'p7simonsubs3','p7sim onsubs3a')

In the above example, you would have to create "p7simonsubs3a", yourself.
You have to create a style for each sub-submenu level on each submenu (i.e.
If submenu 3 has 2 sub-submenus and submenu 4 has 3 sub-submenus, then you
will have to create styles 3a, 3b, 4a, 4b and 4c). You will also notice that
you include both the submenu and sub-submenu in the P7_autoLayers behavior.
You will also discover that placing hide and autohide behaviors becomes
somewhat more complicated. But once you get over the above hurdle, the rest
should fall into place, with a little work.

Also note that in the PVII examples, the main menu items are images, that
take time to load. If you are trying to save load time, they can just as
easily be made into text rollovers, using the "block" setting, in the
rollover style and by playing with border colors, you can make the text
buttons look like rectangular graphic buttons (see how I implemented both
features at http://www.megafolia.com).

Well, I gotta get ready to go the HAAUG (Houston Area Apple User Group)
meeting, so I won't be around for a while.

Enjoy!

John Gaver
Action America
(forget everything to contact me direct)

Microsoft: (n) Job security for IT consultants.



Reply With Quote
  #10  
Old   
judas2
 
Posts: n/a

Default Re: DHTML on pc - 07-17-2004 , 10:38 AM



Thx John!!!!
I confess that I would like to be able to build a menu like the one in the
PVII pages (with that enlarging effect of submenu). That's why I did something
like that in the only way I've been able to think about.
Enjoy yourself with the other mac users
I'm a Mac user too.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.