The Arcive of vBulletin Modifications Site. |
|
Can someone please help me with this? Details »»
|
|||||||||||||||||||||||||
Code:
<script language="javascript">
function getname();
{
for (var i=0; i<document.links.length; i++);
{
if (document.links[i]=="http://www.xanga.com/private/");
{
var link = document.links[i];
var text = document.all ? link.innerText : link.text ? link.text : '';
}
}
return text;
}
function showmessage();
{
var name=getname();
if (name="Disfuctional_Mind");
{
alert("heyyy...*lots of huggles and stuff* heh =P");
else if (name="AngeLxbear");
{
alert("heyyy...WHat's up Steph!!");
else if (name="dizzycasper");
{
alert("If this works...Hey...Tell me if that work Carly...");
else if (name="ISwtAngel");
{
alert("Test");
</script>
I have no idea why it wont work... Any hlp is appreciated, thanks in advance. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nobody?
|
|
#3
|
||||
|
||||
|
try this:
Code:
<script language="javascript">
function getname();
{
for (var i=0; i<document.links.length; i++);
{
if (document.links[i]=="http://www.xanga.com/private/");
{
var link = document.links[i];
var text = document.all ? link.innerText : link.text ? link.text : '';
}
}
return text;
}
function showmessage();
{
var name=getname();
if (name="Disfuctional_Mind");
alert("heyyy...*lots of huggles and stuff* heh =P");
else if (name="AngeLxbear");
alert("heyyy...WHat's up Steph!!");
else if (name="dizzycasper");
alert("If this works...Hey...Tell me if that work Carly...");
else if (name="ISwtAngel");
alert("Test");
}
</script>
|
|
#4
|
|||
|
|||
|
Nope, that didn't work. Any other suggestions?
|
![]() |
|
|