Printer Friendly

For Webmasters

Linking

HTML code for a plain link to the Free Library:

Search Box

Preview:
Online Library
Periodicals and literature
Word:
Look in: Periodicals
Literature
Reference
by:
Leave blank to inherit or pick a color
pick a color
Leave blank to inherit or pick a color
pick a color
pick a color

Here is the code to create this box:

\n'+ '
Periodicals and literature
\n'+ 'Word:\n'+ '~1'+ 'by:\n'+ '\n'+ '\n'+ '' var box_source='Look in:\n'+ '\n'+ 'Periodicals
\n'+ 'Literature
\n' 'Reference' var box_font='Arial'; var box_font_size1='10pt'; var box_font_size2='8pt'; var box_font_size3='12pt'; var box_width='210px'; var f=document.customize_box; if (f.box_type[1].checked) { document.getElementById('boxsource').style.display='none'; code=code.replace('~1', ''); } else { document.getElementById('boxsource').style.display=''; code=code.replace('~1', box_source); } if (f.box_open[0].checked) { code=code.replace(/_blank/g, '_top'); } if (f.fsize[0].checked) { box_font_size1='8pt';box_font_size2='7pt';box_font_size3='10pt';box_width='180px'; } else if (f.fsize[2].checked) { box_font_size1='12pt';box_font_size2='10pt';box_font_size3='14pt';box_width='250px' } else if (f.fsize[3].checked) { box_font_size1='';box_font_size2='smaller';box_font_size3='larger';box_width='210px'; } box_font=f.sFont.options[f.sFont.selectedIndex].value; code=code.replace(/~2/g, box_font); Style('boxtable').fontFamily=box_font; code=code.replace(/~3/g, box_font_size1); code=code.replace(/~4/g, box_font_size2); code=code.replace(/~5/g, box_font_size3); var box_tags1=['box_td1','box_td2','box_td3','box_word','box_mode','box_submit']; for (var i in box_tags1) document.getElementById(box_tags1[i]).style.fontSize=box_font_size1; Style('boxtitle').fontSize=box_font_size3; Style('boxtitle2').fontSize=box_font_size2; Style('boxsource_td').fontSize=box_font_size2; code=code.replace(/~6/, box_width); Style('boxtable').width=box_width; code=code.replace(/~7/, box_width); Style('boxtable').width=box_width; code=code.replace(/~8/g, f.Background.value); Style('boxtable').backgroundColor=f.Background.value code=code.replace(/~9/g, f.TextColor.value); Style('boxtable').color=f.TextColor.value; for (var i=1;i<=3;i++) Style('ba'+i).color=f.TextColor.value; code=code.replace(/~A/g, f.TitleBackground.value); Style('btdt1').backgroundColor=f.TitleBackground.value Style('btdt2').backgroundColor=f.TitleBackground.value code=code.replace(/~B/g, f.TitleTextColor.value); Style('bta').color=f.TitleTextColor.value; code=code.replace(/~C/g, f.BorderColor.value); Style('boxtable').border='1px '+f.BorderColor.value+' solid'; Style('btdt1').borderBottom='1px '+f.BorderColor.value+' solid'; Style('btdt2').borderBottom='1px '+f.BorderColor.value+' solid'; f.code.value=code; }; box_render();

Quote of the Day

 Preview: 

Leave blank to inherit or pick a color
pick a color
pick a color
pick a color
pick a color
pick a color

Here is the code to add the free content:

Please note that the tags are assigned CSS classes and you can manipulate the presentation of the content using style sheets.
The code for attribution links is required.
\n'+ '\n'+ '
\n'+ 'Quote of the Day\n'+ 'by The Free Library\n'+ '
\n'+ ''; var code_script='\n'+ '\ndocument.getElementById("tfd_quote_div").style.display=""\n' var f=document.form_iod; var font_size1='10pt'; var font_size2='8pt'; var font_size3='12pt'; var d_width=f.sWidth.value; if (f.fsize[0].checked) { font_size1='8pt';font_size2='7pt';font_size3='10pt';//width='195px'; } else if (f.fsize[2].checked) { font_size1='12pt';font_size2='10pt';font_size3='14pt';//width='265px' } else if (f.fsize[3].checked) { font_size1='';font_size2='smaller';font_size3='larger';//width='230px'; }; var d_font=f.sFont.options[f.sFont.selectedIndex].value; code=code.replace(/~f/g, d_font); Style('dPreview').fontFamily=d_font; Style('dPreview').width=(d_width=='100%' || d_width==''?'300px':d_width); code=code.replace(/~x2/g, f.Background.value.replace('#','x')); code=code.replace(/~xc/g, f.TextColor.value.replace('#','x')); code=code.replace(/~x3/g, f.LinkColor.value.replace('#','x')); code=code.replace(/~hmh/g, (d_width>='350px'?'120px':'240px')); code=code.replace(/~s/g, font_size2); code=code.replace(/~n/g, font_size1); code=code.replace(/~b/g, font_size3); code=code.replace(/~c/g, f.TextColor.value); code=code.replace(/~t/g, f.TitleColor.value); code=code.replace(/~2/g, f.Background.value); Style('div_q').backgroundColor=f.Background.value; code=code.replace(/~3/g, f.LinkColor.value); code=code.replace(/~al/g, f.AttLinkColor.value); if (f.d_open[1].checked) code_script=code_script.replace(/-top.js/g, '.js'); code=code.replace(/~w/g, d_width); if (f.hideborder.checked) code=code.replace(/border:1px ~1 solid/g, 'border:none'); else code=code.replace(/~1/g, f.BorderColor.value); var odiv=document.getElementById("tfd_quote_div"); if (odiv) code_tfd_quote_div=odiv.innerHTML; code=code.replace('', code_tfd_quote_div); code=code.replace(/\n\n/g, '\n'); document.getElementById('div_q').innerHTML=code; Style("tfd_quote_div").display="" f.code.value=code.replace('', code_script); }; d_render(); window.setTimeout('box_render();d_render()',100);

Terms of use | Privacy policy | Copyright © 2025 Farlex, Inc. | Feedback | For webmasters |