Jump to content

Little Goat

  • Posts

  • Joined

  • Last visited

About Little Goat

  • Birthday 04/05/1908

Previous Fields

  • Languages

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
  • Interests
    Computers, Ham Radio

Little Goat's Achievements

Invested Member

Invested Member (3/7)



  1. check here: http://w3schools.invisionzone.com/index.php?showtopic=3770there are some free hosts in that topic.
  2. try this:onclick="disp_bio(document.getElementById(memtable).cells[6].innerHTML)"
  3. Ok, thank you guys you have been a real help. It did work to disable that stylesheet, jesh. thank you for that code and the website. now I just need to find a way to add a new one. (you don't need to make suggestions, if I have problems I will ask here again.)but thanks again for all of your help. you can see my test results here: http://computerkid.caleb.googlepages.com/teststylechangesLG
  4. @msd: The problem is, the style tag does not have an ID or a Name or any of that fun stuff. so I have to detect it by the tag name.@aspnetguy: so you're saying it's impossible for me to do this, or this there some workaround I can use? do you have a website or can you show me an example of what this is?ThanksLG
  5. Hey guys,I am trying to style a web page which I have no control over the head of, so naturally I just thought to use Javascript to replace the CSS which is embedded in the head.the code I am using is this exactly: document.getElementsByTagName("style")[0].innerHTML=" "; it works fine in Opera and FireFox, but for some reason it does nothing in IE but throw an error.it says Unknown Runtime Error, and points to the line where I have that code.does anyone know why it does this?ThanksLG
  6. Actually, Internet Graphics Artists do not use any code (unless you are using SVG or another type I don't know of) And Most Browsers are the same with graphics unless they have a really bad bug, and then they're not worth using. :)So, I don't really think you need to worry about browsers if all you do is graphics.
  7. First of all, is this a Flash game, or is it coded into the PHP?Second of all, if the users input their scores into the form, they most likely won't be accurate, will they?Third of all, if it is an html form, then just make the <form action="yourpage.php" method="POST"> and then access it with the $_POST variable on the next page.And why do you have it stored in an array? if you are already submitting it to a PHP page, just do what you need to do there.Also, as Silver said, your code would really help you get more responsive answers.
  8. I don't think something like this can just be copy-pasted into your page. Well, maybe someone can just give you a whole web page, but it would really help you to learn a least a little about PHP so that you can understand the code and be able to fix it if something goes wrong. what I would do is store the results in a fileand then when you want to see them, you can just open the file and see.
  9. The links to your project and links pages come up with a 404 error. you should put some pages there even if it is just "under Construction; try again later".
  10. oh, yeah, if you want to put the content for different pages in separate files, you could do that but it also brings up some security issues if someone changed ?page=index to ?page=secretpasswords and you have a file named secretpasswords.html, it would bring it up.
  11. ok, so what you would need to do, is change all your links from stuff like "index.html" or "contact.html" to this: "index.php?page=index" and "index.php?page=contact" then in the php, you would do this: <?phpif($_GET['page']='index'){echo "index page content here";}elseif($_GET['page']='contact'){echo "contact page content here";}?> and so on...and you put that PHP code in the place where you usually put all the content.later, when you get into MySQL, you can store it in there, but I think this should work for you.
  12. Little Goat


    so what you would do on the page you want people to see is this: <script type="text/javascript">function changeTime(Span){Content=Span.innerHTML;Content-=1;if(Content<=0){ Content="You may submit again."; Span.innerHTML=Content;}else{ Span.innerHTML=Content; setTimeout(changeTime(Span), 1000); }}</script> and put this wherever you want the time to show up: <span id="time"><?php echo $fetch->lastmess - time(); ?></span> then at the bottom of you page, right before the </body> tag, put this: <script>changeTime(document.getElementById('time'));</script> EDIT: oh, I guess I type too slow.
  13. here is how I would do it:java script: Date = new Date();Hours = Date.getHours();document.getElementById('formid').hiddeninputelement.value=Hours;document.getElementById('formid').submit(); then of course you need a form: <form id="formid" action="dayornight.php" method="post"><input type="hidden" name="hiddeninputelement" value="" /></form> and then on the PHP page you check if $_POST['hiddeninputelement'] is set then if it isn't, redirect to the JS page. if it is, set $theme_switch_hour to $_POST['hiddeninputelement'].
  14. Little Goat


    yeah, that would be the best way, but if you wanted the number to change as you go, then you would need JS to display it on the page.
  15. mysql_fetch_assoc() and mysql_fetch_array() are almost the same thing.what you need to do is replace this: with this:echo '<h1>'.$r['header'].'</h1>'; echo $r['content']; echo "<br />"; echo "<title>The Shattered Realms ~ Siymeha: $r[header]</title>"; putting mysql_fetch_array() in there is selecting the second line instead of the first, as you already used mysql_fetch_assoc().
  • Create New...