Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31117

Re: AJAX text font

Newsgroups comp.lang.javascript
Subject Re: AJAX text font
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <d88cbdda-b305-46e4-991e-6315f3323f32@googlegroups.com>
Date 2016-08-19 17:57 +0200
Message-ID <XnsA669B6A6E8BACeejj99@194.109.6.166> (permalink)

Show all headers | View raw


bit-naughty@hotmail.com wrote on 19 Aug 2016 in comp.lang.javascript:

> If I want to download text

You mean a "string"?

> with AJAX, and have it be displayed in say, a
> particular font, i.e. with a particular CSS style applied to it, what do
> I have to do?

What have you done sofar?

Why not simply [1] apply the css to the container where you put the said 
string?

> I'm finding it confusing.... 

It is only confusing as you do not state the requirements first [to 
yourself].

> is it possible to download
> the CSS that'll be *required* via AJAX too?

Or [2] you simply get a string word that describes a complex css-code.

Or [3] you download a string with the html elements and their inline css 
specification already in it.

> How do I apply it to the text? 

I gave you 3 of the many possibilities.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

AJAX text font bit-naughty@hotmail.com - 2016-08-19 08:15 -0700
  Re: AJAX text font "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-19 17:57 +0200
    Re: AJAX text font bit-naughty@hotmail.com - 2016-08-21 11:04 -0700
      Re: AJAX text font "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-22 00:42 +0200
  Re: AJAX text font "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-08-19 20:22 -0700

csiph-web