faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 19 people (16%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I display text at a given position in a document?

Apr 5th, 2008 20:40
ha mo, Colin Fraser, Joćo Martins,


There is no easy answer to this question, however, as a general rule of
thumb, think of your page as a set of screens that are joined at the
base of each to the top of the next screen. So, the question then
becomes where and in which screen do you want to display particular
text? How can you relate that position to the browser inside an entire
document? Simply put, at this time Javascript does not allow you to do
that. 
However, you can use a set of style commands and a layer to position
your text. Or even, dare I suggest it, simple HTML. If on the other
hand, you are loking for something like a scrolling menu that works in
all browsers, then you may be beter off looking in somewhere like
www.thefreesite.com for an existing script.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com