Hide any object ? help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • yazboz
    Private

    • Jul 2007
    • 2

    Hide any object ? help

    hello

    at first start the page. for any object ( visible = true ) . how can i to give this code ?


    for example:
    this button in my page but i don't to be show
    <input type="submit" id="Button1"" name="Button1" value="Submit">

    i test it this code but can't run
    <input type="submit" id="Button1"" name="Button1" value="Submit" visible ="true">


    thanks
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: Hide any object ? help

    There is no html attribute "visible". If you are trying to hide an element (or display a hidden element) you have to use css such as

    <input type="submit" id="Button1"" name="Button1" value="Submit" style ="display: none;">

    or

    <input type="submit" id="Button1"" name="Button1" value="Submit" style ="display: inline;">

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: Hide any object ? help

      If you use a div to position your element, you can include a visibility: hidden , like: (in this case i used an image as example)

      <div id="my_element" style="position:absolute;left:118px;top:102px;widt h:182px;height:34px;visibility:hidden; align="left">
      <img src="images/my_image.gif" id="my_image" align="top" alt="" title="" border="0" width="182" height="34"></div>


      Otherwise, right click your Bv object and select html, then, in the Inside Tag insert:

      style="visibility:hidden"

      which is the same more or less as the code Watdaflip has presented above.
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • yazboz
        Private

        • Jul 2007
        • 2

        #4
        Re: Hide any object ? help

        thanks very much

        Comment

        Working...
        X