Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - TheRealDragonboy

Pages: 1 ... 6 7 [8]
141
Coding / This JavaScript doesn't work on IE
« on: May 24, 2007, 08:57:48 pm »
Title ^  ;)

Link:
http://www.zerowebdesign.nl/beta/

JavaScript:
Code: [Select]
var defaultopacity = 30;

function slowhigh(which2)
{
imgobj = which2;
browserdetect = which2.filters? "MSIE" : typeof which2.style.MozOpacity == "string" ? "mozilla" : "";
instantset(defaultopacity);
highlighting = setInterval("gradualfade(imgobj)",50);
}

function slowlow(which2)
{
cleartimer();
instantset(defaultopacity);
}

function instantset(degree)
{
if (browserdetect == "mozilla")
{
imgobj.style.MozOpacity = degree/100;
}

else if (browserdetect == "MSIE")
{
imgobj.filters.alpha.opacity = degree;
}
}

function cleartimer()
{

if (window.highlighting)
{
clearInterval(highlighting);
}

}

function gradualfade(cur2)
{

if (browserdetect == "mozilla" && cur2.style.MozOpacity<1)
{
cur2.style.MozOpacity = Math.min(parseFloat(cur2.style.MozOpacity) + 0.1, 0.99);
}

else if (browserdetect == "MSIE" && cur2.filters.alpha.opacity < 100)
{
cur2.filters.alpha.opacity = 30;
}

else if (window.highlighting)
{
clearInterval(highlighting);
}

}

HTML:
Code: [Select]
<a href="#" onMouseover="slowhigh(this)" onMouseout="slowlow(this)" class="nav">Home</a>
I have no clue how to make this possible in Internet Explorer, it's very important that it does for it.
Any idea how to fix this?

142
Graphics / I made a speed painting video
« on: May 08, 2007, 04:38:01 pm »
<a href="http://www.youtube.com/watch?v=NdZbhq1oCdM" target="_blank">http://www.youtube.com/watch?v=NdZbhq1oCdM</a>
The video (link if this doesn't work: http://www.youtube.com/watch?v=NdZbhq1oCdM)


The avatar I made (you may use it if you want)

Edit: I made another video

<a href="http://www.youtube.com/watch?v=MOGxz4YXyqI" target="_blank">http://www.youtube.com/watch?v=MOGxz4YXyqI</a>
The video (link if this doesn't work: http://www.youtube.com/watch?v=MOGxz4YXyqI)


800 x 600
1024 x 786
1280 x 1048
The Wallpaper I made (you may use it if you want)

I'm planning to make more of these, Please tell me what you think of it.

143
Coding / JavaScript for Beginners
« on: April 30, 2007, 08:59:07 am »
Here's an old tutorial of me about JavaScript...
If you can barely read the codes, Here is the original tutorial.

Quote
This is what you need before starting:
- Basic HTML knowledge
- Notepad or something else
- JS enabled web browser
 
What is JavaScript?
 
JavaScript is a web scripting language, That means that it is a script inside a web page. A web page is based on HTML and JavaScript is a kind of extension to it. The script is based on a real programing language named C. It's a simple version of it, Without using a compiler and other difficult things, Because it's already built in the page.
 
The History of JavaScript
 
JavaScript was created by Netscape and Sun. Netscape wanted to make a programming language that can do things like Java and useful for a site. The first name before JavaScript was named 'Mocha' and some years later it was named 'Live Script'. When Live Script was very popular and well-known, The Script is finally named 'JavaScript'. But remember, JavaScript is not Java. Java is a very detailed and difficult programming language for making powerful applications.
 
Writing in JavaScript
 
Are you ready? Okay! We will begin. If you don't know how to run a web script, Open Notepad using the start menu or using the start > run, and typing notepad. When you are done and want to test your script, Save the page as a .htm or .html file, And open it with your web browser. To make a Javascript working, You have to use a HTML tag to open it.
 
Code: [Select]
<script></script>
This is just the base of it, The script tag needs a attribute type on it. Add the type attribute and set the value to "text/javascript". That will let your page know that the script is wrote in JavaScript.
 
Code: [Select]
<script type="text/javascript"></script>
If you're done with the begin of it, You can start using JavaScript. The first code that I can teach you, Is how to write something on your page with JavaScript. It's very easy to using the write command.
 
Code: [Select]
document.write("hello world!")
Well, I said to use the write command. But why the document with a dot? Because the document tag means that your command is targeted to your document page, So actually it's the write() command + the document as your target. After declaring the target, It always need a "." dot.

So if you get it now, Your first JavaScript code will look like this.
 
Code: [Select]
<script type="text/javascript">

document.write("Hello World!");

</script>

The next important thing is to add a ";" after a command line, That will prevent you crossing the whole script and making bugs. The ";" thing will make a end line after your code.
 
Code: [Select]
document.write("Hello<br>"); document.write("World!");
Don't forget that the document.write will write something down in your page, like a paragraph. So HTML tags always works, But Watch out! Don't use a " double quote if you did the same on the attribute="value". The script will see the quote as a stop and will mess up your script.

So I suggest you to use a ' single quote. Like this attribute='value', And like this.
 
Code: [Select]
document.write("<div class='style'>Hello Styling!</div>")
If you didn't do that, And you just left the quotes of the HTML as a double quote, It will look like this.
 
Code: [Select]
document.write("<div class="style">THIS IS WRONG</div>")
The document.write("") command have got "" quotes means things that are in the quotes is Text. If you don't have that, The page will see it as a variable or string. So it wouldn't write something.
 
Code: [Select]
document.write(THIS IS WRONG);
Well done dude! If you followed the steps in a right way. You should understand how the basic of JavaScript works

Sorry for the grammar errors, English is my 4th language.

144
Graphics / Weirdows XD
« on: April 29, 2007, 01:04:55 am »
I'm trying to create my own comic style, It looks kinda like VGcats and in my own line style. Here is a small comic page as a kind of Moc-up, It's called "Call of Pikachu" a fancomic of Call of duty 2 and Pokemon(although I'm not fan of it, It's still fun to use Pikachu)

I hope it's good enough.

145
Graphics / An Anime Art I just made
« on: April 24, 2007, 12:44:18 am »
Sketch


Render


Please tell me what you think of it, I want to improve my lines :-\

Pages: 1 ... 6 7 [8]

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.04 seconds with 33 queries.