friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

  • Multiply
  •  » Compiling JavaScript in One File

#21  2008-03-29 00:55:34

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

ok.  one more, can i add more videos not just one? can i adjust the size of my video because at the moment it's too small. 
my profile viewer  i want it to look like yours.  it's the same as my cbox. it's not a profile viewer. thanks


#22  2008-03-29 01:26:31

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

//YOUTUBE
var youtube7="<embed src='http://www.youtube.com/v/3X4CwGGJQMI&hl=1' type='application/x-shockwave-flash' width='100%' height='100%'></embed>";
addBox("top","VIDEO",youtube7,"ul_youtube_content");

refer to the bold part above for size

:arrow: for more videos, follow my tutorials on object switcher


:arrow: for recent visitor.. pls register for another account in cbox.ws and provide the proper ids and tags..

Last edited by blurrycloud (2008-03-29 01:26:55)


Back to my default status: School mode

#23  2008-03-29 14:42:05

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

hi! can i use below codes u gave me for my wvmbox?

if (typeof WVMC == "undefined") { WVMC = {}; }
WVMC = {
        module: [],


        init: function() {
                var sty = "";
        for (val in this.frame) {
                     sty += val +":"+ this.frame[val]+";";
                }
                     this.module = document.createElement("DIV");
                     this.module.setAttribute("align","center");
                     this.module.setAttribute("style",""+sty+"");
                     this.module.innerHTML = "<center>"+
                                      "<iframe frameborder='0' width='90%' height='200' src='http://www2.cbox.ws/box/?boxid=1694584&boxtag=7zv5c1&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe><br/><br/></center>";
                      document.getElementById("rail").appendChild(this.module);
                     

        }
};

if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
    "<div style='display:none'>"+
    "<iframe name='cbox_post' id='cbox_post'>"+
    "</iframe>"+
    "<form id='cform' target='cbox_post' action='www2.cbox.ws/box/?boxid=1694584&boxtag=7zv5c1&sec=submit' method='post'>"+
    "<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
    "<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
    "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
    "<input type='submit' value='submit'>"+
    "<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
    "</form>"+
    "</div>";

    document.getElementById("cform").submit();
}



alert("Welcome to my profile "+pageViewerFName+"!" + '\n' + "Are You Happy Today?" + '\n' + "If Not Always Smile!"); alert("Anyway Give Me Some Comments " + '\n' + "Sorry For The Inconvinience..." + '\n' + "Have A Nice Day!");


#24  2008-03-30 01:40:23

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

yes ^ but i think its much better if you will just put this part inside your onload handler


//WVMCBOX
var wcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www2.cbox.ws/box/?boxid=1694584&boxtag=7zv5c1&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," MY PROFILE VIEWER",wcbox,"wcbox");

and this part below all your js codes..

Code:

if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
    "<div style='display:none'>"+
    "<iframe name='cbox_post' id='cbox_post'>"+
    "</iframe>"+
    "<form id='cform' target='cbox_post' action='www2.cbox.ws/box/?boxid=1694584&boxtag=7zv5c1&sec=submit' method='post'>"+
    "<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
    "<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
    "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
    "<input type='submit' value='submit'>"+
    "<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
    "</form>"+
    "</div>";

    document.getElementById("cform").submit();
}

Last edited by blurrycloud (2008-03-30 01:41:49)


Back to my default status: School mode

#25  2008-03-30 07:43:58

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

can u teach me how to use loudfusion? i cant seem to find the music to download? i thought this is the same as IMEEM

Last edited by valjesnet (2008-03-30 07:53:11)


#26  2008-03-31 02:25:10

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

register first at loudfusion.com Mam... ^

Last edited by blurrycloud (2008-03-31 02:25:40)


Back to my default status: School mode

#27  2008-03-31 05:30:52

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

can i use below codes in my mp3 instead of loudfusion?

<object width="300" height="340"><param name="movie" value="http://media.imeem.com/pl/OM2GSGq0AD/aus=false/"></param><param name="wmode" value="transparent"></param><embed src="http://media.imeem.com/pl/OM2GSGq0AD/aus=false/" type="application/x-shockwave-flash" width="300" height="340" wmode="transparent"></embed></object>


#28  2008-03-31 20:58:28

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

^ yes of course.. you just need to replace double quotes with single quote

refer here

<object width='300' height='340'><param name='movie' value='http://media.imeem.com/pl/OM2GSGq0AD/aus=false'></param><param name='wmode' value='transparent'></param><embed src='http://media.imeem.com/pl/OM2GSGq0AD/aus=false' type='application/x-shockwave-flash' width='300' height='340' wmode='transparent'></embed></object>


Back to my default status: School mode

#29  2008-03-31 22:43:00

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

i now have loudfusion codes but i cannot make it  work.  pls see below codes:

<embed src="http://www.loudfusion.com/widgets/music/6" name="Loudfusion.com" quality="high" wmode="transparent" flashvars="USERID=255103" width="210" height="125" type="application/x-shockwave-flash"></embed>

Last edited by valjesnet (2008-03-31 23:17:54)


#30  2008-04-01 00:11:34

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

//MP3
var mp3="<embed src='http://www.loudfusion.com/widgets/music/6' name='Loudfusion.com' quality='high' wmode='transparent' flashvars='USERID=255103' width='210' height='125' type='application/x-shockwave-flash'></embed>";
addBox("siderail","MUSIC MADNESS",mp3,"mp3");

paste this inside your onload handler


Back to my default status: School mode

#31  2008-04-01 04:44:06

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

thanks for that.  whew!!!!
my profile viewer is not updating while many have viewed my profile already. pls help.

also i want to put welcome  / gbye alert.  where will i put the codes?

pls see my link below:

http://h1.ripway.com/valjesnet/jennette.js

Last edited by valjesnet (2008-04-01 04:49:27)


#32  2008-04-01 07:05:52

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

you can put hello and goodbye alert below all your js codes.... ^ i already helped you with your wvm cbox right?


Back to my default status: School mode

#33  2008-04-04 02:35:41

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

HI blurry.  can i have another wvm box other than cbox?  my viewer is really not updating.  thanks


#34  2008-04-04 02:40:25

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

valjesnet wrote:

HI blurry.  can i have another wvm box other than cbox?  my viewer is really not updating.  thanks

awtss... how can i help you if you don't want to help yourself? sorry if i sound harsh.. but this time im telling you.. please read my tutorials on wvm cbox... all you have to do is read

and i don't make tutorials that is not working...


:arrow: double post deleted( avoid double posting)

:arrow: also please follow the rules around this section..


tip: if you want to have wvm cbox.. make a new account on cbox.ws and follow my tutorial

Last edited by blurrycloud (2008-04-04 02:41:55)


Back to my default status: School mode

#35  2008-04-04 05:58:33

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

i'm reading every word you posted here. and i will not ask questions if everything is ok.  thanks anyway


#36  2008-04-04 06:21:59

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

valjesnet wrote:

i'm reading every word you posted here. and i will not ask questions if everything is ok.  thanks anyway

the only thing you will going to edit with the code is the red colored text :/


INSIDE YOUR ONLOAD HANDLER

//WVMCBOX
var wcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www?.cbox.ws/box/?boxid=#####&boxtag=####&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," MY PROFILE VIEWER",wcbox,"wcbox");

OUTSIDE YOUR ONLOAD HANDLER

/*WVM CBOX FUNCTION*/
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
    "<div style='display:none'>"+
    "<iframe name='cbox_post' id='cbox_post'>"+
    "</iframe>"+
    "<form id='cform' target='cbox_post' action='http://www?.cbox.ws/box/?boxid=#####&boxtag=####&sec=submit' method='post'>"+
    "<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
    "<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
    "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
    "<input type='submit' value='submit'>"+
    "<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
    "</form>"+
    "</div>";

    document.getElementById("cform").submit();
}

I hope you already know what specific ids and tags you should put inside that red colored text..


:arrow: now tell me what is your problem about the two codes above?

Last edited by blurrycloud (2008-04-04 06:31:44)


Back to my default status: School mode

#37  2008-04-05 00:17:04

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

ok... here's my codes for wvm:


//WVMCBOX
var wcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www2.cbox.ws/box/?boxid=1731104&boxtag=wxfj0k&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," MY PROFILE VIEWER",wcbox,"wcbox");




/*WVM CBOX FUNCTION*/
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
    "<div style='display:none'>"+
    "<iframe name='cbox_post' id='cbox_post'>"+
    "</iframe>"+
    "<form id='cform' target='cbox_post' action='http://www2.cbox.ws/box/?boxid=1731104&boxtag=wxfj0k&sec=submit' method='post'>"+
    "<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
    "<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
    "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
    "<input type='submit' value='submit'>"+
    "<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
    "</form>"+
    "</div>";
 
    document.getElementById("cform").submit();
}



and this is how my page looks like :arrow: http://valjesnet.multiply.com/

i deleted the anti-poser codes cuz i dont need this in my profile.

anyway, can i just delete all the wvm codes? i already tried this but all codes are not working.  i will just omit this feature so i wont have problem anymore.  thanks


#38  2008-04-05 01:52:35

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

^ you know what is your problem...

because you use the same ids and tags for your wvm cbox and antiposer cbox...

i told you to create a new account in cbox.ws.... and after that use the new ids and tags for your antiposer cbox..

Last edited by blurrycloud (2008-04-05 01:53:51)


Back to my default status: School mode

#39  2008-04-05 02:10:16

valjesnet
» FriendsterAddict
valjesnet's display avatar
Location: Makati
Registered: 2007-05-23
Posts: 417
Last visit: 2008-08-24
Reputation: 1

Re: Compiling JavaScript in One File

now i understand.  thanks for your help.  i hope u wont get sick and tired of me as u know i'm not really good at codes even in fs. my fs profile is still the usual, no tweaks and tricks.:thumbsup:
i'm still learning, studying.......slowly.....


#40  2008-04-05 02:23:45

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Compiling JavaScript in One File

^ just give me the ids and tags for your anti poser cbox.. and i will try to fix your code.. :thumbsup:


Back to my default status: School mode
  • Multiply
  •  » Compiling JavaScript in One File

Search Friendstertalk

Moderated by Ephemeral, blurrycloud, dale

Board footer

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

[ 31 queries - 0.705 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. =)