Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 916405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:02:47+00:00 2026-05-15T18:02:47+00:00

Is there a way to style text font dynamically base on selected font in

  • 0

Is there a way to style text font dynamically base on selected font in a list? For example, we can see this in Microsoft Word, where you can highlight some text and then change the font style by selecting a font style from the font dropdown box. I am trying to create a component similar to this in the browser. Current I am using the webfont services provides by fonts.com, however, it looks like the font rendering only happen at page load time, and not able to do it dynamically. Anyone has anyway way to tackle this problem? Many thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:02:47+00:00Added an answer on May 15, 2026 at 6:02 pm

    You ought to be able to do something with Google/Typekit’s WebFont Loader library. Create an array of WebFontConfig objects against your drop down box then pass the relevant object into WebFont.load in the onchange event.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way, in Microsoft Word 2007, to set up a style that
Is there a simple way to style element like this? Supposed to be used
I use HTML to put text into a JButton. In this way I can
Is there a way to style the size of text as a percentage of
Is there a way to use CSS to style text depending on the language?
$('body').append('<style type=text/css> body {background:red;} </style>'); This doesn't make the background red. Is there away
I have this: <style:style style:name=MYBOLD style:family=text style:parent-style-name=Standard> <style:text-properties style:font-name=Arial style:font-name-complex=Arial fo:font-weight=bold style:font-weight-asian=bold style:font-weight-complex=bold/> </style:style>
Is there some way to define a text sprite with some more style options
Is there a way to style the output of php's die(); message? I want
Is there a way not to process fields with a display:none style ? The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.