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?

How to... elements from menu

Asked Modified Viewed 3,040 times
Z
zokipoki
Z
  • Junior Member, joined since
  • Contributed 48 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
asked
Junior Member

I'm once again. Interest me, how to make this elements displayed on menu (see picture)

1. not linked title
2. dashed or colorized row when a title of menu items
3. arrow for collapsed/expanded block

img145.imageshack.us/img145/2155/menusamplegc7.gif
0 replies

7 posts

S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Hi. This is a very common q my friend! Check out 1] PHPFusion Faq at this very site, it's all explained there.

Expandable panels:

openside[b]x[/b]("Panel Name",[b]"off"[/b]);
  echo "Some content for the panel";

closeside[b]x[/b]();


Panel Name, "ON" or "OFF" for default state opened or closed!

If you run into any problems, please ask again, no worries! :)
0 replies
— 1 year later —
B
brinck
B
brinck 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Can you make the expandaple panels, so that only users can expand and collapse?
0 replies
S
stranded
S
  • Member, joined since
  • Contributed 183 posts on the community forums.
  • Started 53 threads in the forums
answered
Member

You can make whole panels for registered users only.



opensidex("Panel Name","off");
if(!iGUEST) {
  echo "Some content for the panel";

closesidex();
Edited by stranded on 11-09-2008 18:32,
0 replies
B
brinck
B
brinck 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Yes, it's easy to do from the admin panel as well...but I need the arrow to be visible only for users...
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Try:

if (iGUEST) {
openside("Panel Name");
}
else {
opensidex("Panel Name","off");
}

  echo "Some content for the panel";

if (iGUEST) {
closeside();
}
else {
closesidex();
}
0 replies
B
brinck
B
brinck 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Yeeeess!!! You have made my day! Thx!
0 replies
H
HaRd_sToNe
H
Electronics Project
MyBlog
ThenITSok.com

shockDa world is HELL.............
.............n peoples are DEMONS
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

Ya this is..
0 replies

Labels

None yet

Statistics

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

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet