Results 1 to 4 of 4

Thread: How to add a collapsible index / menu for url links

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    200
    Reputation
    10

    Default How to add a collapsible index / menu for url links

    Hi, I have a website that I want to develop a bit more and would like an easy to use app that will place a collapsible index on the left side of my web page similar to what Outlook uses.
    I have had a search on the net and this site but cannot find quite that sort of thing.
    Can anyone point me i the right direction?

    Cheers



Look Here ->
  • #2
    Premium Member

    Join Date
    Jan 2008
    Posts
    4,311
    Thanks
    5,982
    Thanked 4,171 Times in 1,771 Posts
    Rep Power
    1349
    Reputation
    50392

    Default

    Do you mean a "pop-up" or "drop-down" menu of some kind?

    If so, do a Google search using terms such as, how to code webpage popup.

    The page at might be helpful.

    You could also search for a web site, which utilises the facility you wish to create, and examine the source code for that page. This will indicate how the creator of that particular page achieved the effect.

  • #3
    Junior Member
    Join Date
    Sep 2010
    Location
    Boston, ma
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    i also don`t understood you clearly..try this code

    <menu

    xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@+id/text1"
    android:title="Text" />
    <item android:id="@+id/text2"
    android:title="Text" />
    <item android:id="@+id/text3"
    android:title="Text" />
    </menu>


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
    MenuInflater inflater = getMenuInflater();
    inflater.inflate(R.menu.menu, menu);
    return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
    switch (item.getItemId()) {
    case R.id.text1: Toast.makeText(this, "You pressed

    the icon!", Toast.LENGTH_LONG).show();
    break;
    case R.id.text2: Toast.makeText(this, "You pressed

    the icon!", Toast.LENGTH_LONG).show();
    break;
    case R.id.text3: Toast.makeText(this, "You pressed

    the icon!", Toast.LENGTH_LONG).show();
    break;
    }
    return true;
    }

    }

  • #4
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    665
    Reputation
    16938

    Default

    that looks more like a backdoor code for you to hack into
    install wordpress on your hosting\site
    it has drop down menu

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •