friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#1  2008-09-29 02:48:34

kacang`z
» FriendsterElite
kacang`z's display avatar
System of a down
System Of a Down
Location: Gresik City
Registered: 2008-04-22
Posts: 3630
Reputation: 130
Friendster

Hide HTML source code(For Overlay Users)

For Overlay Users: :thumbsup:

Code:

<script language="JavaScript1.2">

//1) specify path to image
var imagepath="http://i197.photobucket.com/albums/aa87/welzkizzz/welzkiegothicworld.gif"

//2) specify image dimensions
var imagewidth=0
var imageheight=0

//3) change this to adjust speed (lower is slower)
var speed=8;

//4) configure what should happen when user clicks on image
//A value of "dismiss" will dismiss it, while a URL will cause the browser to navigate to it
var imageclick="dismiss"

//5) Finally, configure when the image should automatically disappear, in seconds (0=perpetual)
var hideafter=0

////No editing required beyond this point/////////////////

var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}

if(isie){
var preloadit=new Image()
preloadit.src=imagepath
}


function pop() {
if(isie) {
x=x+dx;y=y+dy;
oPopup.show(x, y, imagewidth, imageheight);
if(x+imagewidth+5>screen.width) dx=-dx;
if(y+imageheight+5>screen.height) dy=-dy;
if(x<0) dx=-dx;
if(y<0) dy=-dy;
startani=setTimeout("pop();",50);
}
}

function dismisspopup(){
clearTimeout(startani)
oPopup.hide()
}

function dowhat(){
if (imageclick=="dismiss")
dismisspopup()
else
window.location=imageclick
}


if(isie) {
var x=0,y=0,dx=speed,dy=speed;
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.cursor="hand"
oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';
oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")
oPopup.document.body.onmouseout=pop
oPopup.document.body.onclick=dowhat
pop();

if (hideafter>0)
setTimeout("dismisspopup()",hideafter*1000)
}

</script>

put that codes in to your <body> the codes goes here </body> tag.

For CSS users:

Code:

//1) specify path to image
var imagepath="http://i197.photobucket.com/albums/aa87/welzkizzz/welzkiegothicworld.gif"

//2) specify image dimensions
var imagewidth=0
var imageheight=0

//3) change this to adjust speed (lower is slower)
var speed=8;

//4) configure what should happen when user clicks on image
//A value of "dismiss" will dismiss it, while a URL will cause the browser to navigate to it
var imageclick="dismiss"

//5) Finally, configure when the image should automatically disappear, in seconds (0=perpetual)
var hideafter=0

////No editing required beyond this point/////////////////

var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}

if(isie){
var preloadit=new Image()
preloadit.src=imagepath
}


function pop() {
if(isie) {
x=x+dx;y=y+dy;
oPopup.show(x, y, imagewidth, imageheight);
if(x+imagewidth+5>screen.width) dx=-dx;
if(y+imageheight+5>screen.height) dy=-dy;
if(x<0) dx=-dx;
if(y<0) dy=-dy;
startani=setTimeout("pop();",50);
}
}

function dismisspopup(){
clearTimeout(startani)
oPopup.hide()
}

function dowhat(){
if (imageclick=="dismiss")
dismisspopup()
else
window.location=imageclick
}


if(isie) {
var x=0,y=0,dx=speed,dy=speed;
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.cursor="hand"
oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';
oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")
oPopup.document.body.onmouseout=pop
oPopup.document.body.onclick=dowhat
pop();

if (hideafter>0)
setTimeout("dismisspopup()",hideafter*1000)
}

credit by : JavaScript


#2  2008-09-29 16:42:14

gresikfriendster
» FriendsterTalker
gresikfriendster's display avatar
gresik group
System Of a Down
Location: gresik,jawatimur
Registered: 2008-08-20
Posts: 141
Last visit: 2008-10-22
Reputation: 3
Friendster

Re: Hide HTML source code(For Overlay Users)

thanks for sharing...

i'm gonna try this...  :thumbsup:

#3  2008-10-01 15:06:33

jen0128
» FriendsterNewbie
Registered: 2008-06-12
Posts: 1
Last visit: 2008-10-01
Reputation: ~

Re: Hide HTML source code(For Overlay Users)

uhm
can you teach me about html?
i really want to make layouts but i dont know about html's:cry:

#4  2008-10-12 14:06:57

kacang`z
» FriendsterElite
kacang`z's display avatar
System of a down
System Of a Down
Location: Gresik City
Registered: 2008-04-22
Posts: 3630
Reputation: 130
Friendster

Re: Hide HTML source code(For Overlay Users)

jen0128 wrote:

uhm
can you teach me about html?
i really want to make layouts but i dont know about html's:cry:

You studied then in yg more understood...... That indeed rather had difficulty....


#5  2008-10-23 12:03:01

flamehis
» FriendsterNewbie
Registered: 2008-09-24
Posts: 3
Last visit: Yesterday
Reputation: ~

Re: Hide HTML source code(For Overlay Users)

hoy ala amn d2 n bckground

#6  2008-10-23 14:01:52

kacang`z
» FriendsterElite
kacang`z's display avatar
System of a down
System Of a Down
Location: Gresik City
Registered: 2008-04-22
Posts: 3630
Reputation: 130
Friendster

Re: Hide HTML source code(For Overlay Users)

flamehis wrote:

hoy ala amn d2 n bckground

plss u speak english.......
thanks


#7  2008-11-03 07:14:21

glerch_ang3l
» FriendsterNewbie
glerch_ang3l's display avatar
secret....
Location: Gingoog City
Registered: 2008-03-19
Posts: 8
Last visit: Yesterday
Reputation: ~
Friendster

Re: Hide HTML source code(For Overlay Users)

:cry:pano gawa chat box...:cry::crybaby:




10. Signatures. Don't use more than one banner. Don't make it excessive and annoying. Maximum image height for signature is 200 px. No audio or video allowed. We have the right to edit or remove objectionable signature.

-Moderators

#8  2008-11-03 09:38:25

kacang`z
» FriendsterElite
kacang`z's display avatar
System of a down
System Of a Down
Location: Gresik City
Registered: 2008-04-22
Posts: 3630
Reputation: 130
Friendster

Re: Hide HTML source code(For Overlay Users)

glerch_ang3l wrote:

:cry:pano gawa chat box...:cry::crybaby:

plss u speak english.......
thanks


#9  2008-11-04 03:09:09

the_chosen_one
» FriendsterNewbie
the_chosen_one's display avatar
Location: manila
Registered: 2008-10-14
Posts: 5
Last visit: 2008-11-23
Reputation: ~
Friendster

Re: Hide HTML source code(For Overlay Users)

another additional info =)

Search Friendstertalk

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 17 queries - 0.378 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)