My Dreamweaver training has hit a snag.


i working on part 6 of dreamweaver training , keep getting unaccounted problem 'show , hide navigation menu' of it.

how make website part 6, style web links , navigation | adobe dreamweaver cc tutorials

the above link page on , 'show , hide...' part 3/4's of way down.

 

when complete step 1 , put position absolute entire section expands right far can't seem find end of it. have tried few adjustments don't help. suggestions?

what might go wrong 

    

even if has gone point, menu might not work. if happens, harsh truth you’ve made mistake. browsers (and dreamweaver’s live view, extent) forgiving of mistakes in html. they’re pretty @ handling occasional mistake in css. that’s not case javascript. single mistake, , won’t work.

 

the script in menu.js uses what’s known iife (pronounced “iffy”), invoked function expression. means function executed immediately. takes 3 arguments: id of trigger link, id of unordered list, , number indicating breakpoint @ menu should hidden when browser viewport resized. if have given elements different ids or have spelled them differently, function won’t work. nor work if have spelled names of start, collapsed, , displayed classes. javascript case-sensitive, treats menulink , menulink being different values.

 

other things might go wrong include mistakes in css. there must no space in last 3 selectors defined: #navlink.displayed, #navlink.start, , #navlink.collapsed. check didn’t forget put semicolon @ end of each line in style rules typed manually.

 

if still can’t menu work, compare files in part6 folder of sample files. doesn’t matter if line numbers different. differences in code. dreamweaver can integrated third-party file comparison utility, can make easy find differences. see files learn more setting , using file compare.

 

don’t discouraged making mistakes. it’s important part of learning process. experts make mistakes. difference experience teaches them how spot , correct mistake more quickly.



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"