A sunshade includes a post having a rib-mounting member mounted thereon. A plurality of ribs, each having a rib end, are pivotally connected to the rib-mounting member. A runner is slidably mounted on the post. A plurality of stretchers each have a stretcher end pivotally connected to an intermediate portion of an associated rib and a runner end pivotally connected to the runner. An illuminating device is mounted in the runner or the rib-mounting member. Damage to the illuminating device is avoided, as the light modules and the wires of the illuminating device are hidden in the runner or the rib-mounting member.