[b]UPDATED:[/b] July 11, 2008 both works now in IE and FX
[b]REQUIREMENTS:[/b]
1. A working [b]ENTER/WELCOME/INTRO/REDIRECTION PAGE[/b]
with [b]clickable image or button[/b] to use for redirection...
--go look at trick and tutorial section on [b]how to make one[/b]...
or see eehjay's compilation of codes...
2. [b]wav[/b] sound files with a less kb. (you can get one at the links below).
download it and upload it on ur Ripway account...
or just get the file url from the sites...
but i recommend you to download and host it coz
sometimes file url on some sites are temporary...
[url]http://simplythebest.net/sounds/WAV/sound_effects_WAV/index.html[/url]
[url]http://www.members.tripod.com/%7Ebuggerluggs/ie/wav-dir184.htm[/url]
[b]How to apply codes on your Enter/Welcome page...[/b]
[b]NOTE:[/b] this is only a [b][color=red]SHORTCUT VERSION[/color][/b]... just showing you how or where to put the codes...
[b]version 1[/b] for [b]IE[/b] only
[quote]<html>
<head>
<title>My Enter/Welcome/Redirection/Whatever Page</title>
<script language="javascript" type="text/javascript">
function playSound[b]1[/b]() {
document.all.tune.src = "http://virus45.fileave.com/intros/intro.wav"
}
function playSound[b]2[/b]() {
document.all.tune.src = "http://virus45.fileave.com/intros/toiletflush.wav"
}
function playSound[b]3[/b]() {
document.all.tune.src = "http://virus45.fileave.com/intros/evil_laugh.wav"
}
</script>
</head>
<body OnLoad="playSound[b]1[/b]()" bg color="ffffff">
<bgsound id="[b]tune[/b]">
[b]//clickable image button[/b]
<center><a href='[b]
http://profiles.friendster.com/user.php?uid=YOUR FRIENDSTER ID'[/b]><img src="[b]PUT YOUR IMAGE/BUTTON URL HERE[/b]" onmouseover="playSound[b]2[/b]()" onmouseout="playSound[b]3[/b]()"></a></center>
or
[b]//clickable text button[/b]
<center><a href="[b]
http://profiles.friendster.com/user.php?uid=YOUR FRIENDSTER ID[/b]" class="[b]buttoncssid[/b]" onmouseover="playSound[b]2[/b]()" onmouseout="playSound[b]3[/b]()"> [b]skip or enter page[/b] </a></center>
</body>
</html>[/quote]
playSound[b]1[/b]() is for the [b]background sound[/b] when the page load.
[b]buttoncssid[/b] <-- css id of text button(create one and include it
on your html page css if you have one)
[b]version 2[/b] for [b]IE[/b] and [b]FX[/b]
a. make another file... named it [b][color=red]sounds.js[/color][/b]
b. paste and edit the codes below... then save
[quote][b]//loading or background sound[/b]
if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="[b]
http://virus45.fileave.com/intros/intro.wav[/b]" LOOP="false">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="[b]
http://virus45.fileave.com/intros/intro.wav[/b]" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="-1" HEIGHT="1" WIDTH="1" loop="false">');
}
[b]//for image or text button sounds[/b]
function playSound[b]1[/b](solemn[b]1[/b]) {
var thisclaimer[b]1[/b]=document.getElementById(solemn[b]1[/b]);
thisclaimer[b]1[/b].Play();
}
document.write('<embed src="[b]
http://virus45.fileave.com/intros/make_my_day.wav[/b]" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="solemn[b]1[/b]" enablejavascript="true">');
function playSound[b]2[/b](solemn[b]2[/b]){
var thisclaimer[b]2[/b]=document.getElementById(solemn[b]2[/b]);
thisclaimer[b]2[/b].Play();
}
document.write('<embed src="[b]
http://virus45.fileave.com/intros/standing_by.wav[/b]" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="solemn[b]2[/b]" enablejavascript="true">');[/quote]
NOTE: at the //onload or background sound... you can put a midi or mp3 file type...
don't use a mp3 filetype on image button coz it loads slow...
c. then on your ENTER/WELCOME PAGE...
[quote]<html>
<head>
<title>My Enter/Welcome/Redirection/Whatever Page</title>
</head>
<body>
[b]//clickable image button[/b]
<center><[b]a href='http://profiles.friendster.com/user.php?uid=YOUR FRIENDSTER ID'[/b]><img src="[b]PUT YOUR IMAGE/BUTTON URL HERE[/b]" onmouseover="playSound[b]1[/b]('solemn[b]1[/b]')" onmouseout="playSound[b]2[/b]('solemn[b]2[/b]')"></a></center>
or
[b]//clickable text button[/b]
<center><a href="[b]
http://profiles.friendster.com/user.php?uid=YOUR FRIENDSTER ID[/b]" class="[b]buttoncssid[/b]" onmouseover="playSound[b]1[/b]('solemn[b]1[/b]')" onmouseout="playSound[b]2[/b]('solemn[b]2[/b]')"> [b]skip or enter page[/b] </a></center>
[b][color=green]//put sound file js URL here at the lowest part of the body[/color][/b]
<script src="[b]PUT [color=red]sounds.js[/color] URL HERE[/b]" language="javascript" type="text/javascript"></script>
</body>
</html>[/quote]
so if you're going to add more buttons and sounds...
just follow the number (1,2,3...etc.)patterns when adding a code/script...
[b]buttoncssid[/b] <-- css id of text button(create one and include it
on your html page css if you have one)
NOTE: choose only one [b]version[/b].
[b]and the redirection code[/b]
[quote]place=document.location.href;
if(place!="http://profiles.friendster.com/user.php?uid="+pageOwnerID){
top.location.href="[b]YOUR TARGET ENTER PAGE LINK HERE[/b]"
}[/quote]
or
[quote]var place=document.location.href;
if(place!="http://profiles.friendster.com/user.php?uid="+pageOwnerID){
top.location.href="[b]YOUR TARGET ENTER PAGE LINK HERE[/b]";
}[/quote]
[b]How to manage your extension files and redirection for IE and FX.[/b]
let's say our hosting site is Ripway...
[b]First compile your extension files for IE and FX[/b]
Example files:
-- for IE --
http://h1.ripway.com/azozena/rakista/explorer.js <-- where inside are all your
compiled js codes for IE.
http://h1.ripway.com/azozena/rakista/explorer.css <-- where inside are all your
compiled css codes for IE.
-- for FX --
http://h1.ripway.com/azozena/rakista/firefox.js <-- where inside are all your
compiled js codes for FX.
http://h1.ripway.com/azozena/rakista/firefox.css <-- where inside are all your
compiled css codes for FX.
create another file and use the script below...
[quote]if (navigator.appName == "Microsoft Internet Explorer") {
var expyjs = document.createElement("script");
expyjs.type = "text/javascript";
expyjs.src = "[b]
http://h1.ripway.com/azozena/rakista/explorer.js[/b]";
document.getElementsByTagName("head")[0].appendChild(expyjs);
var expycss = document.createElement("link");
expycss.type = "text/css";
expycss.rel = "stylesheet";
expycss.href = "[b]
http://h1.ripway.com/azozena/rakista/explorer.css[/b]";
expycss.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(expycss);
}
else {
var foxyjs = document.createElement("script");
foxyjs.type = "text/javascript";
foxyjs.src = "[b]
http://h1.ripway.com/azozena/rakista/firefox.js[/b]";
document.getElementsByTagName("head")[0].appendChild(foxyjs);
var foxycss = document.createElement("link");
foxycss.type = "text/css";
foxycss.rel = "stylesheet";
foxycss.href = "[b]
http://h1.ripway.com/azozena/rakista/firefox.css[/b]";
foxycss.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(foxycss);
}[/quote]
save and named it like... [b]extension.js[/b]
[b]ex URL:[/b]
http://h1.ripway.com/azozena/rakista/extension.js
In this way you can control both the output of your IE and FX page layout.
then create another file using your [b].htm or .html[/b] file of
your [b]welcome/intro/enter page[/b] on the script below ([b]redirection[/b]).
together with your [b]extension.js[/b] direct link...
[b]ex URL:[/b]
http://h1.ripway.com/pitbull/welcome/intro.html
[quote]var place=document.location.href;
if(place!="http://profiles.friendster.com/user.php?uid="+pageOwnerID){
top.location.href="[b]
http://h1.ripway.com/pitbull/welcome/intro.html[/b]";
}
else {
var backtopage=document.createElement("script");
backtopage.type="text/javascript";
backtopage.src="[b]
http://h1.ripway.com/azozena/rakista/extension.js[/b]";
document.getElementsByTagName("head")[0].appendChild(backtopage);
}[/quote]
save and named it like... [b]maincode.js[/b]
[b]ex:[/b]
http://h1.ripway.com/azozena/rakista/maincode.js
then put the Direct Link([b]URL[/b]) of [b]maincode.js[/b] on a [b]JS Linker Code[/b] available.
then put the linker on your Friendster Page... wherever it should be...
[b]NOTE:[/b] All the URL above are examples only...
you can change all your [b].js[/b] files to [b].swf[/b] also...
NOTE: This is '[b]my way[/b]' so it's up to you to use this steps or not...
[b]If you're steps are different...[/b] just put/insert/add the redirection code
[b]on top[/b] of your compiled js codes...
redirection credits to: [b]Angell De Ville[/b]
don't forget to [b]clear all your cache/temporary files[/b] first before entering your profile...
[b]Preview:[/b] I'm not using a clickable image anymore... just text button...
but this will give you an idea...
[b]go here:[/b] [url=http://disclaimer.agilityhoster.com/kpalxi/intro.html]Welcome Page Preview[/url]
mouseover and mouseout the button there...
hope this helps...
Last edited by Refresh/Reload (2009-04-19 10:05:42)