Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1710 times and has 3 replies Next Thread
Female mariaxesf
Stranger




Joined: Oct 4, 2008
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
applause *Javascript*

What does this code do?

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'");
}
//-->
</script>

Thanks! smile

[Oct 5, 2008 6:24:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male tpattison
Advanced Member
Member's Avatar

UK
Joined: Dec 29, 2004
Post Count: 1662
Status: Offline
Reply to this Post  Reply with Quote 
Re: *Javascript*

Well... It's Dreamweaver generated code. I would think by the name of the function that it would load a certain URL.

Is this another study of yours?
----------------------------------------
Pavonis Mons | Listen of the week: "Residue of Desire" by Acumen
[Oct 5, 2008 7:59:53 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female mariaxesf
Stranger




Joined: Oct 4, 2008
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: *Javascript*

Well... It's Dreamweaver generated code. I would think by the name of the function that it would load a certain URL.

Is this another study of yours?



heheh! im studying some code examples smile and there are some parts that im not sure of their use. i ask you guys to tell me smile and you are very helpful thanks alot! im from Greece and no Greek forum here has been so helpful!

thanks! smile
[Oct 5, 2008 11:22:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male lwsimon
Advanced Member



US
Joined: Sep 24, 2007
Post Count: 396
Status: Offline
Reply to this Post  Reply with Quote 
Re: *Javascript*

Pretty sure it changes the page shown in popup windows.

Its also badly coded, as incrementing a loop by 2 is confusing, and you have to sit and think to understand what's going on.
----------------------------------------
Simple is better.
[Oct 6, 2008 10:09:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread