I want to add a box like the one on www.proxyusers.net (The one in the sidebar with the websites in it. It's similar to the one on proxy.org) Does anyone know where I can get a script like that? i would like to add it to a sidebar on my site, with my own sites. I am not sure what it's supposed to be coded in so i put it in general. Hope someone can help me Thank you Nick
It's JavaScript: <script language="javascript"> var ran_number=Math.floor(Math.random()*3); if (ran_number==0){ document.write("<select name='proxy' size='12' onclick='showOpen(this.options[this.selectedIndex].value);'>"); document.write("<option value='http://www.sneakcentral.com'>sneakcentral.com (US,PHP)"); document.write("<option value='http://gomimmy.com/'>gomimmy.com (US,PHP)"); document.write("<option value='http://hiddenpenguin.info/'>hiddenpenguin.info (PHP)"); document.write("</select>"); } else if (ran_number==1){ document.write("<select name='proxy' size='12' onclick='showOpen(this.options[this.selectedIndex].value);'>"); document.write("<option value='http://hiddenpenguin.info/'>hiddenpenguin.info (PHP)"); document.write("<option value='http://www.sneakcentral.com'>sneakcentral.com (US,PHP)"); document.write("<option value='http://gomimmy.com/'>gomimmy.com (US , PHP)"); document.write("</select>"); } else if (ran_number==2){ document.write("<select name='proxy' size='12' onclick='showOpen(this.options[this.selectedIndex].value);'>"); document.write("<option value='http://gomimmy.com/'>gomimmy.com (US , PHP)"); document.write("<option value='http://hiddenpenguin.info/'>hiddenpenguin.info (PHP)"); document.write("<option value='http://www.sneakcentral.com'>sneakcentral.com (US,PHP)"); document.write("</select>"); } </script> Code (JavaScript): NOTE: Code copied directly from the page's source. Ask the author for permission before reusing it.
Thank you so much. +rep given. Do you know how to make it so that it's a bit larger in width? cause it looks small on my site.
just read your edit. I didn't ask him, no. I wanted one like it, not exactly the same. I already viewed the source.
I assumed that you would have seen the "<script language="javascript">" part. Anyway, to make your script bigger you'd use CSS.
lol..guess i did miss that..makes me seem like an idiot. Well, i looked at the source about a week ago. I just got around to asking about it, lol.
Is there a way to do this using PHP or anything of that sort? I find this to be really hard, especially if i have to have lots of proxies in there, and have to add them quickly.