HomeWatched TopicsRegisterSearchDirectory
FAQMemberlistUsergroupsLog inStoresItemsBank
Google

Reply to topic Page 1 of 1
bold text in javascript confirm box
Message  

Reply with quote
Post bold text in javascript confirm box 
how to convert text into bold using javascript and use this bold text in CONFIRM box

View user's profile Send private message

Reply with quote
Post  
As far as I know you can't use bold text in confirm box. You can do it only if you use a web-page confirmation (creating a page that would be used as a confirm box).

Turning text into bold through javascript can be done in various ways. I would suggest you usage of spans or divs. For instance:

Code:

<div style="font-weight:normal" id="mydiv">this is my text</div>
<input type="button" onclick="document.getElementById('mydiv').style.fontWeight='bold'" value="make bold" />


Regards,
Pratamishus.


_________________
www.eb-downloads.com
FREE E-BOOKS DOWNLOADS.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Reply with quote
Post  
you can create something that visually mimics the confirm box and use bold text with css

View user's profile Send private message ICQ Number

Reply with quote
Post  
It can be done with a combination of what the previous posts imply. With enough color modification, you can create the appearance of a bold confirm.

http://slayeroffice.com/code/custom_alert

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  



Google

FireFox! PHP Forum Web Designer Forum
Loans and Credit Web Host Forum Free Insurance Quotes!
Panama Search Engine Optimization Designer Children
Web Hosting Advertise Here $10 a Month Domain name registration
Affordable web-hosting Never Pay Taxes Again HGH
Web Hosting and Dedicated Servers Insurance


Web Design by PlatinumShore.com & Web Hosting by TradeWebHosting.com