• ARCHIVES 
  • » im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

Pages: 1

im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

swords_knight
» n00b
FTalk Level: zero
33
0
1969-12-31

im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part of me <div id=\"another me\" style=\"position:absolute\"><b><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=433686&FOLDERID=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed></b></div>; dchsz.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("controlPanelButtons").parentNode.appendChild(dchsz) ; //Floatcode var ns = (navigator.appName.indexOf("Netscape") != -1); var d = document; function JSFX_FloatDiv(id, sx, sy) { var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id]; var px = document.layers ? "" : "px"; window[id + "_obj"] = el; if(d.layers)el.style=el; el.cx = el.sx = sx;el.cy = el.sy = sy; el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;}; el.floatIt=function() { var pX, pY; pX = (this.sx >= 0) ? 0 : ns ? innerWidth : document.documentElement && document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth; pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop; if(this.sy<0) pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight; this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8; this.sP(this.cx, this.cy); setTimeout(this.id + "_obj.floatIt()", 40); } return el; } JSFX_FloatDiv("another me", -150,-100).floatIt();[/spoiler] is that code wrong?? im really confuse. . . anyone can help??? [img]http://i436.photobucket.com/albums/qq85/zstalr/Final%20Fantasy/av3.gif[/img]
Dynasty-tweaker
» FTalkWhiz
FTalk Level: zero
2528
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

[quote=swords_knight]is that code wrong?? im really confuse. . . anyone can help???[/quote] u need to edit something on the codes to make it work [quote]<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=433686&FOLDERID=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed>[/quote]
swords_knight
» n00b
FTalk Level: zero
33
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

edit it?? lyk changing its width and height???
Dynasty-tweaker
» FTalkWhiz
FTalk Level: zero
2528
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

[quote]<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"[b]USERID[/b]=433686&[b]FOLDERID[/b]=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed>[/quote] or the whole embed codes
bobskie
» FTalkAddict
FTalk Level: zero
596
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

to your playlist code,remove this [quote]\" another part of me[/quote] [spoiler][quote]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =[b]\" another part of me[/b]<div id=\"another me\" style=\"position:absolute\"><b><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=433686&FOLDERID=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed></b></div>; dchsz.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("controlPanelButtons").parentNode.appendChild(dchsz) ;[/quote] [/spoiler] and add double quote [color=blue][b]"[/b][/color] [spoiler][quote]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =[color=blue][b]"[/b][/color]<div id=\"another me\" style=\"position:absolute\"><b><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=433686&FOLDERID=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed></b></div>[color=blue][b]"[/b][/color]; dchsz.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("controlPanelButtons").parentNode.appendChild(dchsz) ;[/quote] [/spoiler]

Last edited by bobskie (2009-01-02 02:30:38)

aaronjason09
» FTalker
FTalk Level: zero
212
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

bobskie is right read bobkie's instruction
swords_knight
» n00b
FTalk Level: zero
33
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

its not floating. . :crybaby: it was only posted in the upper left side of my page. . .

Last edited by swords_knight (2009-01-02 02:56:15)

bobskie
» FTalkAddict
FTalk Level: zero
596
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

you need to use the code for the floating object,i think you have already a code for the floating coz of your last topic : [url]http://theftalk.com/t54061-my-other-js-files-worked-but-my-new-js-files-dont-work-now-T_T.html[/url] so add the embed code to your floating object like this [spoiler]dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://i298.photobucket.com/albums/mm255/MastrShade/dragons-1.gif' width='80px' height='80px' style='filter:none;-moz-opacity:1.0'/>[b]<br><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/10\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=433686&FOLDERID=48226\" width=\"126\" height=\"54\" type=\"application/x-shockwave-flash\"></embed>[/b]</div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="frombottom" function BoyantDiv() { var startX = 15; var startY = 170; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); wakoko=setTimeout("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv();[/spoiler]
swords_knight
» n00b
FTalk Level: zero
33
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

its still not floating??? i wonder whats the problem???? :crybaby:
Dynasty-tweaker
» FTalkWhiz
FTalk Level: zero
2528
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

[quote=swords_knight]its still not floating??? i wonder whats the problem???? :crybaby:[/quote] may i see your profile set to public
swords_knight
» n00b
FTalk Level: zero
33
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

problem solved!!!!!!!! yeeeeeeeeeeeeyyyyy!!!!!!!!!!!!!!!!!! thnx you all my friends. . . thank you fstalk. . . . . ive learned a lot from this site. . . ^______________^
Dynasty-tweaker
» FTalkWhiz
FTalk Level: zero
2528
0
1969-12-31

Re: im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

[quote=swords_knight]problem solved!!!!!!!! yeeeeeeeeeeeeyyyyy!!!!!!!!!!!!!!!!!! thnx you all my friends. . . thank you fstalk. . . . . ive learned a lot from this site. . . ^______________^[/quote] ok...
  • ARCHIVES 
  • » im really confused about this code. . [spoiler]//Playlist var dchsz; try {dchsz = document.createElement("div");} catch (e) {dchsz = document.createElement("<div>");} dchsz.innerHTML =\" another part

Pages: 1

Board footer

© 2025 F Talk

Current time is 17:19

[ 10 queries - 0.516 second ]
Privacy Policy