/    Sign up×
Community /Pin to ProfileBookmark

Need design advice

I’m new to HTML, JavaScript, etc. but need to design a page for a very narrow use. I’ve written a Python server side script that gathers data about some changing files. I’d like the user to have a page that has an area that can be updated by a call to the Python script – not the whole page. That is, the person brings up the page, it calls the script and the data are displayed. Later the person clicks on a button and the data are updated. (Actually clicking on the button will start a timer for updates every n minutes but that’s a detail.)

What’s a suitable object for the display area? I had thought it was a frame …?

TIA

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@KDLAMar 02.2006 — <DIV> might be better.

KDLA
Copy linkTweet thisAlerts:
@RandomWalkauthorMar 02.2006 — <DIV> might be better.

KDLA[/QUOTE]


Can the contents of the DIV block be changed dynamicaly?
Copy linkTweet thisAlerts:
@KDLAMar 02.2006 — Yes, if you code it that way. I've got a doc. that I'm working with that creates divs, based on js scripting and internal css, dynamically.
Copy linkTweet thisAlerts:
@KravvitzMar 02.2006 — You can use [url=http://www.google.com/search?q=AJAX+%7Etutorial]AJAX[/url] to do that or you could use an iframe. They both have advantages and disadvantages.

[url=http://www.thecounter.com/stats/2006/January/javas.php]Keep in mind that about 10% of Internet users use a browser that doesn't have JavaScript enabled.[/url]
Copy linkTweet thisAlerts:
@RandomWalkauthorMar 04.2006 — Thanks, for this particular page its use will be in-house for only one user! I noticed yesterday that IFRAMES work differently on Opera, Firefox, and IE.
×

Success!

Help @RandomWalk spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...