I'm wondering if this would be possible.
Ok say i'm starting an new thread . And i made the topic title like this : "THE RED BOAT" , is it possible to have a code which will make it this : "The Red Boat", or if it was this : "The red boat" it will make it this : "The Red Boat" . But it will work only for topic titles .
So you mean auto-capitalization? I'll do this in a moment.![]()
Ok thanks Marc.
Code:
- <script type="text/javascript">
- <!--
- /*
- Auto-Capitalize Post Titles by Marc
- Copyright 2008
- Do not repost
- */
- var a = get('a','tag');
- for(t=0;t<a.length;t++){
- if(a[t].href.match(/\/view_topic\/page\/(\d+)\/(.+?)\//)){
- a[t].innerHTML = a[t].innerHTML.substring(0,1).toUpperCase() + a[t].innerHTML.substring(1,a[t].innerHTML.length).toLowerCase();
- }
- }
- //-->
- </script>
Board/Global Footers.![]()
Thank you Marc, its working fine . Nice work
.
No worries.![]()