Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
As to your other question about increasing the font you can add this:
You will see <b> and <font> tags used in QuickBase formulas and in QuickBase's own HTML. They are considered deprecated by most of the web community today. But they still work and will continue to work for backward comparability. And the renegade in me sees the simplicity in their use - that's why it is called "markup" - like proofreader's marks that are inserted into the text of a manuscript to indicated formatting and layout:
Sometimes using CSS gets outrageous in its complexity to do simple things..
$("td.label:has(label.fieldLabel b:contains(number))")But if you knowledgable of CSS you can just get rid of the <b> tag altogether (<b> is deprecated) and add the fontWeight property:
.next("td")
.wrapInner("<b></b>")
.css({fontSize: 20});
$("td.label:has(label.fieldLabel b:contains(number))")
.next("td")
.css({fontSize: 20, fontWeight: "bold"});
You will see <b> and <font> tags used in QuickBase formulas and in QuickBase's own HTML. They are considered deprecated by most of the web community today. But they still work and will continue to work for backward comparability. And the renegade in me sees the simplicity in their use - that's why it is called "markup" - like proofreader's marks that are inserted into the text of a manuscript to indicated formatting and layout:
Sometimes using CSS gets outrageous in its complexity to do simple things..
HamzaAhmed
5 years agoQrew Member
Hi Dan,
I have setup the IOL and have added the following to make a numeric value bold when viewing a record but it doesn't seem to be working. I only have the module.js page created as shown in the IOL setup
(function(){
//$("img[qbu=module]").remove();
//$("img[qbu=module]").hide();
var querystring=document.location.search;
if(/a=dr/i.test(querystring)) {
//DISPLAY RECORD PAGE
$("td.label:has(label.fieldLabel b:contains(Test Field))")
.next("td")
.wrapInner("<b></b>")
.css({fontSize: 20});
}
})();
I have setup the IOL and have added the following to make a numeric value bold when viewing a record but it doesn't seem to be working. I only have the module.js page created as shown in the IOL setup
(function(){
//$("img[qbu=module]").remove();
//$("img[qbu=module]").hide();
var querystring=document.location.search;
if(/a=dr/i.test(querystring)) {
//DISPLAY RECORD PAGE
$("td.label:has(label.fieldLabel b:contains(Test Field))")
.next("td")
.wrapInner("<b></b>")
.css({fontSize: 20});
}
})();
- RyanStanford15 years agoQrew CaptainHamza, is the label/fieldname for your field "Test Field"?
You would need to change the b:contains(Test Field) to contain the label you're searching for.
------------------------------
Ryan Stanford
------------------------------