Skip navigation

Tag Archives: javascript

In this section explains if you are making a website and you need a code for html to work with a pop-up html window with specific length and width.

CODE IN HTML

*this will be placed inside the html you are working on*
<script type=”text/javascript”>
//Insert this code inside the javascript
function popup(url) {
newwindow=window.open(url,’name’,’height=600,width=800′);
if (window.focus) {newwindow.focus()}
return false;

}
</script>

*Then this is the code for the link*
<a href=”samplepopup.html” onclick=”return popup(‘samplepopup.html’)”>This is the Pop-up</a>

In this section explains if you are making a website and you need a code for a flash button to work with a pop-up html window with specific length and width.

CODE IN FLASH

*this will be the code inside the flash button*
on (release) {
getURL (“javascript:openNewWindow(‘samplepopup.html’,’thewin’,’height=600,width=800,toolbar=no,scrollbars=no’);”);
}

*html code* *where the flash object is embeded*
<script language=”JavaScript”>
//Insert this code inside the javascript
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

*inside html-body tag*

<EMBED src=”samplepopup.swf” quality=high bgcolor=#FFFFFF WIDTH=800 HEIGHT=500 swLiveConnect=true name=samplepopup.swf TYPE=”application/x-shockwave-flash” PLUGINSPAGE=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash”></EMBED&gt;

take note: the width and height of the object is up to you to decide on what will you be using.

Advertisements

I’ve been browsing some online-game-forums and caught my attention on this little, but tricky site game. I called this a game because this site was intended to measure your IT/programming skills likeΒ  JavaScript, PHP, HTML and such. No harm will be done if you ended up wrong answers in guessing. We’ll you better try it and let’s see how deep can you explore~! πŸ˜€

Btw, im currently stuck in Level 8 now and still guessing how to bypass these tricks.. hehehe. I believe these site has 100 levels! who knows? πŸ˜€ Go figure it yourself!

Note: I’m not endorsing this site or what-so-ever and this is not mine, i just wanna share to others how cool this site works. lol πŸ˜› I believe this site is safe since i never encounter any viruses or spam of it. Just enter at your own risk. πŸ™‚ And it works on any internet browsers. (Opera, IE, Mozilla) Happy Hacking! πŸ˜‰

Intro:

WORLDWIDE HACKING IN PROGRESS…
HackerSkills.com is your own online hacker simulation. With over 100 levels that require different skills to get to another step of the game, this new real-life simulation will help you advance your security knowledge and also improve your JavaScript, PHP, HTML and graphic thinking in a fun way. Have a spare minute? Log on! Each level will provide you with a new, harder clue to find a way to get to another level. Only few people have gotten to the end of the maze. How good are your Hacker Skills?
visit this site and test your hacking skills now!

www.hackerskills.com

I browse into the internet and found something very useful.. You can download streaming videos and save it in your pc!!

Are you tired of watching streaming videos coming from youtube and other streaming videos? One thing you wish is to download that video in to your hard drive and save it for future use.. Well, no problem! This might solve it. πŸ™‚

This will work if your browser is Mozilla Firefox. (I believe Opera browser will work also)
1. In order to enable these scripts, you must first download and install Mozilla Firefox Extension, Greasemonkey. Greasemonkey is a Firefox extension that lets you write bits of JavaScript to “fix up” broken web pages.

2. When you have successfully download and install the greasemonkey, restart your browser.

3. After Restart go to Tools in the menubar. You should see an option there named ‘greasemonkey’ and it must be checked enable’. You should see also an “Install userscript” “Manage userscript”.

4. Next thing you must do is to install the Greasemonkey userscript. To download embedded videos/movies, you must install the script Unembed. (Click OK to install)(just click here and it will prompt to install this script) OR you could just click Tools > Install userscript and select the unembed script to install.

5. After these steps, try to visit site that has streaming videos you wanted to download. On the video, you should see a [download] link at the bottom or right side of the movie, allowing you to save the file into your computer.( Right click the [download] link and choose save as.

Enjoy downloading πŸ™‚