Click to See Complete Forum and Search --> : Updating the contents of cells in a table
slipgun
01-14-2001, 07:38 AM
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
Grizzly
01-14-2001, 07:03 PM
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).]
slipgun
01-14-2001, 10:02 PM
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
Grizzly
01-15-2001, 03:25 AM
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.
slipgun
01-15-2001, 06:16 AM
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
Grizzly
01-15-2001, 11:58 AM
Yeah you can make a site entirely in flash, no ones stopping you! http://www.sharkyforums.com/ubb/tongue.gif 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.
Mr. Silver
01-17-2001, 05:40 PM
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 http://www.sharkyforums.com/ubb/wink.gif) 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.
slipgun
01-17-2001, 10:25 PM
Originally posted by Mr. Silver:
You could, but a lot of people really hate sites done entirely in Flash (well, at least I do http://www.sharkyforums.com/ubb/wink.gif) 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