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 Dropdown menu

Asked Modified Viewed 4,978 times
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
asked
Junior Member

I have CSS Dropdown Menu 1.0e installed on a V7.02.xx install, but the Dropdown links are visible in the "Banner" section, rather than the top menu, where they are supposed to be. Can anybody help me fix this, or point me to another dropdown menu like mod/infusion (like on this very site, which seems to have a functional dropdown system).
0 replies

6 posts

F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

You need to include the next code in theme.php

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]

echo "<table cellspacing='0' cellpadding='0' border='0' style='padding-top: 3px;' width='100%' align='center'>\n<tr>\n
<td align='left'>\n";
include INFUSIONS."css_dropdown_menu/menu.php";
echo "</td>\n</tr>\n
</table>\n";
[/syntaxhighlighter]

If you need help add your theme.php file from your current theme.
0 replies
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

I tried to just add the aforementioned code to the bottom of the document (but before the php closing tag), but then the links were displayed on the top of the page, so still no succes. So, as requested, I've added the theme.php file. BTW, it's the Shadowtrek theme by 10gauge, in case you're curious.
i7Grendel attached the following file:
theme_2.zip [No information available / 293 Downloads]
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Find this in theme.php:
echo "<div class='flleft'>".showsublinks(" ")."</div>\n";

- replace it with this:
echo "<div class='flleft'>";
include INFUSIONS."css_dropdown_menu/menu.php";
echo "</div>\n";
0 replies
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

I modified themes.php as was explained above. However, it still doesn't quite work as supposed to. It's currently a dropSIDE menu rather than a dropdown. Take a look for yourself: http://x10.i7grendel.tk/
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

hi smokeman

where can find CSS Dropdown menu for php-fusion 7.02.03 ?
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

@i7Grendel: Where can I download the theme so I can test for my self ?

@behrooz: It's working in V7.00.xx, V7.01.xx and V7.02.xx
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
F
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
B
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
I
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet