Jump to content

Agent Moose

Members
  • Content Count

    34
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Agent Moose

  • Rank
    Newbie

Contact Methods

  • AIM
    xAgent Moose
  • Website URL
    http://
  1. Thanks. I have another problem though. I am trying to get the hidden inputs now. But, it doesn't work. if(window.ActiveXObject){var moose = new ActiveXObject("Microsoft.XMLHTTP");}else{var moose = new XMLHttpRequest();}moose.open("GET",url2,true);moose.onreadystatechange = function(){if(moose.readyState == 4){var inputy = document.createElement("div");inputy.innerHTML = moose.responseText;var inputers = inputy.getElementsByTagName("input");for(x=0;x<inputers.length;x++){if(inputers[x].type == "hidden"){rawrz = inputers[x].innerHTML;document.getElementById('inputs').innerHTML += ""+rawrz
  2. Thanks. This is what I got out of it: <script>var topic = 3;var board = 1;var url1 = "http://"+location.hostname+location.pathname+"/topic,"+topic;$("#bodyarea").before("<br><div class='tborder'><div class='catbg' align='left' style='padding: 5px 5px 5px 10px;'>ShoutBox</div><div style='max-height: 150px; overflow:auto;'><table width='100%' border='0' cellspacing='1' cellpadding='4' id='shoutbox'></table></div><table width='100%' cellpadding='1' cellspacing='0'><tr><td class='titlebg2' colspan='5'><form id='postmodify
  3. <script>var topic = 2;var board = 1;var url1 = "http://"+location.hostname+location.pathname+"/topic,"+topic;$("#bodyarea").before("<br><div class='tborder'><div class='catbg' align='left' style='padding: 5px 5px 5px 10px;'>ShoutBox</div><div style='max-height: 150px; overflow:auto;'><table width='100%' border='0' cellspacing='1' cellpadding='4' id='shoutbox'></table></div><table width='100%' cellpadding='1' cellspacing='0'><tr><td class='titlebg2' colspan='5'><form id='postmodify' style='margin: 0pt;' onsubmit='submito
  4. The tutorial didn't help me on w3schools for createing a checkbox cookie, so that when you click on the checkbox, it gets checked, then you somehow save it like that, so it will always be like taht...anyone wanna tell me how to create it?
  5. Your right, this isn't javascript...well sorta is, it is Jquery. It is the same thing sorta but you write alot less.Anyway, I don't get an error, I am also having this disscusion on another forum and I found another way to do this code... <script>$(document).ready(function() {//Created by Agent Moose and HolySaviorvar mname = new Array()mname[0] = "Pages"mname[1] = "Other"var dropdown = new Array()dropdown[0] = ["Pages","Arcade","http://beta.zetaboards.com/MooseCreations/pages/arcade/"]dropdown[1] = ["Other","Codes","http://beta.zetaboards.com/MooseCreations/pages/codes/"]for(q=0;q<
  6. Well, I don't think it needs to. I think I can do something like this: var mname[]mname[0] = "Pages"//First Drop Down Menumname[1] = "Blah"//Seconde Drop Down Menu And for the sname and url: //Options for First Drop Down Menudropdown[0][0]("Arcade","http://beta.zetaboards.com/MooseCreations/pages/arcade");//This will be in the First Drop down menu because of the first [0] and it will be the first option in the drop down menu because of the second [0].dropdown[0][1]("Yahoo","http://www.yahoo.com");//This will be in the First Drop down menu because of the first [0] and it will be the second
  7. I am hoping you can help me with a code I am trying to make for ZetaBoards. It adds a drop-down menu with what ever links you want in it. I want it to make it so that when you make more of these: It will add more links to the dropdown menu.Also, I would like it you added more of these: it will make a new whole new dropdown menu.and you will be able to add diffrent links to each drop-down menu.wanna help me?
  8. Agent Moose

    Jquery

    I htink you should add in Jquery to the forum or to the site. That would be awsome and helpful...even though I basicly know all I need to know about it.
  9. I have made a code so that the emotionicon box on the left will not be there, then I made it so that there will be emotionicons under the tags buttons. Thing is, it only works on one forum. I tried it on my other one, it doens't work. Here is the forum that it works on:Click Here Here is the code... <script type="text/javascript"><!--if(location.href.match('act=Post&CODE')){document.getElementsByTagName('div')[0].innerHTML += "<style>.tablefill{display:none}</style>"}//--></script><script type='text/javascript'>//Code Created by Agent Moose at Moose
  10. Sorry for the Double post...I know what to make the buttons change. So when it isn't showing it will say "Show" then when you click on it, it changes to "Hide". I know I have to have an ID for it, and I have to use the onclick event. The other one that is above, it doesn't work if you have more than one of the buttons on. So, I want the code to work if you have more than one on a page.
  11. I tried what it sayed and it didn't work.
  12. Thanks. Now I have another questions. I have changed some stuff with the code. I have added buttons to make the iframe get smaller and bigger if you press them. Just like the buttons on the bottom text area when your typing a message to make the text area bigger or smaller. Mine doesn't work though... <script>function show(which) {var hide = new Array();hide = document.getElementsByName(which);for (i=0; i<hide.length; i++) { hide[i].style.display = 'inline';}}function hide(which) {var hide = new Array();hide = document.getElementsByName(which);for (i=0; i<hide.length; i++)
  13. When ever the page loads, it automaticly have the iframes shown. How do I make it so that when the page loads, it will always be hidden, so you have to press the Show button to show it...Here is the code I am useing... <script>function hide(which) {var hide = new Array();hide = document.getElementsByName(which);for (i=0; i<hide.length; i++) { hide[i].style.display = 'none';}}function show(which) {var hide = new Array();hide = document.getElementsByName(which);for (i=0; i<hide.length; i++) { hide[i].style.display = 'inline';}}</script><input type="button" value="Show A
×
×
  • Create New...