![]() |
Strip characters javascript
Hi all,
I use 3.8.2 and use this code to display latest threads on my portal: Code:
<if condition="$vbulletin->options['externaljs']"> How can this be done? Jan |
Not the best at javascript and I haven't tested it but I would try something like this. Might not get you there but it will give you an idea of what's needed. Just modify the length from 30 to whatever you want and if you want something other then ... at the end of a cropped string change that.
Code:
<if condition="$vbulletin->options['externaljs']"> |
Awesome Dylanblitz! Thank you very much man!!
Works! Jan |
All times are GMT. The time now is 07:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|