![](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
-
-
Well, i don't think document.forms[0].event works. What i suggest:
<html><head><script type="text/javascript">function ya(){alert("OMG! MESSAGE HERE! OMG!")}</script></head><body><form><input type="text" value="blah" onchange="ya()"></form></body></html>
That is multi browser, and will work perfectly.
-
Ya, i got a 19/20 for the same reason as you. Cookies are just..weird.I am pretty much advanced with JavaScript, but only not for cookies.I passed the quiz at W3Schools, with 19/20 because I did not want to learn about cookies, dates and times.For the rest, I understand most of it, and can write my own codes :(I've been experienced in writing scripts for forms. I've also done a lot of JavaScript's alternate way of handling ?this=something in URLs (with match() and RegExp).Edit: but now I'll replace most the codes I've done with JavaScript by codes of PHP, which are stronger, more secure and well,. just better -
Wierd. Except, it has nothing on the page!
-
Na-uh! I digress more than you!Before we go into CSS, i would like help with the javascript. Afterwards, i will post it in the css forum. Then you can have a go at it with all your fancy input.whatever#blah{} stuff. I really have to learn CSS...Only one that pertains to use of Web Browsers. I do have dreams about other stuff though. But I digress... -
<?php$txt="<link rel=\'Stylesheet\' href=\'\' type="text/css";echo $txt;?>I guess..i don't know php. would that work?
-
Only one? I usually have one per night. Anyway... :)No, seriously. Does anyone know how to make it work in firefox?
-
Rofl. Well, most users use IE of FireFox.You're gonna hate me for saying this, but it works fine in Opera... -
Click this:http://w3schools.invisionzone.com/index.php?showtopic=196From what they say, no there isn't.
-
Hehe..i'm younger than you! :)Html is easy, you'll get it in a snap when you get the basic concept. Then all you have to do is memorize all of the tags.
-
Ahh! It's a bit too complex if you ask me.http://www.siteflip.com/includes/home.js
-
Well, i have no clue how they do that. I haven't checked their source yet. But you probably do now
-
Someone already asked about reading a file size a bit down. There's no real way to do it with javascript.
-
You mean like what they have onhttp://siteflip.comWhen you highlight over the features links?
-
Ok, i'm a pain in the neck, i know..I need some help.Because the answer-textbox in the calculator is "dir='rtl'" whenever the answer is a negative number, it automatically puts it to the right side. For example, if you did:90-91 The textbox would show1-So this is what i did in the operators section.
if (operator=='+'){var y=eval(first)+eval(second)zoop=Math.abs(y)document.forms.myForm[0].value="-"+zoop}
It turned out with the same thing, "1-". :)Does anyone know how i would accomplish fixing this without having to make the text box's dir ltr? Thanks! Choco
-
Thanks so much. I'll get down to putting all the code in today.
-
So, i would doinput.operator:active{background:red}:S
-
Thanks jonas, it looks great. I will have to modify it, as originally i wanted it so that when you click an operator(+,-,/,*, etc.) the operator gets highlighted.
-
Ok, let me clarify as i explained it horribly.What i wanted to do, i put 2 frames on the page. One frame would have a text area in it, where you can code, and then there would be a button at the top.When you click the button, it will change the rught iframe to a window, and then write what you put at the left side in the document at the write using the method i kinda explained at the top..Anyone?
-
darn stealers! (not the football team!
)Well, if you want the complete code thing to hide the css, this is how it would go.<script src="http://hostofscript/script.js"></script>Inside that hosted script, would be this:document.write("<link rel=\'Stylesheet\' href=\'\' type="text/css">Where all bolded parts are up to you. I need a second opinion;would this work?
-
It didn't work...wierd...the code makes perfect sense. Oh well, i guess i'll stop being lazy and learn css.
-
http://w3schools.invisionzone.com/index.php?showtopic=205^^ Original topic.I was wondering; using the same concept as x= window.open("blahblahblah")x.document.write("blahblabvjoisajdfa")can't you do that with an iframe??? like, document.getElementsByIdTag('iframe1').src="variable"? To recreate the tryit editor with js? If anyone understands what i mean, please post.
-
You'd have to ask w3schools themselves, as the thing is coded in asp.
-
Rofl, great point. But now on to his question.Do the same thing we just showed you, except with <link rel="Stylesheet" .... etc.>
-
First, don't post the file there, second, do a really complex way of posting it through js. For example.x = sy=cz=riptdocument.write("\<"x+y+z+" src=\"\"\>")If you wanted to cloak a script src. Most people use the find option for webpages, so that would hide it.
createPopup()
in JavaScript
Posted