![](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
-
-
The GIMP is one of the most versatile tools available to a graphics artist. It might take a while to get used to, but it's very easy to use after you've figured it out. I'll post some stuff when i get back.
-
Xor is an operator like || and &&. A quote from a site:
On the previous page we stated that the Exclusive-OR, or XOR function can be described verbally as, "Either A or B, but not both." -
First of all, add this to your body tag:onload=timeLog()Add this to your head section:
<script type="text/javascript">function changeLog(){ur=(url of login page here)window.location=ur}function timeLog(){x=(put time in milliseconds of time out here)var logTime=setTimeout(changeLog,x)}</script>
That should work. But be warned: the person can, at most cases, just press the forward button and log in again. Unless you have something complex running on your server. But in any case, try it out, and see if it works for you.
-
You can't do this without frames of some sort, as there's no way to load HTML content through src.
-
Not sure if you can do this with VBScript, but you can convert visual basic files to exe's easily.
-
Rawr! I will now eat you!(Just Kidding
)Welcome to the forums, hope you have a great time.Now, to address your questions. Any tag you put in the head section you can put into the body section too. The only problem is the head section loads first, causing your page to look funny if the title tag doesn't take effect until the whole page is loaded. So you can put style tags into the body section with php. :)Also, you can have more than one head section or body section. I don't know if the validator will like it, but it sure will work.
-
-
PHP does have a similar approach, since it can read/write to files, but i'm not sure about creating. And i don't know how to use the function
-
Hmm...scroll down on this page?
http://www.w3schools.com/tags/ref_entities.asp
-
Skemcin, really, go make a blog. You'd have millions of readers. I love reading your rants.
-
Weird Problem
in PHP
Have you done this yet?$id=$_GET['id'];You have to put the value of the variable into the url to $id, otherwise you can't switch it.
-
Oh, like that. You'll have to create your own file selecting program to do that. Sorry we can't help.
-
It's 'visitor' from DaFont.com, but I had to add the border manually. (Like, i didn't draw it out, but it's not part of the font).
-
Please post your code and give a link to the site you have the problem on.
-
Lol, yes it is.
-
Yes, I don't think this is going to work with HTML. You'll have to create an image. And for image mapping, my free paint software has a plugin where you draw the map over an image, and then it'll make the code and give it to you.
-
-
I think he means <input type=file>, but that already has a browse button. :S
-
Oo, nice catch, it seems the side boarder of the m in the text is off. I'll try to fix that soon.Aspnet, just as soon as i fix the m, you can use it.
-
Hello, I have made this little bar to advertise W3schools' forum on other sites. I have reason to believe that the text is hard to read. Should I re-do the text, or is it ok?
-
I don't understand. If you document.write a /r with javascript, it will create a carriage return.
-
document.write('<script src="src.js" type="text/javascript">')That would work.
-
The
is just added into the text box, it's not actually a variable or a function. Ty for replying, though.
-
So, i'm helping a person with their forum. Everything's great except for one thing: The bbcode inserting function doesn't work in firefox. I think I have discovered the problem, it's the document.selection. From what I remember a long time ago, that's an IE only method. Correct? So I need to figure out how to make the function work cross-browser. I have also learnt that document.getSelection() works cross-browser, but how to integrate it? And do you see any other problems with this code? Thank you very much.This is the function that inserts the bbcode into the post box with the attribute name set as "post".
function createlist(){ f1.post.focus(); var selected = document.selection; var srange = selected.createRange(); srange.colapse; if(srange.text=="") alert('There is no text selected to format'); else { nq=srange.text.split("\n").join("\n[*]"); srange.text="[*]" + nq; }} function LBC(func){ f1.post.focus(); var seected = document.getSelection; var srange = selected.createRange; srange.colapse; var nq=srange.text; if(srange.text=="") alert('There is no text selected to format'); else { switch(func) {case 'b':nq="[b]"+srange.text+"[/b]"; break;case "i":nq="[i]"+srange.text+"[/i]"; break;case "u":nq="[u]"+srange.text+"[/u]"; break;case "img": nq="[img="+srange.text+"]; break;case "q":nq="[QUOTE]"+srange.text+"[/QUOTE]"; break;case "c":nq="[CODE]"+srange.text+"[/code ]"; break;case "url":nq="[url=http://"+srange.text+"]"+srange.text+"[/url]"; break; } srange.text=nq;}}f1.name.focus();
Thank you very much in advance.<Chocolate570>
clientside timeouts
in JavaScript
Posted
Omg, thanks skemcin, i didn't read the first post properly![:)](//content.invisioncic.com/r49260/emoticons/default_smile.png)