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


Groups > comp.lang.javascript > #31116 > unrolled thread

AJAX text font

Started bybit-naughty@hotmail.com
First post2016-08-19 08:15 -0700
Last post2016-08-19 20:22 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  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

#31116 — AJAX text font

Frombit-naughty@hotmail.com
Date2016-08-19 08:15 -0700
SubjectAJAX text font
Message-ID<d88cbdda-b305-46e4-991e-6315f3323f32@googlegroups.com>
If I want to download text 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? I'm finding it confusing.... is it possible to download the CSS that'll be *required* via AJAX too? How do I apply it to the text?


Thanks.

[toc] | [next] | [standalone]


#31117

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-08-19 17:57 +0200
Message-ID<XnsA669B6A6E8BACeejj99@194.109.6.166>
In reply to#31116
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)

[toc] | [prev] | [next] | [standalone]


#31135

Frombit-naughty@hotmail.com
Date2016-08-21 11:04 -0700
Message-ID<8a34c100-8d23-446e-b6ff-1abf228e4c35@googlegroups.com>
In reply to#31117
On Friday, August 19, 2016 at 9:27:24 PM UTC+5:30, Evertjan. wrote:
> 
> Why not simply [1] apply the css to the container where you put the said 
> string?


Umm.....how do I do this? I'm not that proficient with JS yet...



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

Sorry I don't understand this. What do you mean?


[toc] | [prev] | [next] | [standalone]


#31136

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-08-22 00:42 +0200
Message-ID<XnsA66C72E645A6eejj99@194.109.6.166>
In reply to#31135
bit-naughty@hotmail.com wrote on 21 Aug 2016 in comp.lang.javascript:

> On Friday, August 19, 2016 at 9:27:24 PM UTC+5:30, Evertjan. wrote:
>> 
>> Why not simply [1] apply the css to the container where you put the said 
>> string?
> 
> Umm.....how do I do this? I'm not that proficient with JS yet...

That has nothing to do with JS, it is [just] CSS.

>> Or [2] you simply get a string word that describes a complex css-code.
> 
> Sorry I don't understand this. What do you mean?

Meseems you really must study html, css and ajax.

Or are you trying [again] to let others do your work?

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

[toc] | [prev] | [next] | [standalone]


#31118

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2016-08-19 20:22 -0700
Message-ID<d2d18ed1-a19c-4193-8cfa-f8ad5c35e7cc@googlegroups.com>
In reply to#31116
On Friday, August 19, 2016 at 10:15:12 AM UTC-5, bit-n...@hotmail.com wrote:
> If I want to download text 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? I'm finding it confusing.... is it possible to download the CSS that'll be *required* via AJAX too? How do I apply it to the text?

Why isn't the CSS already loaded?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web