1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Php simple +/- menu question

Discussion in 'PHP' started by Farkas, Dec 20, 2005.

  1. #1
    Hi,

    I'm kinda newbie in php but I'm looking for a little script. I didnt know how to ask it, that's because i photoshoped it. So as you can see the upper 2 boxes are from "google analytics" and the lower 2 grey boxes are from my site www.paarden-info.be. It's a dutch site but the thing is that i want the menu changed as in the pic but then without the +.

    [​IMG]

    I tried searching but don't know on what term to search.
    I know it's a simple script that does this because I've already seen the script but aperently I lost it. And now I want to use it for my site.

    I hope you guys could help me out?
     
    Farkas, Dec 20, 2005 IP
  2. HN Will

    HN Will Guest

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    From my understanding this is a client-side question. Php can dynamically pump out the data to the browser but to get all the fancy movement and such (if i'm even on the right track) your going to need some javascript.
     
    HN Will, Dec 20, 2005 IP
  3. Farkas

    Farkas Well-Known Member

    Messages:
    389
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Maybe it can be done with javascript but i had a simple php script that did this so i'm looking to find that one back. I know it's a basic script that if you click one word , there rolls out a few other words that are clickable and show a new page then.
     
    Farkas, Dec 20, 2005 IP
  4. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If the menu changed without the page reloading then it will use javascript, if the page reloaded then it can be done with php and css.

    I recommend using a dhtml menu
     
    dave487, Dec 21, 2005 IP
  5. Farkas

    Farkas Well-Known Member

    Messages:
    389
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    140
    #5
    I just tried dhtml but it isn't that what i was looking for.
    It just pops up above all the other thinks, it has to come below the original link.
    Anybody got/know what i'm looking for?
     
    Farkas, Dec 22, 2005 IP
  6. cornelius

    cornelius Peon

    Messages:
    206
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    sounds like a javascript problem not php

    in php u have to submit every time something changes
     
    cornelius, Dec 22, 2005 IP
  7. mikmik

    mikmik Guest

    Messages:
    356
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #7
    mikmik, Dec 22, 2005 IP
    Farkas likes this.
  8. Farkas

    Farkas Well-Known Member

    Messages:
    389
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    140
    #8
    Farkas, Dec 22, 2005 IP