';
17 |
18 | $cssTpl = '@CODE:';
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/dropdown_ie.css:
--------------------------------------------------------------------------------
1 | .menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
2 | .menu ul li a:hover ul li a.hide {display:none;}
3 |
4 | .menu ul li a:hover {color:#fff; background:#36f;}
5 | .menu ul li a:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
6 | .menu ul li a:hover ul li a.sub {background:#6a3; color:#fff;}
7 | .menu ul li a:hover ul li a {display:block; background:#ddd; color:#000;}
8 | .menu ul li a:hover ul li a ul {visibility:hidden;}
9 | .menu ul li a:hover ul li a:hover {background:#6fc; color:#000;}
10 | .menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:105px; top:0; color:#000;}
11 | .menu ul li a:hover ul li a:hover ul.left {left:-105px;}
12 |
--------------------------------------------------------------------------------
/core/components/wayfinder/docs/readme.txt:
--------------------------------------------------------------------------------
1 | ::::::::::::::::::::::::::::::::::::::::
2 | Snippet name: Wayfinder
3 | Short Desc: builds site navigation
4 | Version: 2.3.0 (Revolution compatible)
5 | Authors:
6 | Kyle Jaebker (muddydogpaws.com)
7 | Ryan Thrash (vertexworks.com)
8 | Shaun McCormick (splittingred.com)
9 | ::::::::::::::::::::::::::::::::::::::::
10 | Description:
11 | Totally refactored from original DropMenu nav builder to make it easier to
12 | create custom navigation by using chunks as output templates. By using templates,
13 | many of the paramaters are no longer needed for flexible output including tables,
14 | unordered- or ordered-lists (ULs or OLs), definition lists (DLs) or in any other
15 | format you desire.
16 | ::::::::::::::::::::::::::::::::::::::::
17 | Example Usage:
18 | [[Wayfinder? &startId=`0`]]
19 | ::::::::::::::::::::::::::::::::::::::::
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/template_revisited.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Change the css stylesheets to alter the menu type!
19 |
20 |
21 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/flyout_ie.css:
--------------------------------------------------------------------------------
1 | table {border-collapse:collapse; border:0; margin:0; padding:0;}
2 |
3 | .menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
4 | .menu ul li a:hover ul li a.hide {display:none;}
5 |
6 | .menu ul li a:hover {color:#fff; background:#b3ab79;}
7 | .menu ul li a:hover ul {display:block; position:absolute; top:0; left:105px; width:105px;}
8 | .menu ul li a:hover ul li a.sub {background:#dfc184; color:#000;}
9 | .menu ul li a:hover ul li a {display:block; background:#b3ab79; color:#fff; width:150px;}
10 | .menu ul li a:hover ul li a ul {visibility:hidden;}
11 | .menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;}
12 | .menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:151px; top:0; color:#000;}
13 | .menu ul li a:hover ul li a:hover ul li a {display:block; width:200px; background:#dfc184; color:#000;}
14 | .menu ul li a:hover ul li a:hover ul li a:hover {background:#bd8d5e; color:#fff;}
15 |
--------------------------------------------------------------------------------
/core/components/wayfinder/configs/cssplay-dropdown.config.php:
--------------------------------------------------------------------------------
1 |
8 |
';
26 |
27 | $cssTpl = '@CODE:
28 | ';
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/basic_dd_ie.css:
--------------------------------------------------------------------------------
1 | /* styling specific to Internet Explorer IE5.5 and IE6. Yet to see if IE7 handles li:hover */
2 |
3 | /* Get rid of any default table style */
4 | table {
5 | border-collapse:collapse;
6 | margin:0;
7 | padding:0;
8 | }
9 | /* ignore the link used by 'other browsers' */
10 | .menu ul li a.hide, .menu ul li a:visited.hide {
11 | display:none;
12 | }
13 | /* set the background and foreground color of the main menu link on hover */
14 | .menu ul li a:hover {
15 | color:#fff;
16 | background:#b3ab79;
17 | }
18 | /* make the sub menu ul visible and position it beneath the main menu list item */
19 | .menu ul li a:hover ul {
20 | display:block;
21 | position:absolute;
22 | top:32px;
23 | left:0;
24 | width:105px;
25 | }
26 | /* style the background and foreground color of the submenu links */
27 | .menu ul li a:hover ul li a {
28 | background:#faeec7;
29 | color:#000;
30 | }
31 | /* style the background and forground colors of the links on hover */
32 | .menu ul li a:hover ul li a:hover {
33 | background:#dfc184;
34 | color:#000;
35 | }
36 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/upmenu_ie.css:
--------------------------------------------------------------------------------
1 | table {border-collapse:collapse; margin:0; padding:0;}
2 | .menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
3 | .menu ul li a:hover ul li a.hide {display:none;}
4 |
5 | .menu ul li a:hover {color:#000; background:#e9e9c7;}
6 | .menu ul li a:hover ul {display:block; position:absolute; bottom:26px; left:0;}
7 | .menu ul li a:hover ul li {display:block; background:#fff; color:#000; width:199px;}
8 | .menu ul li a:hover ul li a.sub {background:#a7c9c9; color:#000;}
9 | .menu ul li a:hover ul li a {display:block; background:#c9a7c9; color:#000; width:100%; padding-left:10px;}
10 | .menu ul li a:hover ul li a ul {visibility:hidden;}
11 | .menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;}
12 | .menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:210px; bottom:0;}
13 | .menu ul li a:hover ul li a:hover ul li a {background:#dfc184; color:#000;}
14 | .menu ul li a:hover ul li a:hover ul li a:hover {background:#c9c9a7; color:#000;}
15 |
16 | .menu ul li a:hover ul.left {left:-105px;}
17 | .menu ul li a:hover ul li a:hover ul.left {left:-210px;}
18 |
--------------------------------------------------------------------------------
/core/components/wayfinder/configs/cssplay-flyout.config.php:
--------------------------------------------------------------------------------
1 |
8 |
';
30 |
31 | $cssTpl = '@CODE:
32 | ';
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/dropline_ie.css:
--------------------------------------------------------------------------------
1 | table {border-collapse:collapse; margin:0; padding:0;}
2 |
3 | .menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
4 | .menu ul li a:hover ul li a.hide {display:none;}
5 | .menu ul li a, .menu ul li a:visited {background:#c9c9a7 url(drop.gif) 20px right no-repeat;}
6 |
7 |
8 | .menu ul li a:hover {color:#fff; background:#b3ab79;}
9 | .menu ul li a:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;}
10 | .menu ul li a:hover ul.right_side li {float:right; border-width:0 1px 0 0 0;}
11 | .menu ul li a:hover ul.left_side li {float:left;}
12 | .menu ul li a:hover ul li a.sub {background:#bd8d5e url(drop2.gif) 20px right no-repeat; color:#fff;}
13 | .menu ul li a:hover ul li a {display:block; background:#b3ab79; color:#fff;}
14 | .menu ul li a:hover ul li a ul {visibility:hidden;}
15 | .menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;}
16 | .menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:0; top:30px; color:#000; background:#dfc184;}
17 | .menu ul li a:hover ul li a:hover ul li a {background:#dfc184; color:#000;}
18 | .menu ul li a:hover ul li a:hover ul li a:hover {background:#bd8d5e; color:#fff;}
19 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/dropdown.css:
--------------------------------------------------------------------------------
1 | /* common styling */
2 | .menu {font-family: arial, sans-serif; width:750px; position:relative; margin:0; font-size:11px; margin:2px 0 100px 0; z-index:100;}
3 | .menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000;width:104px; height:20px; text-align:center; color:#fff; border:1px solid #fff; background:#710069; line-height:20px; font-size:11px; overflow:hidden;}
4 | .menu ul {padding:0; margin:0;list-style-type: none; }
5 | .menu ul li {float:left; margin-right:1px; position:relative;}
6 | .menu ul li ul {display: none;}
7 |
8 | /* specific to non IE browsers */
9 | .menu ul li:hover a {color:#fff; background:#36f;}
10 | .menu ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
11 | .menu ul li:hover ul li a.hide {background:#6a3; color:#fff;}
12 | .menu ul li:hover ul li:hover a.hide {background:#6fc; color:#000;}
13 | .menu ul li:hover ul li ul {display: none;}
14 | .menu ul li:hover ul li a {display:block; background:#ddd; color:#000;}
15 | .menu ul li:hover ul li a:hover {background:#6fc; color:#000;}
16 | .menu ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
17 | .menu ul li:hover ul li:hover ul.left {left:-105px;}
18 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/flyout.css:
--------------------------------------------------------------------------------
1 | /* common styling */
2 | .menu {font-family: arial, sans-serif; width:106px; height:150px; position:relative; margin:0; font-size:11px; margin:50px 0;}
3 | .menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000; width:104px; height:20px; text-align:center; border:1px solid #fff; border-width:1px 1px 0 0; background:#c9c9a7; line-height:19px; font-size:11px;}
4 | .menu ul {padding:0; margin:0;list-style-type: none; }
5 | .menu ul li {float:left; margin-right:1px; position:relative;}
6 | .menu ul li ul {display: none;}
7 |
8 | /* specific to non IE browsers */
9 | .menu ul li:hover a {color:#fff; background:#b3ab79;}
10 | .menu ul li:hover ul {display:block; position:absolute; top:0; left:105px; width:105px;}
11 | .menu ul li:hover ul li a.hide {background:#dfc184; color:#000;}
12 | .menu ul li:hover ul li:hover a.hide {width:150px;}
13 | .menu ul li:hover ul li ul {display: none;}
14 | .menu ul li:hover ul li a {display:block; background:#b3ab79; color:#000; width:150px;}
15 | .menu ul li:hover ul li a:hover {background:#dfc184; color:#000;}
16 | .menu ul li:hover ul li:hover ul {display:block; position:absolute; left:151px; top:0; color:#000;}
17 | .menu ul li:hover ul li:hover ul li a {display:block; width:200px; background:#dfc184; color:#000;}
18 | .menu ul li:hover ul li:hover ul li a:hover {background:#bd8d5e; color:#fff;}
19 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/slidingdoors/slidingdoors.css:
--------------------------------------------------------------------------------
1 | /*
2 | SlidingDoors CSS by
3 | Douglas Bowman
4 | http://www.stopdesign.com
5 | http://www.alistapart.com/articles/slidingdoors2/
6 | */
7 |
8 | #menu {
9 | float:left;
10 | width:100%;
11 | background:#DAE0D2 url("images/bg.gif") repeat-x bottom;
12 | font-size:93%;
13 | line-height:normal;
14 | }
15 | #menu ul {
16 | margin:0;
17 | padding:10px 10px 0;
18 | list-style:none;
19 | }
20 | #menu li {
21 | float:left;
22 | background:url("images/left_both.gif") no-repeat left top;
23 | margin:0;
24 | padding:0 0 0 9px;
25 | border-bottom:1px solid #765;
26 | }
27 | #menu a {
28 | float:left;
29 | display:block;
30 | width:.1em;
31 | background:url("images/right_both.gif") no-repeat right top;
32 | padding:5px 15px 4px 6px;
33 | text-decoration:none;
34 | font-weight:bold;
35 | color:#765;
36 | }
37 | #menu > ul a {width:auto;}
38 | /* Commented Backslash Hack hides rule from IE5-Mac \*/
39 | #menu a {float:none;}
40 | /* End IE5-Mac hack */
41 | #menu a:hover {
42 | color:#333;
43 | }
44 | #menu li.current {
45 | background-position:0 -150px;
46 | border-width:0;
47 | }
48 | #menu li.current a {
49 | background-position:100% -150px;
50 | padding-bottom:5px;
51 | color:#333;
52 | }
53 | #menu li:hover, #header li:hover a {
54 | background-position:0% -150px;
55 | color:#333;
56 | }
57 | #menu li:hover a {
58 | background-position:100% -150px;
59 | }
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/upmenu.css:
--------------------------------------------------------------------------------
1 | /* common styling */
2 | .menu {font-family: verdana, arial, sans-serif; width:735px; position:relative; font-size:11px; margin:50px auto;}
3 | .menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; width:94px; height:25px; text-align:left; color:#000; padding-left:10px; border:1px solid #fff; border-width:0 1px 1px 0; background:#c9c9a7; line-height:25px; font-size:11px;}
4 | .menu ul {padding:0; margin:0;list-style-type: none; }
5 | .menu ul li {float:left; position:relative;}
6 | .menu ul li ul {display: none;}
7 |
8 | /* specific to non IE browsers */
9 | .menu ul li:hover a {color:#000; background:#e9e9c7;}
10 | .menu ul li:hover ul {display:block; position:absolute; bottom:26px; left:0;}
11 | .menu ul li:hover ul li a.hide {background:#a7c9c9; color:#000;}
12 | .menu ul li:hover ul li {display:block; background:#fff; color:#000;width:199px; clear:both;}
13 | .menu ul li:hover ul li:hover a.hide {background:#dfc184; color:#000;}
14 | .menu ul li:hover ul li ul {display: none;}
15 | .menu ul li:hover ul li a {display:block; background:#c9a7c9; color:#000; width:100%; padding-left:10px;}
16 | .menu ul li:hover ul li a:hover {background:#dfc184; color:#000;}
17 | .menu ul li:hover ul li:hover ul {display:block; position:absolute; left:210px; bottom:0;}
18 | .menu ul li:hover ul li:hover ul li a {background:#dfc184; color:#000;}
19 | .menu ul li:hover ul li:hover ul li a:hover {background:#c9c9a7; color:#000;}
20 |
21 | .menu ul li:hover ul.left {left:-105px;}
22 | .menu ul li:hover ul li:hover ul.left {left:-210px; width:209px;}
23 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
Change the css stylesheets to alter the menu type!
21 |
22 | [!Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`wfParentRow` &outerTpl=`wfOuter` &innerTpl=`wfInner` &rowTpl=`wfRow`]]
23 |
24 |
25 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/dropline.css:
--------------------------------------------------------------------------------
1 | /* common styling */
2 | .menu {font-family: arial, sans-serif; width:749px; height:30px; position:relative; margin:0; font-size:11px; margin:50px 0; background:#fff; position:relative;}
3 | .menu ul {padding:0; margin:0; list-style-type: none;}
4 | .menu ul li {float:left; border-left:1px solid #eee; width:106px;}
5 | .menu ul li a, .menu ul li a:visited {display:block; float:left; width:101px; text-decoration:none; padding:0 0 0 5px; height:30px; line-height:30px; color:#000; background:#c9c9a7 url(drop.gif) bottom right no-repeat;}
6 | .menu ul li ul {display: none;}
7 |
8 | /* specific to non IE browsers */
9 | .menu ul li:hover a {color:#fff; background:#b3ab79;}
10 | .menu ul li:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;}
11 | .menu ul li:hover ul.right_side li {float:right; border:0; border-left:1px solid #eee;}
12 | .menu ul li:hover ul.left_side li {float:left; border:0; border-left:1px solid #eee;}
13 | .menu ul li:hover ul li a.hide {background:#bd8d5e url(drop2.gif) bottom right no-repeat; color:#fff;}
14 | .menu ul li:hover ul li:hover a.hide {background:#b3ab79; color:#fff;}
15 | .menu ul li:hover ul li ul {display: none;}
16 | .menu ul li:hover ul li a {display:block; background:##b3ab79; color:#fff;}
17 | .menu ul li:hover ul li a:hover {background:#dfc184; color:#000;}
18 | .menu ul li:hover ul li:hover ul {display:block; position:absolute; left:0; top:30px; color:#000; background:#dfc184;}
19 | .menu ul li:hover ul.right li {float:right;}
20 | .menu ul li:hover ul li:hover a.hide {background:#dfc184; color:#000;}
21 | .menu ul li:hover ul li:hover ul li a {background:#dfc184; color:#000;}
22 | .menu ul li:hover ul li:hover ul li a:hover {background:#bd8d5e; color:#fff;}
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/basic_dd.css:
--------------------------------------------------------------------------------
1 | /* common styling */
2 | /* set up the overall width of the menu div, the font and the margins */
3 |
4 | .menu {
5 | font-family: arial, sans-serif;
6 | width:750px;
7 | margin:0;
8 | margin:20px 0 60px 0;
9 | position:relative;
10 | z-index:100;
11 | }
12 | /* remove the bullets and set the margin and padding to zero for the unordered list */
13 | .menu ul {
14 | padding:0;
15 | margin:0;
16 | list-style-type: none;
17 | }
18 | /* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
19 | .menu ul li {
20 | float:left;
21 | position:relative;
22 | }
23 | /* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
24 | .menu ul li a, .menu ul li a:visited {
25 | display:block;
26 | text-align:center;
27 | text-decoration:none;
28 | width:106px;
29 | height:30px;
30 | color:#000;
31 | border:1px solid #fff;
32 | border-width:1px 1px 0 0;
33 | background:#c9c9a7;
34 | line-height:30px;
35 | font-size:11px;
36 | }
37 | /* make the dropdown ul invisible */
38 | .menu ul li ul {
39 | display: none;
40 | }
41 |
42 | /* specific to non IE browsers */
43 | /* set the background and foreground color of the main menu li on hover */
44 | .menu ul li:hover a {
45 | color:#fff;
46 | background:#b3ab79;
47 | }
48 | /* make the sub menu ul visible and position it beneath the main menu list item */
49 | .menu ul li:hover ul {
50 | display:block;
51 | position:absolute;
52 | top:31px;
53 | left:0;
54 | width:105px;
55 | }
56 | /* style the background and foreground color of the submenu links */
57 | .menu ul li:hover ul li a {
58 | display:block;
59 | background:#faeec7;
60 | color:#000;
61 | }
62 | /* style the background and forground colors of the links on hover */
63 | .menu ul li:hover ul li a:hover {
64 | background:#dfc184;
65 | color:#000;
66 | }
67 |
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/flyout_revisited.css:
--------------------------------------------------------------------------------
1 | .menu {
2 | position:relative;
3 | z-index:1000;
4 | font-size:90%;
5 | }
6 |
7 | /* remove all the bullets, borders and padding from the default list styling */
8 | .menu ul {
9 | padding:0;
10 | margin:0;
11 | list-style-type:none;
12 | width:150px;
13 | }
14 | /* hack for IE5.5 */
15 | * html .menu ul {margin-left:-16px; ma\rgin-left:0;}
16 | /* position relative so that you can position the sub levels */
17 | .menu li {
18 | position:relative;
19 | }
20 |
21 | /* get rid of the table */
22 | table {position:absolute; top:0; left:0; z-index:100; font-size:1em;}
23 |
24 | /* style the links */
25 | .menu a, .menu a:visited {
26 | display:block;
27 | text-decoration:none;
28 | height:25px;
29 | line-height:25px;
30 | width:149px;
31 | color:#000;
32 | background:#d4d8bd;
33 | text-indent:5px;
34 | border:1px solid #fff;
35 | border-width:0 1px 1px 0;
36 | }
37 | /* hack for IE5.5 */
38 | * html .menu a, * html .menu a:visited {width:150px; w\idth:149px;}
39 | /* style the link hover */
40 | .menu a:hover{
41 | color:#fff;
42 | background:#949e7c;
43 | }
44 |
45 | /* hide the sub levels and give them a positon absolute so that they take up no room */
46 | .menu ul ul {
47 | visibility:hidden;
48 | position:absolute;
49 | top:0;
50 | left:150px;
51 | }
52 | /* make the second level visible when hover on first level list OR link */
53 | .menu ul :hover ul{
54 | visibility:visible;
55 | }
56 | /* keep the third level hidden when you hover on first level list OR link */
57 | .menu ul :hover ul ul{
58 | visibility:hidden;
59 | }
60 | /* keep the fourth level hidden when you hover on second level list OR link */
61 | .menu ul :hover ul :hover ul ul{
62 | visibility:hidden;
63 | }
64 | /* make the third level visible when you hover over second level list OR link */
65 | .menu ul :hover ul :hover ul{
66 | visibility:visible;
67 | }
68 | /* make the fourth level visible when you hover over third level list OR link */
69 | .menu ul :hover ul :hover ul :hover ul {
70 | visibility:visible;
71 | }
--------------------------------------------------------------------------------
/core/components/wayfinder/examples/cssplay/chunks.txt:
--------------------------------------------------------------------------------
1 | ***********************************************************************************************************
2 | Create following chunks for all other than the revisited flyout and dropdown menus (for these, see below) *
3 | *
4 | These chunks are meant for the menus that are in template.html !! *
5 | *
6 | wfOuter:
7 | --------
8 |
9 |
45 |
46 |
47 | ***********************************************************************************************************
48 | For the revisited flyout and dropdown menu, you only need the following chunk *
49 | *
50 | This chunk is meant for the menus that are in template_revisited.html !! *
51 | *
52 | wfParentRow:
53 | ------------
54 |
55 |