ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Change Description field. (12th Apr 09 at 12:10pm UTC) Resolved | | I would love a code to change the word 'Description' to be something else or even a drop down. An RPG I am working on allows time jumps and I would like to use the description field to be the time the thread is taking place in. A dropdown seems to be a lot consisting of years 1925 to 2080; but, I think it would just be easier to just change the word. Any codes around to do this? I would use a switch-it, but what if somebody posts the word description? Etc, and I wouldn't like it to interfere. I'd love it to be able to work with the new posting system. (Cannot wait for it to be rolled out!) | |
|
Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
pmwww | Re: Change Description field. (14th Apr 09 at 3:49am UTC) | | This won't work with the new system (I'll yell at Ross for removing the ID ), but this should work for the current one:
 Code: - <script type="text/javascript">
- <!--
- /* Change "Description" */
-
- var newName = "Time Frame:";
-
- if(location.href.match(/action\/post/))
- {
- document.getElementById("description_title").firstChild.firstChild.innerHTML = newName;
- }
- //-->
- </script>
Global Footer | |
rroll.to— Shorten a link, rickroll your friends. |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Change Description field. (14th Apr 09 at 9:34am UTC) | | Why not get by name & do parentNode then? | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Change Description field. (9th Aug 09 at 7:28am UTC) | | Can I get this updated to work with v2? :3 | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Change Description field. (10th Aug 09 at 10:38pm UTC) | | <script><!-- /* Change "Description" */ var newName = "Time Frame:"; if(location.href.match(/action\/post/)){ document.getElementById("description_title").innerHTML = newName; } // --></script> | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Change Description field. (10th Aug 09 at 11:06pm UTC) | | <p>Works beautifully! Thanks!<span class="Apple-tab-span" style="white-space:pre"></span></p><p><br></p> | |
|
dog199200 Guest | Re: Change Description field. (10th Aug 09 at 11:22pm UTC) | | whats with the html | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Change Description field. (11th Aug 09 at 1:31am UTC) | | I don't know. It just appeared when I press post. And when I press edit it is blank. | |
|