Professional Web Applications Themes

Dynamically showing button - Macromedia Dynamic HTML

I would like a button to display ONLY when a link to a URL exists in the database. I could add an extra field in the database with the URL to the button's image, but would prefer to do it dynamically. I am sure its something like, if .... but not sure how exactly to set it up. C...

Sponsored Links
  1. #1

    Default Dynamically showing button

    I would like a button to display ONLY when a link to a URL exists in the
    database.

    I could add an extra field in the database with the URL to the button's image,
    but would prefer to do it dynamically.

    I am sure its something like, if .... but not sure how exactly to set it up.

    C

    Sponsored Links
    colinwalton Guest

  2. #2

    Default Re: Dynamically showing button

    How about this, this is in ASP though:

    <%
    if (rsName.Fields.Item("Link") <> "") then
    <show button>
    else
    <do something else>
    end if
    %>

    envision3d Guest

  3. #3

    Default Re: Dynamically showing button

    Thanks - does anyone know how to do this in PHP?

    c
    colinwalton Guest

Similar Threads

  1. Dynamically adding Dropdown, Text Box, Add Button and Remove Button
    By Rocky in forum ASP.NET Building Controls
    Replies: 1
    Last Post: November 19th, 07:35 AM
  2. Pass URL in button dynamically
    By lak25 in forum Macromedia Flash Data Integration
    Replies: 0
    Last Post: January 11th, 02:26 AM
  3. Newbie: Showing content with the click of a button...?
    By Aqueousdan in forum Macromedia Flash
    Replies: 2
    Last Post: August 29th, 06:58 PM
  4. Pop-up menu not showing up when button in down state
    By flybaby webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 1
    Last Post: August 13th, 03:28 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139