Results 1 to 2 of 2

Thread: New to this. Menu table id help.

  1. #1
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New to this. Menu table id help.

    I am tweaking a script and I have this menu I want to change around.

    it had this code which called the id="city_stat"

    Code:
    <td id="city_stat" style="color: green; text-align: right;"></td></tr>');
    "city_stat" was part of a function with a formula.

    I tried to add more code into that table, but dont know how to call "city_stat." I tried
    Code:
    <td style="text-align: right;">'+my_code+'<font color=green> <id="city_stat"></td></tr>');
    and
    Code:
    <td style="text-align: right;">'+my_code+'<font color=green> '+city_stat+'</td></tr>');

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The id will probably still need to be assigned to the td element. After all, from what you say, the script depends upon it. However, you really haven't given us much to go on. Please be more specific as to what code you want to add and how you are doing it, and what you want the result to be. Also, a link to your page would probably help too:

    Please post a link to the page on your site that contains the problematic code so we can check it out.


    And a link to the demo page (where you got the script) of the script would also help us to help you.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •