Jump to content

Chocolate570

Members
  • Posts

    1,550
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Chocolate570

  1. Welcome to the forums!Now, I don't understand your problems. Would you like a basic run-down of frames? If so, click this.If you are having a problem with frames, then post it and we'll see what we can do.Welcome again, and have a fun time on the board!~Chocolate570

  2. <html><body id="thing"><a href="tesdsdsdt">tesdsst</a><a href="test">test</a><h3>Explanation:</h3><p>What this will do is first put the container into a variable. Then it will check for the tag specified by the coder and alert it's length. Because there are two 'a' tags above, it will alert '2'. Hope this is what you want.</p><script type="text/javascript">////////////////////////////////////////////////////////////tagthing="a" //Put element tag here without the < and >'scontainerthing="thing" //Put the ID of the container of the elements here////////////////////////////////////////////////////////////bodthing=document.getElementById(containerthing)elements = bodthing.getElementsByTagName(tagthing)x=elements.lengthalert(x)</script></body></html>

  3. I need someone who can do layouts. Like, make the website look good. My friend and I only code, so we can't make a decent website if we put a hundred hours into it. When I say layout, i don't mean coding or content. Just the tables, gradients, colors, and so on. You won't get payed with money, but we will let you advertise your site on it. Please, i really need someone to do this, so think about it. You can take your time, so i understand if you can't do all the pages in one day. Thanks.~Chocolate570

  4. Kinda like this too?

    <html><head><style type="text/css">ul{float:top;width:100%;padding:0;margin:0;list-style-type:none;}a{float:top;width:6em;text-decoration:none;color:white;background-color:purple;padding:0.2em 0.6em;border-right:1px solid white;}a:hover {background-color:#ff3300}li {)</style></head><body><ul><li><a href="#">Link one</a></li><br><li><a href="#">Link two</a></li><br><li><a href="#">Link three</a></li><br><li><a href="#">Link four</a></li></ul></body></html>

  5. Are you sure this hasn't been taken from another forum topic? I'm sure that I answered this question. :S

    <script type="text/javascript"><!--var flashInstalled = false;var isIE = (navigator.userAgent.indexOf("MSIE") != -1) ? true : false;var isWin = (navigator.userAgent.indexOf("Win") != -1) ? true : false;if (navigator.plugins && navigator.plugins.length){var x = navigator.plugins["Shockwave Flash"];if (x){if (x.description){y = x.description;var flashVersion = y.charAt(y.indexOf('.')-1); //checks flash versionif (flashVersion>=6){ //checks for version 6 and above.flashInstalled = true;}}}}if(isIE && isWin){ //can't read from plugins array on ie pc...document.write('<scr' + 'ipt language=VBScript> \n');document.write('on error resume next \n');document.write('flashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');document.write('flashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');document.write('flashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');document.write('<\/scr' + 'ipt> \n');}if (flashInstalled && confirm("Do you want to download this flash movie?")){document.write ('<object type="application/x-shockwave-flash" data="../menus_logos/logo.swf" width="760" height="120">');document.write ('<param name="movie" value="../menus_logos/logo.swf" width="760" height="120" quality="high" menu[COLOR=DarkGreen]="false" />');document.write ('<\/object>');}else {document.write ('<img src="../menus_logos/top_banner.jpg" class="top" width="760" height="120"/>');}//--></script>

  6. Unfortunatley, javascript can not blend with ASP, from what I know, so you can't do that. If you could, you would have to do something like a do until the confirm box's value==true. I truly have no clue. Sorry :)

  7. It doesn't work in Opera, but insert this onto your page:

    <script language=JavaScript><!--//Disable right click script III- By Renigade (renigade@mediaone.net)//For full source code, visit http://www.dynamicdrive.comvar message="";///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function("return false")// --> </script>

  8. This should do the prompting, but I'm sorry to say I can't help you at all with your first question. I don't understand.

    <script type="text/javascript"><!--var flashInstalled = false;var isIE = (navigator.userAgent.indexOf("MSIE") != -1) ? true : false;var isWin = (navigator.userAgent.indexOf("Win") != -1) ? true : false;if (navigator.plugins && navigator.plugins.length){var x = navigator.plugins["Shockwave Flash"];if (x){if (x.description){y = x.description;var flashVersion = y.charAt(y.indexOf('.')-1); //checks flash versionif (flashVersion>=6){ //checks for version 6 and above.flashInstalled = true;}}}}if(isIE && isWin){ //can't read from plugins array on ie pc...document.write('<scr' + 'ipt language=VBScript> \n');document.write('on error resume next \n');document.write('flashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');document.write('flashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');document.write('<\/scr' + 'ipt> \n');}if (flashInstalled){if (confirm("Are you sure you want to download this movie?")){document.write ('<object type="application/x-shockwave-flash" data="Untitled-1.swf" width="760" height="120">');document.write ('<param name="movie" value="Untitled-1.swf" width="760" height="120" quality="high" menu="false" />');document.write ('<\/object>');}}else {document.write ('<img src="Untitled-1.jpg" width="760" height="120"/>');}</script>

  9. He doesn't want to use sql, he just wants to pull information out of an excel document. I'd like to do this too. I was just about to post a new topic! :)He's asking how to use excel as a database and take bits and parts on demand from it. I think :)Choco

×
×
  • Create New...