Log In · Register

 
'Replace text' script not working
Nulthien
post Jun 21 2004, 06:52 AM
Post #1


things that make you go mmm.
***

Group: Member
Posts: 33
Joined: Apr 2004
Member No: 10,513



It seems that the 'Replace any text' script only works when you apply them to skins. Does anyone know if that is a fault/technicality of the script, or if it's just me?
And also, the 'Replace any text' script doesn't include changing the word Subcriptions. I tried adding it in, as well as the new word, but it just stopped everything else working.
 
 
Start new topic
Replies
queen
post Jun 24 2004, 11:37 AM
Post #2


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



there's a difference between replacing LINKS and replacing TEXT.. so first, make sure what you're replacing really is TEXT.. second, make sure to remember to put the comma after every word (that's a common mistake).. look at this example:
CODE
<!-- begin code provided by createblog.com -->

   var oldWords = new Array(
       "oldword01",
       "oldword02",
       "oldword03");


   var newWords = new Array(
       "newword01",
       "newword02",
       "newword03");

<!-- end code provided by createblog.com -->



it should work
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: