Updating the contents of cells in a table

Sharky Forums


Results 1 to 8 of 8

Thread: Updating the contents of cells in a table

  1. #1
    Hammerhead Shark slipgun's Avatar
    Join Date
    Oct 2000
    Location
    Torrance, CA
    Posts
    2,513

    Post Updating the contents of cells in a table

    Suppose I have an HTML file consisting of a table with a few cells plus the main design of the site. Now I don't want to keep the design on more than one file (easy to make changes).

    I want to change the contents of a particular cell and refresh 2 other cells (containing ads) when a button on the navbar is clicked. Any ideas on how to get this done?

    ------------------
    I, Bin Laden, declare a day of mourning in the whole of the Middle East over the death of an atomic bomb buried in the seabed of the Pacific

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    JavaScript could do all of that. There's also a neat way to turn on and off DIV's too, which I'm unsure as of yet. basically, you're looking at some combined Javascript, and Im sure you could find all of that functionality at least in parts, at javascript.internet.com

    On added thing, you can't "reload" a table cell, it's reload the whole page or not. What you could do is use floating frames in those tables cells though, that's the only way you could refresh *just* those cells.

    [This message has been edited by Grizzly (edited January 14, 2001).]

  3. #3
    Hammerhead Shark slipgun's Avatar
    Join Date
    Oct 2000
    Location
    Torrance, CA
    Posts
    2,513

    Post

    Floating frames?
    DIV?

    ------------------
    I, Bin Laden, declare a day of mourning in the whole of the Middle East over the death of an atomic bomb buried in the seabed of the Pacific

  4. #4
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Yeah SLippy. Try and find a CSS reference out there somewhere. And look into "Layer positiong" with DIV's.
    What a DIV is.....is anything you want to put between a <div> </div> tag. You can name it, and define it's properties with Stylesheets (CSS).
    There's a way to turn them on and off with a "visibility" attribute I believe.

    And a floating frame is only supported in IE for the most part, but it's basically a frame that you can put anywhere you want.

    I think it's <iframe name="floater" src="floater.html" width="100%"></iframe>

    Put something like that inside of a table cell, and you got yourself a floating frame.

  5. #5
    Hammerhead Shark slipgun's Avatar
    Join Date
    Oct 2000
    Location
    Torrance, CA
    Posts
    2,513

    Post

    Can't I do a site entirely in flash, making use of JavaScript?

    ------------------
    I, Bin Laden, declare a day of mourning in the whole of the Middle East over the death of an atomic bomb buried in the seabed of the Pacific

  6. #6
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Yeah you can make a site entirely in flash, no ones stopping you! That takes alooooot of time though, and you pretty much have to know what you're doing in Flash, which I can't say I do.

  7. #7

    Post

    Originally posted by slipgun:
    Can't I do a site entirely in flash, making use of JavaScript?

    You could, but a lot of people really hate sites done entirely in Flash (well, at least I do ) because I'm stuck with an old dialup 56k connection, so the flash takes forever to load. You might want to have an index page, one for flash and one for HTML, that's always good.



    ------------------
    ~Project Argentum~
    AMD Duron 700
    MSI K7T Pro2
    Kingston PC100 128 MB RAM
    Maxtor 20.4 GB 5400 RPM
    ATi Radeon 32 MB DDR
    Creative Labs Sound Blaster Live! Value
    Creative Labs Modem Blaster 56k PCI
    Memorex 48x CD-ROM
    Enlight 7237 300 Watt
    Samsung 17" 745FD Monitor
    Altec Lansing Gaming Speakers


    ~Wit and sarcasm are dangerous in the hands of a professional.
    ~Project Argentum~
    AMD Athlon Thunderbird 750 @ 803
    Cooler Master DP5-6H51
    MSI K7T Pro2
    Kingston PC100 128 MB RAM
    Maxtor 20.4 GB 5400 RPM
    ATi Radeon 32 MB DDR
    Creative Labs Sound Blaster Live! Value
    Creative Labs Modem Blaster 56k PCI
    Memorex 48x CD-ROM
    Enlight 7237 300 Watt
    Samsung 17" 745FD Monitor
    Altec Lansing Gaming Speakers


    ~Wit and sarcasm are dangerous in the hands of a professional.

  8. #8
    Hammerhead Shark slipgun's Avatar
    Join Date
    Oct 2000
    Location
    Torrance, CA
    Posts
    2,513

    Post

    Originally posted by Mr. Silver:
    You could, but a lot of people really hate sites done entirely in Flash (well, at least I do ) because I'm stuck with an old dialup 56k connection, so the flash takes forever to load. You might want to have an index page, one for flash and one for HTML, that's always good.

    I'm on dialup myself, I agree that some Flash sites take forever to load, thanks to a bunch of useless movies and crappy dance track... there's lot elegant-looking stuff out there that's done in Flash too..

    btw, can you import vector graphics from Illustrator into Flash?

    ------------------
    I, Bin Laden, declare a day of mourning in the whole of the Middle East over the death of an atomic bomb buried in the seabed of the Pacific

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •