View Full Version : Dynamic Drive CSS and MODx
kitten2781
08-11-2009, 05:35 AM
I'm trying to add the css found here: http://www.dynamicdrive.com/style/csslibrary/item/sliding-doors-tabs-menu/ to my MODx site here: http://kittyinrose.com/modx/index.php?id=51
As you can see, they don't look the same. Has anyone successfully added Dynamic Drive CSS templates to MODx? I'm not sure why my links aren't displaying correctly.
Please help!
:confused:
ddadmin
08-11-2009, 06:06 PM
Looking at your HTML for the menu, it's mising the <span> tags that need to go in the <a> link of each menu item.
<div id="slidetabsmenu">
<ul><li><a href="/modx/index.php?id=47" title="Digital Art" Digital Art>Digital Art</a></li>
<li><a href="/modx/index.php?id=48" title="Sketches" Sketches>Sketches</a></li>
<li><a href="/modx/index.php?id=49" title="Illustrations" Illustrations>Illustrations</a></li>
<li><a href="/modx/index.php?id=50" title="Resume" Resume>Resume</a></li>
<li class="last"><a href="/modx/index.php?id=52" title="Contact" Contact>Contact</a></li>
</ul>
</div>
Please see the original HTML for the menu again.
kitten2781
08-11-2009, 07:43 PM
Do you know how to add a span tag around the WayFinder code for each link? Here is my code:
<div id="slidetabsmenu">
[!Wayfinder?startId=`54` &level=`1` %rowClass=`slidetabsmenu`!]
</div>
It automatically detects what my links are based on the ID number of the parent folder.
ddadmin
08-11-2009, 08:36 PM
I'm not familiar at all with the WayFinder code syntax unfortunately. Just to make sure we're on the same page, the span tags you want to insert are in between the A tags:
<li><a href="http://www.dynamicdrive.com" title="Home"><span>Home</span></a></li>
kitten2781
08-11-2009, 09:12 PM
Does anyone know how to make it work with MODx WayFinder? I know how to do it in html.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.