THE RIGHT PLACE TO MEET NEW FRIENDS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

THE RIGHT PLACE TO MEET NEW FRIENDS

WELCOME TO FRiENDSTER PEEPS!!!
 
HomePortalSearchLatest imagesRegisterLog in

 

 Useful Javascripts!

Go down 
+4
CourtCh13F
danster
Justine
FeelingCUTE
8 posters
AuthorMessage
FeelingCUTE
Help Moderator
Help Moderator
FeelingCUTE


Male Number of posts : 246
Age : 32
Location : Nasa Banda pa may taping pa kasi..
Registration date : 2006-12-21

Useful Javascripts! Empty
PostSubject: Useful Javascripts!   Useful Javascripts! Icon_minitimeThu Dec 21, 2006 1:54 am

Blinking Scroll Bar
Insert this in <body> tag

Code:

<script>
var mode=0
function blinkscroll(){
if (mode==0)
document.body.style.scrollbarFaceColor="blue"
else
document.body.style.scrollbarFaceColor="black"
mode=(mode==0)? 1 : 0
}
setInterval("blinkscroll()",1000)
</script>


Right Click = Logout


Code:
<script>
<var>
</script>

Merlin Code

Code:
<script>
DOC=document;var data, p;
var agt=navigator.userAgent.toLowerCase();
p='http';
if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(DOC.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent)
if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};
</script><br><br><Object></Object>
<script>
</edit>
</script>

Status Bar Message


Code:


<script>

// set speed of banner (pause in milliseconds between addition of new character)
var speed = 10

// decrease value to increase speed (must be positive)
// set pause between completion of message and beginning of following message
var pause = 1500

// increase value to increase pause
// set initial values
var timerID = null
var bannerRunning = false

// create array
var ar = new Array()

// assign the strings to the array's elements
ar[0] = "Welcome To My Profile"
ar[1] = "Enjoy Surfing Here, And Put A Message In my Cbox"
ar[2] = "Bago Umalis Testi Muna Ha!!Luv You^________^"
ar[3] = "Geh Kaw Na Bahala Sa Profyl Ko Yngat!!=)"

// assign index of current message
var message = 0

// empty string initialization
var state = ""

// no value is currently being displayed
clearState()

// stop the banner if it is currently running
function stopBanner() {
// if banner is currently running
if (bannerRunning)
// stop the banner
clearTimeout(timerID)
// timer is now stopped
timerRunning = false
}

// start the banner
function startBanner() {
// make sure the banner is stopped
stopBanner()
// start the banner from the current position
showBanner()
}

// assign state a string of "0" characters of the length of the current message
function clearState() {
// initialize to empty string
state = ""
// create string of same length containing 0 digits
for (var i = 0; i < ar[message].length; ++i) {
state += "0"
}
}

// display the current message
function showBanner() {
// if the current message is done
if (getString()) {
// increment message
message++
// if new message is out of range wrap around to first message
if (ar.length <= message)
message = 0
// new message is first displayed as empty string
clearState()
// display next character after pause milliseconds
timerID = setTimeout("showBanner()", pause)
}
else {
// initialize to empty string
var str = ""
// built string to be displayed (only character selected thus far are displayed)
for (var j = 0; j < state.length; ++j) {
str += (state.charAt(j) == "1") ? ar[message].charAt(j) : " "
}
// partial string is placed in status bar
window.status = str
// add another character after speed milliseconds
timerID = setTimeout("showBanner()", speed)
}
}

function getString() {
// set variable to true (it will stay true unless proven otherwise)
var full = true
// set variable to false if a free space is found in string (a not-displayed char)
for (var j = 0; j <state></script>


I hope This one Helps Very Happy
Back to top Go down
http://www.friendsteroverlay.jconserv.net
Justine
Assistant Administrator
Assistant Administrator
Justine


Male Number of posts : 1494
Location : Cebu
Registration date : 2006-12-08

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeThu Dec 21, 2006 4:23 am

Cool..!! nyc one..are ya good in that just asking..Very Happy
Back to top Go down
http://www.friendster.com/myblackheart
danster
Forum Administrator
Forum Administrator
danster


Male Number of posts : 576
Age : 32
Registration date : 2006-12-08

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeThu Dec 21, 2006 9:41 am

He happens to be addicted with HTML.. according to him. Stay active. hehe. Nice one. Smile
Back to top Go down
http://www.friendster.com/dansixth
CourtCh13F
Site Administrator
Site Administrator
CourtCh13F


Male Number of posts : 102
Age : 33
Registration date : 2006-12-08

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeThu Dec 21, 2006 5:33 pm

Quote :
editted by danster
no need of quoting long posts

Ei,better emphasize on what browser that scripts work..Very Happy


Last edited by danster on Fri Dec 22, 2006 7:56 pm; edited 1 time in total
Back to top Go down
http://courtchief.co.nr
FatalError
Newbie
Newbie



Male Number of posts : 3
Location : Never Never Land
Registration date : 2007-01-02

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeTue Jan 02, 2007 7:51 pm

CourtCh13F wrote:
Quote :
editted by danster
no need of quoting long posts

Ei,better emphasize on what browser that scripts work..Very Happy
Certainly it will work in IE. Most animations will only work in IE. pig lol!
Back to top Go down
http://mabzicle.hack-inter.net
kylix
Newbie
Newbie



Number of posts : 10
Registration date : 2006-12-25

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeMon Jan 29, 2007 10:09 am

they're not actually html codes.. perhaps.. java scripts? nice find btw..
Back to top Go down
submersed
Senior
Senior
submersed


Male Number of posts : 159
Age : 39
Location : zamboanga
Registration date : 2007-02-16

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeSat Mar 03, 2007 8:32 pm

wow thanks for the info.. Wink
Back to top Go down
http://www.myspace.com/anonymouz
eehjhay
Newbie
Newbie
eehjhay


Male Number of posts : 16
Location : sydney, australia
Registration date : 2007-02-19

Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitimeFri Mar 09, 2007 3:50 pm

[quote]Right Click = Logout


Code:
Code:
&lt;script&gt;
&lt;var&gt;
&lt;/script&gt;

[quote]
am not sure of this one. is this will work? too short for a scriptight Click = Logout


Code:
Code:
&lt;script&gt;
&lt;var&gt;
&lt;/script&gt;

[quote]
am not sure of this one. is this will work? too short for a script
Back to top Go down
Sponsored content





Useful Javascripts! Empty
PostSubject: Re: Useful Javascripts!   Useful Javascripts! Icon_minitime

Back to top Go down
 
Useful Javascripts!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
THE RIGHT PLACE TO MEET NEW FRIENDS :: Friendster Design :: Tutorials-
Jump to: