Archive for the ‘Javascript’ Category

[Tips] How to convert Degress to Radians :)

function radians(i:int):Number
{
return Math.PI/180*i;
}

Pretty neat formula that you can reuse in absolutely everywhere. Anyway, this is applicable in Actionscript 3.0.

[Inspiration] Chrome Experiment

chrome

Ar this rate, Google is really going to take over the world. via Creativity Online.

[Javascript] Resizing Browser

This is one interesting trick I found which lurking on the web space, something which may annoy one or two of your web visitors by surprising them on things they do not want to happen : Resizing and moving their browser window around.

This usually happens when a mini-site, be it a movie or a promotional site will happen to launch in a new window, it will position itself in a fullscreen environment and cover your screen entirely. How do they do it? I’ve written a small file for you to know about how it works, not abuse it.

What makes this work?
Try copy and paste this line onto the place where you type in your URL inside your browser.

javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight)

See?

How to use it?
Just download the file and use it anywhere on your site. The download compromise of 2 file, resize.html and resize.js. Inside the javascript (.js) file is the line above. To use it is pretty simple, just copy this line and put in between of your site’s <head></head>.

<script type=”text/javascript” language=”javascript” src=”resize.js”></script>

Download
You can download the source file and try it on your computer.
[ Auto-Resize & Fullscreen Browser ]

Most importantly, enjoy!

Email Spam Protection

Inspired by ActionScript.org
Email Spam Protection by ManMeng
Special thanks to SWFOBJECT

Email siaukia@gmail.com for information

Email Spam Protection ( 24th September 2007)
Copyright (c) 2007 ManMeng.net. All Rights Reserved.

+++++Using the Script++++++++++++++++++++++++++++++
A combination of help from DECONCEPT’s SWFobject (http://blog.deconcept.com/swfobject/)
that basically enable this trick to work. You wouldn’t need to open up Flash to edit
and add email address for your site which the variable can be added through the html file.

<script type=”text/javascript”>
var so = new SWFObject(“email_protect.swf”, “mymovie4″, “200″, “30″, “8″, “#FFFFFF”);
so.addVariable(“variable1″, “siaukia@gmail.com”);
so.write(“flashcontent”);
</script>

Note the “variable1″ which is automatically grabbed from the html file.

Author’s Note
Enjoy and share the love!

Email Spam Protection
Download (zip) / View Demo


Comments

  • EMBEDDED82

    Hi, really interesting experiment. I'm searching something ([Experiment] Simulation of Apple Safari’s Top Sites in Flash!)

  • manmeng

    @firdaus : you’re most welcome bro, share your pics yeah, ([Travel] Broga Hill)

  • Alpha Ace

    very helpful info you got here, especially the map. i wil ([Travel] Broga Hill)

  • nash

    hey..thanx so much 4 da info...especially da map..i'm going ([Travel] Broga Hill)

  • firdaus harry

    wow...that place is really amazing.i'm planning to go there ([Travel] Broga Hill)

  • manmeng

    Hey there, Enjoy your trip there and do take extra precaut ([Travel] Broga Hill)

  • Timo K

    Hi all..I m going to Broga Hill tomorrow, to catch the 1st s ([Travel] Broga Hill)

Category

Archives

Links

Admin