![](http://content.invisioncic.com/r49260/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Chocolate570
-
Posts
1,550 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by Chocolate570
-
-
Welcome to the forums, Jason! (or taklya). Yes, the tuts are awesome.
-
No problem, and don't hesitate to ask the next question.
-
Here's the URLClick
-
You can write a description of the picture and let other people imagine it.
:)
-
-
We can't tell if you just ask us that, it looks perfectly fine to me. What are you having trouble with?
-
-
<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>
-
-
I'm glad you solved your problem. Don't worry about your english, i'm pretty good at understanding everything.
~Chocolate570
-
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
-
Well, if you want it to be dynamic, then you have to use PHP and a database. If you just wanna write it, then you use html.
-
-
If I understand what you're trying to do, it's impossible with javascript. Sorry.
-
Can you give me a link to your site? I'd be able to check out what you're doing wrong there.
-
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>
-
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>
-
This is a web building site, they don't handle Java. Not to mention writing a whole tutorial on Java would take a really, really long time.Search Google for the chatbox scripts.Hope that helped a bit.
~Chocolate570
-
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
-
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>
-
No problem, any time.
-
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>
-
I don't know, is doHTML allowed? It only lets you do css, javascript, and html. Let me test:<marquee>test</marquee>
-
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
one question
in HTML/XHTML
Posted
Yes, this is an html question.<marquee><img src="img1"></img><img src="img2"></img><img src="you get the idea"></img></marquee>