Search    
| | | | |

Previous Blogs
 
Search:


VXT News
:: Star Trek Movie & Series Rankings [Updated]
:: Half Life 2 - Episode 2 - Portal Acheivements
:: VXT Fortran
:: The Ovation VXT Guitar
:: My Rants

» More 

Computer Tips & Reviews
:: Computer News Feeds
:: Opera: The Steve Fonyo of Browsers
:: Web Development Tip: Breaking Out Of Frames
:: phpBB3 Version 3.0.5 Email Error
:: Internet Explorer 8: To Install Or Not To Install
:: Computer Tips: How to Take Screenshots

» More 

Transformers News
:: My Transformers Collection
:: Transformers Reviews: ROTF Human Alliance Bumblebee
:: Top 10 G1 Transformers Episodes
:: Transformers: Revenge of the Fallen Review
:: Transformers Reviews: Revenge of the Fallen Optimus Prime
:: TFcon 2009

» More 

Personal
:: Peter & Lily's Wedding
:: The Ovation VXT Guitar
:: Old Picture
:: SYTYCD Tour 2006, Toronto
:: My Sister Annie's Daughter Natalie

» More 


Popular Blogs
PHPBB3 Tips: How To Query Custom Profile Fields
Comment from Seebz on Jun 10, 2010, 9:21:04 AM
Lost Finale - A Big Disappointment
Comment from vxt on May 24, 2010, 10:16:20 PM
Configuring Speedstream 6520 For Modem Only Mode
Comment from vxt on May 12, 2010, 3:50:26 PM
Transformers Reviews: Revenge of the Fallen Optimus Prime
Comment from Arry Constantine Prime on Mar 22, 2010, 10:15:18 PM
Filezilla vs WinSCP
Comment from vxt on Dec 18, 2009, 3:21:57 PM

Links
SYTYCD Fans
SYTYCD Canada Season 3 Ep12- Top 18 Results
Who Pissed In Your Corn Flakes
How to Park at Pacific Mall (or any Asian Mall)
Simon - Space Piracy!
Oh, snap!
Simon Carr
My Friend's Band - Octoberman
Toronto Weather
Nam Tran Makeup


Ads

Sites I've Worked On
Oakville Optometry
Astro Amusements
Calexis Advertising & Marketing Counsel
CWDMA
Canada Bread Foodservice
Star Electronics
Wizard World
Screemers
Half Wasted


Viet's Online Games
Web based games that I've created. Enjoy!




Did You Know?

Web Development Tip: Breaking Out Of Frames
August 6, 2009

How can you stop someone from framing your site? First of all, what does that mean? If you don't know what it means, you probably won't care about this blog but I'll give a little explanation, anyway. You know when you do a Google image search and when you click on the images, it takes you to the site but there is a bar at the top of their site with Google's information? Well, that's Google framing the original site. They put the site in what's called a frame in HTML. Here's a little javascript code to break out of frames. Just put this code in the onLoad attribute of the body tag.
if (self != top) top.location.href = self.location.href;
Bookmark and Share
Comments


Name
Email (optional - will not be displayed)
Website (optional)
Your Commentssmileys
What number comes after 3?    Please answer the question shown
Valid XHTML 1.0!
© Copyright 2010 Viet Tran. All Rights Reserved. Powered by Content ManagerTM | Site Map | Top