FTalk

FTalk

Welcome guest! Please Login or Register.

  • Multiply
  •  » Add Anything on Your RAIL (SideBar)

#1  2008-01-08 17:39:02

xavierkym
 !!bloody bastard!!
xavierkym's display avatar
» Former Moderator
FTalk Level: 6
Novice PromoterTopic InitiatorSome FTalkers ♥ My Threads!
The Sinister
Class-S
London, England
5386
147
2010-03-11
Website

Add Anything on Your RAIL (SideBar)

If you have your JS Files already just edit this and add the Script to your files. =)
Easy peasy lemon squeezy =D

if (!addEvent(function() { SIDEBAR.init();})) { window.onload = function() { SIDEBAR.init();};}

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

        frame: {
                width: "100%",
                overflow: "hidden"
        },

        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 = "HELLO";
                     document.getElementById("rail").appendChild(this.module);

        }

};

The word HELLO can be anything you like  =) For example: MP3 Player, Games, or whatever. :wasted:

How to do it?
Example this is your MP3 Code:

Code:

<center><embed allowscriptaccess='never' src='http://www.mp3asset.com/swf/mp3/mff-pill.swf' quality='high' wmode='transparent' flashvars='myid=7061599&path=2007/12/29&mycolor=0xF1396D&mycolor2=0xFD6081&mycolor3=0xF3FFEB&autoplay=true&rand=0&f=3&vol=100' name='myflashfetish' application='' x-shockwave-flash='' align='middle'type=' height='110' width='265'></center>

Then put it in the word HELLO in the code above.. Sample:

Code:

if (!addEvent(function() { SIDEBAR.init();})) { window.onload = function() { SIDEBAR.init();};}

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

        frame: {
                width: "100%",
                overflow: "hidden"
        },

        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><embed allowscriptaccess='never' src='http://www.mp3asset.com/swf/mp3/mff-pill.swf' quality='high' wmode='transparent' flashvars='myid=7061599&path=2007/12/29&mycolor=0xF1396D&mycolor2=0xFD6081&mycolor3=0xF3FFEB&autoplay=true&rand=0&f=3&vol=100' name='myflashfetish' application='' x-shockwave-flash='' align='middle'type=' height='110' width='265'></center>";
                     document.getElementById("rail").appendChild(this.module);

        }

};

Best width for an mp3 Player? Uhmm.. 135px or something. =)

Have fun. :|

Last edited by xavierkym (2008-01-14 23:16:42)


                    

#2  2008-01-09 07:20:51

sahabat.peterpan
 Just call me Edo
sahabat.peterpan's display avatar
» SuperFTalker
FTalk Level: zero
8431
60

Re: Add Anything on Your RAIL (SideBar)

Wew, very nice!
thanks 4 share, i will try this  :penguin:


#3  2008-01-09 08:26:39

Lyas-rowkz
 elyasz | bha
Lyas-rowkz's display avatar
» Former Moderator
FTalk Level: 9
Novice ModeratorNovice PromoterTop Poster
ku.Palat
malaysia
10865
166
Website

Re: Add Anything on Your RAIL (SideBar)

thx for sharing.. :thumbsup:  :eh:

#4  2008-01-13 17:21:11

duchess
 dukesa~
duchess's display avatar
» Moderator
FTalk Level: HARDCORE!
ModeratorRegional LeaderFTalkers ♥♥ Me!Topic InitiatorTop PosterHyper!Some FTalkers ♥ My Threads!ChatterboxStill Alive & Kickin'
Class-S
ɐɯɐʞ :))
10203
510
Website

Re: Add Anything on Your RAIL (SideBar)

what if there in the embed codes there are no " instead ' ... will i change the ' to " and add \ ?



Tumblr | Farcebook

│█│║▌║││█║▌║▌│█│
p i l l o w b l a n k y

#5  2008-01-13 17:23:43

xavierkym
 !!bloody bastard!!
xavierkym's display avatar
» Former Moderator
FTalk Level: 6
Novice PromoterTopic InitiatorSome FTalkers ♥ My Threads!
The Sinister
Class-S
London, England
5386
147
2010-03-11
Website

Re: Add Anything on Your RAIL (SideBar)

^
No need. :D


#6  2008-01-13 17:26:55

duchess
 dukesa~
duchess's display avatar
» Moderator
FTalk Level: HARDCORE!
ModeratorRegional LeaderFTalkers ♥♥ Me!Topic InitiatorTop PosterHyper!Some FTalkers ♥ My Threads!ChatterboxStill Alive & Kickin'
Class-S
ɐɯɐʞ :))
10203
510
Website

Re: Add Anything on Your RAIL (SideBar)

tried to add myflashfetish playlist but it didnt work  :wasted:  oh well.. ill find out whats wrong.. thanks kym..  =|



Tumblr | Farcebook

│█│║▌║││█║▌║▌│█│
p i l l o w b l a n k y

#7  2008-01-13 17:33:03

xavierkym
 !!bloody bastard!!
xavierkym's display avatar
» Former Moderator
FTalk Level: 6
Novice PromoterTopic InitiatorSome FTalkers ♥ My Threads!
The Sinister
Class-S
London, England
5386
147
2010-03-11
Website

Re: Add Anything on Your RAIL (SideBar)

Uhmm.. Gimme your codes.


#8  2008-01-13 17:36:03

xavierkym
 !!bloody bastard!!
xavierkym's display avatar
» Former Moderator
FTalk Level: 6
Novice PromoterTopic InitiatorSome FTalkers ♥ My Threads!
The Sinister
Class-S
London, England
5386
147
2010-03-11
Website

Re: Add Anything on Your RAIL (SideBar)

Code:

if (!addEvent(function() { SIDEBAR.init();})) { window.onload = function() { SIDEBAR.init();};}

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

        frame: {
                width: "100%",
                overflow: "hidden"
        },

        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><embed allowscriptaccess='never' src='http://www.mp3asset.com/swf/mp3/mff-pill.swf' quality='high' wmode='transparent' flashvars='myid=7061599&path=2007/12/29&mycolor=0xF1396D&mycolor2=0xFD6081&mycolor3=0xF3FFEB&autoplay=true&rand=0&f=3&vol=100' name='myflashfetish' application='' x-shockwave-flash='' align='middle'type=' height='110' width='265'></center>";
                     document.getElementById("rail").appendChild(this.module);

        }

};

Try this duch.

Last edited by xavierkym (2008-01-14 23:35:41)


#9  2008-01-13 17:44:18

duchess
 dukesa~
duchess's display avatar
» Moderator
FTalk Level: HARDCORE!
ModeratorRegional LeaderFTalkers ♥♥ Me!Topic InitiatorTop PosterHyper!Some FTalkers ♥ My Threads!ChatterboxStill Alive & Kickin'
Class-S
ɐɯɐʞ :))
10203
510
Website

Re: Add Anything on Your RAIL (SideBar)

ok... ill try it now.. be right back for updates..  :penguin:  :penguin:

UPDATE: added it and disabled all my scripts.  :/  heres my js.. i really dont know how to compile it yet.. im sorry ..

Last edited by ducheszv (2008-01-14 01:16:11)



Tumblr | Farcebook

│█│║▌║││█║▌║▌│█│
p i l l o w b l a n k y

#10  2008-01-13 23:35:40

kristina16
 babydolltinay
kristina16's display avatar
» Moderator
FTalk Level: HARDCORE!
ModeratorTop PosterFTalkers ♥♥ Me!
doll face`
The Scandalers
FACEBOOK
18357
567
Website

Re: Add Anything on Your RAIL (SideBar)

nice xave thnx for sharin!! ;) :thumbsup:



#11  2008-01-14 23:35:19

xavierkym
 !!bloody bastard!!
xavierkym's display avatar
» Former Moderator
FTalk Level: 6
Novice PromoterTopic InitiatorSome FTalkers ♥ My Threads!
The Sinister
Class-S
London, England
5386
147
2010-03-11
Website

Re: Add Anything on Your RAIL (SideBar)

Oops. Sorry if the code last time wasn't workin.. :wallbash:
I made a mistake that time lol...

First post updated. =)
That should work fine now. :)


#12  2008-01-22 18:08:53

karuro72002
 JC De Guzman
karuro72002's display avatar
» Promoter
FTalk Level: 9
Novice PromoterSome FTalkers ♥ Me!Decent Thread StarterSome FTalkers ♥ My Threads!
Class-S
ZMBG, PH
4807
246
Website

Re: Add Anything on Your RAIL (SideBar)

thanks for xaring eX! :D


#13  2008-04-30 04:27:08

kucingpilek
» n00b
FTalk Level: zero
26
0
2009-12-25

Re: Add Anything on Your RAIL (SideBar)

how the example for the advertisement or banner?:D

#14  2008-05-03 00:09:00

kamillaloo
» n00b
FTalk Level: zero
14
0
2009-05-06

Re: Add Anything on Your RAIL (SideBar)

what if I want to add many widgets? is it possible?

#15  2008-08-02 03:53:15

pinkwasabexx
 Madyleine
pinkwasabexx's display avatar
» n00b
FTalk Level: zero
you got me at HELLO [:
>>in YOUR ♥+
40
1
2008-10-23
Website

Re: Add Anything on Your RAIL (SideBar)

thanks for sharing:D


they call me 'quiet girl', but i`m a RIOT!!♥

FSTR | MULTIPLY

#16  2008-08-02 06:02:48

lusanto_bluzone
 Lusanto Macas Jr
lusanto_bluzone's display avatar
» FTalker
FTalk Level: zero
On*re Pezaris-sama!
Makati, NCR, Ph
102
2
2010-01-26
Website

Re: Add Anything on Your RAIL (SideBar)

I'm planning to add a virus alert panel (I use Avira AntiVir a lot) on my Multiply page, but I don't know how. Here's a sample code (This is the actual code from Avira.com):

Code:

<script language="javascript" src="http://www.avira.com/includes/js/av_threats_defaults.js" type="text/javascript"></script>
<script language="javascript" src="http://www.avira.com/includes/js/av_threats_resources.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    displayClient();
/*-----------------------------------------------------------------------------------------
Virus advisories and alerts from www.avira.com
-----------------------------------------------------------------------------------------*/
</script>
<noscript>
Virus advisories and alerts from www.avira.com<br>
<a href="http://www.avira.com/en/threats/">Threats Info</a><br>
<a href="http://www.avira.com/en/threats/">Latest Threats</a><br>
<a href="http://www.avira.com/en/threats/section/alerts_panel/">AVIRA Alerts Panel</a><br>
</noscript>

Is it possible to slap this code on the sidebar?


Kamen Ride... DECADE!


#17  2009-06-24 00:46:20

iluvmii27
 iNACTiB :]
iluvmii27's display avatar
» FTalkManiac
FTalk Level: zero
ILYSM♥
Asylum
Mii+YOU :)
604
60
2009-10-10
Website

Re: Add Anything on Your RAIL (SideBar)

:thumbsup::thumbsup: nice xavierkym .=D

#18  2009-07-15 04:41:27

xiemaine
 MAiiNE ~ SHUAiFENG
xiemaine's display avatar
» FTalkAgent
FTalk Level: 1
Some FTalkers ♥ Me!
poorgirling :)
The Scandalers
♥ MUMMY'S TUMMY ;]
2343
262
2010-03-07
Website

Re: Add Anything on Your RAIL (SideBar)

Thanks for sharing :thumbsup::D


:penguin:




Ni DUi WO DE ZHAO GU TAi ZHOU DAO LE,
LE Yii WEi Ni XiAO LAO :3

#19  2009-08-01 11:40:02

chipster489
» Made in FTalk
FTalk Level: HARDCORE!
Everyone ♥♥♥ Me!Top Poster
38752
1000

Re: Add Anything on Your RAIL (SideBar)

Dat trick wil b helpful also, d outcome wil b a cool 1, i'l try dis code later, thanks 4 d share. :cool:

  • Multiply
  •  » Add Anything on Your RAIL (SideBar)

Search Friendstertalk

Moderated by Ephemeral, lovegood, sugarstyx_x

Board footer

The F Talk dot com
© 2002–2010 PunBB

Current time is 21:03:07 GMT

[ 10 queries - 0.038 second ]
Powered by SyntheticNetwork

FTalk

Welcome to FTalk! 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. =)

( hide )