Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

CSS/JavaScript Dropdown Menu v1.0e

Asked Modified Viewed 50,810 times
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
  • Started this discussions
asked
Veteran Member

[mp]115[/mp]
0 replies

85 posts

J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

Quote

Remus wrote:

A very nice infusion :D

I've made one main modification by putting it in the sub-header navbar instead of letting it create a new navbar above it. I'd like to make one more modification: to use a &middot at the beginning of each <li>. However, the &middot appears on a line above the hyperlink and I really cannot figure out why.

Effectively, each list item should echo in html as:
[syntaxhighlighter brush=html,first-line=1,highlight=0,collapse=false,html-script=false]<li> &middot; <a href='link.php' target='_blank'>Menu Item</a></li>[/syntaxhighlighter]

An example of the code taken from menu.php - note that I'm skipping using THEME_BULLET to take that out of my hunt:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "<li> &middot; <a href='".$mdata['menu_link']."'".$link_target.">".$mdata['menu_name']."</a>\n";[/syntaxhighlighter]

I've tried ruling out margin, padding and z-index simply because this symbol is inside the <li>.

Is there anything you can suggest I do to solve this? Thank you!

I realize this thread is a few months old but it is still on the front page.

I too am trying to get the middot.
Did you every get it working properly?

I am also trying to get the Date and Time in the DDM.

I have added this code to my Theme instead of adding it as another banner in the Main Settings.
//New Header in theme for Deluxe Drop Down Menu
   echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n<tr>\n";
   echo "<td class='full-header'>\n".showbanners()."</td>\n";
   echo "</tr>\n</table>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n<tr>\n";
   echo "<td>\n";
   include INFUSIONS."deluxe_dropdown_menu/menu.php";
   echo "</td>\n";
   echo "</tr>\n</table>\n";

Thanks for a great infusion Smokeman.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 85 posts
  • Votes 0 votes
  • Topic users 23 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet