echizen12
Admin
Age : 27
Registration date : 2008-06-18
Number of posts : 228
|
Subject: Some HTML codes for web designing Sat Jul 26, 2008 11:25 am |
|
|
You could also use this codes to build an HTML page or web designing
CREDITS GOES TO: HTTP://THE-CRADLE.USERS-BOARD.COM
====================
Title: Expand Window From Top Left Corner Description: Here's another interesting window animation script. This trick will expand your browser window from the topmost left corner to its full size. Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- scrW=screen.availWidth
scrH=screen.availHeight window.moveTo(0,0) window.resizeTo(10,10) window.focus() for(x=0;x<80;x++){ window.resizeTo(scrW*x/80,scrH*x/80) } window.resizeTo(scrW,scrH) Title: Expand Window From Top Description: This trick is quite amazing. It will expand your browser window from top to bottom to its full size. Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- scrW=screen.availWidth
scrH=screen.availHeight window.moveTo(0,0) window.resizeTo(scrW,10) window.focus() for(x=0;x<80;x++){ window.resizeTo(scrW,scrH*x/80) } window.resizeTo(scrW,scrH)
Title: Two-Way Window Expansion Description: This neat trick will expand your browser window from the top to its maximum height then to its full width. Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- scrW=screen.availWidth
scrH=screen.availHeight window.moveTo(0,0) window.resizeTo(10,10) window.focus() for(x=0;x<80;x++){ window.resizeTo(10,scrH*x/80) } for(y=0;y<80;y++){ window.resizeTo(scrW*y/80,scrH) } window.resizeTo(scrW,scrH) ===================
Shaking Windows:
Title: Crazy Window Shaker Description: Here is a really annoying trick. The browser window will jump all over the screen when a user opens your page. The best trick you could have to lose visitors to your page. Lolz! Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- if(window.moveTo){
for(l=300;l>0;l--){ for(r=1;r>0;r--){ window.moveTo(0,l) window.moveTo(l,0) window.moveTo(0,-l) window.moveTo(-l,0)}}} Title: Page Shaker Description: This script will shake the user's browser window upon entering your page. This trick, though, is quite annoying. But I posted it anyway just for fun. Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- if(window.moveBy){
for(l=30;l>0;l--){ for(r=3;r>0;r--){ window.moveBy(0,l) window.moveBy(l,0) window.moveBy(0,-l) window.moveBy(-l,0)}}} Legend:
Orange = The length of the page shake. Higher value means longer shake.
============
Security Codes:
Title: Crazy Right Click Redirection Description: Log out your profile's right-clickers in a funny way. They will surely be surprised by this trick. Tested With: IE7, Fx2
TEST IT HERE
- Quote :
- function crazyRedi(){
alert("MESSAGE HERE") window.resizeTo(0,0) if(window.moveTo){ for(l=700;l>0;l--){ for(r=1;r>0;r--){ window.moveTo(0,l) window.moveTo(l,0) window.moveTo(0,-l) window.moveTo(-l,0)}} } top.location.href="URL OF PAGE" } document.oncontextmenu=crazyRedi Legend:
- Orange = Your message to the right-clicker.
- Green = The page the right-clicker will be redirected to.
Hi all, put this code on your scripts so nobody can take your source code If U use your own HTML You can encrypt the html using HTML Guardian, you can download HTML guardian in http://www.protware.com/
- Quote :
- var message="PUT YOUR MESSAGE HERE!";
UT YOUR MESSAGE HERE!/////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } }
function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } }
if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; }
document.oncontextmenu=new Function("alert(message);return false")
|
|
hikari27
mirmo newbie
Age : 30
Registration date : 2008-08-02
Number of posts : 4
|
Subject: Re: Some HTML codes for web designing Sat Aug 02, 2008 5:52 pm |
|
|
wow big help thanks..,! |
|
echizen12
Admin
Age : 27
Registration date : 2008-06-18
Number of posts : 228
|
Subject: Re: Some HTML codes for web designing Mon Aug 04, 2008 7:05 pm |
|
|
thanks.... hehehe |
|
xandra24
Moderator
Age : 33
Registration date : 2008-07-26
Number of posts : 10
|
Subject: Re: Some HTML codes for web designing Mon Aug 18, 2008 7:38 pm |
|
|
Where do I place this?? |
|
echizen12
Admin
Age : 27
Registration date : 2008-06-18
Number of posts : 228
|
Subject: Re: Some HTML codes for web designing Thu Aug 21, 2008 1:53 pm |
|
|
In a js layouts... hehehe so many things to do to make a js hehehe.... |
|
Sponsored content
|
Subject: Re: Some HTML codes for web designing |
|
|
|
|