This topic was locked 23rd Mar 08 at 7:00pm by Michael |
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: Random text? (23rd Mar 08 at 2:09am UTC) | | works for me on that test forum. | |
|
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | Re: Random text? (23rd Mar 08 at 2:14am UTC) | | I think i mite have the custom title part right, wat do I put in the CT? | |
|
|
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: Random text? (23rd Mar 08 at 2:19am UTC) | | No, it works for me fine on your test forum. | |
|
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | Re: Random text? (23rd Mar 08 at 2:23am UTC) | | Weird, It doesn't show, all it shows is [w_ran]. | |
|
|
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: Random text? (23rd Mar 08 at 2:26am UTC) | | Link again?
Browser? | |
|
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | |
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 | |
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | Re: Random text? (23rd Mar 08 at 2:32am UTC) | | All i see everytime i f5 the page is [W ran] | |
|
|
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: Random text? (23rd Mar 08 at 2:40am UTC) | | As I've never used Avant, I do not know how it parses coding, but I believe that's the issue.
Try this:
 Code: - <script type="text/javascript">
- <!--
- /* Random Custom Titles */
- var ct = ["Rawr","Meow","Oink","Moo","Woof"];
-
- var td = get('td','tag');
- var x = Math.floor(Math.random()*ct.length);
- for(i=0;i<td.length;i++){
- if(td[i].width=='20%'){
- td[i].innerHTML = td[i].innerHTML.replace(/\[w_ran\]/,ct[x]);
- }
- }
- //-->
- </script>
| |
rroll.to— Shorten a link, rickroll your friends. |
|
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | Re: Random text? (23rd Mar 08 at 2:45am UTC) | | Arrrgg Avant.
It's still not working. it's ok if you can't get it, I appreciate both of you for trying. I'll dig around in Avant and try to get to the problem.
Also, Marc, you should try Avant, i'v found it to be better than IE, FF and all the others, this is really the only problem i'v had.
Avant Browser Download | |
|
|
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: Random text? (23rd Mar 08 at 2:47am UTC) | | Arrrgg Avant. It's still not working. it's ok if you can't get it, I appreciate both of you for trying. I'll dig around in Avant and try to get to the problem. Also, Marc, you should try Avant, i'v found it to be better than IE, FF and all the others, this is really the only problem i'v had. Avant Browser Download
I might download it to test future codes, but I doubt it'll take over as my primary browser.
Try this:
 Code: - <script type="text/javascript">
- <!--
- /* Random Custom Titles */
- var ct = new Array("Rawr","Meow","Oink","Moo","Woof");
-
- var td = get('td','tag');
- var x = Math.floor(Math.random()*ct.length);
- for(i=0;i<td.length;i++){
- if(td[i].width=='20%'){
- td[i].innerHTML = td[i].innerHTML.replace(/\[w_ran\]/,ct[x]);
- }
- }
- //-->
- </script>
| |
rroll.to— Shorten a link, rickroll your friends. |
|
Tim Senior Member
    banned.
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/1beast10-2s9.jpeg) The only easy day was yesterday. Posts: 698 Status: Offline Gender: Male Location: Under your bed..in your closet..in your head Age: 34 Joined:
pmmsn | Re: Random text? (23rd Mar 08 at 2:55am UTC) | | YAY!
It worked, thanks Marc and Wrighty.  | |
|
|
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: Random text? (23rd Mar 08 at 3:02am UTC) | | YAY! It worked, thanks Marc and Wrighty. 
No worries. | |
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: [F]Random text? (Thanks Marc and Wrighty) (23rd Mar 08 at 11:17am UTC) | | What ya change? | |
|
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: [F] Random text? (Thanks Marc and Wrighty) (24th Mar 08 at 12:26am UTC) | |
Avant doesn't seem to understand JS classes very well. | |
rroll.to— Shorten a link, rickroll your friends. |
|