HTML /CSS Help

Discuss about Programming here. You may release your source, post guide and even ask questions!

Moderator: wizme

Post Reply
helohelo1
Death Warrior
Death Warrior
Posts: 64
Joined: Sat Feb 12, 2011 2:17 am

HTML /CSS Help

Post by helohelo1 »

http://onepieceofbleach.com/

How can I put ads on the background same as the website above, and ads will follow when you scroll down the scroll bar.


Can anyone explain the script below, I can't understand.

Code: Select all

<script type="text/javascript">/*<![CDATA[*/// Make sure you have this before <html> tag: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
var pagewidth = 1000; // Your Page Width (pixels)
var topa = 0; // Optional Top Adjustment (pixels)
var lefta = 0; // Optional Left Adjustment (pixels)
var righta = 0; // Optional Right Adjustment (pixels)
var zindex = 50; // Optional Layering Adjustment
var floating = 1; // 1 for floating, 0 for static
var capping = 1; // 1 to enable cookie-based capping, 0 to disable capping
var impperses = 5; // impressions per session cap (1-5)
var seslen = 24; // session length in hours (1-24)
var zoid=1319;eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 b=e.n(e.o()*p);6(c==1){9 d=7.a.f(\'(^|;) ?g=([^;]*)(;|$)\');6(d){9 4=7.a.f(\'(^|;) ?h=([^;]*)(;|$)\');3=d[2]}i{6(8<1)8=1;6(8>j)8=j;9 3=q r();3.s(3.t()+8*u);3=3.v();7.a="g="+3+";k="+3+";l=/"}6(4)4=w(4[2])+1;i 4=1;6(4<=x&&4<=5){7.a="h="+4+";k="+3+";l=/";c=0}}6(c!=1)7.y("<m z=\'A/B\' C=\'D://E.F-G-H.I/J.K?L=M&N="+O+"&P=Q&b="+b+"\'><\\/m>");',53,53,'|||ses_exp|skinimp||if|document|seslen|var|cookie|rand|capping|coo_exp|Math|match|gao_session_expiry|gao_skin_views|else|24|expires|path|script|round|random|9999999|new|Date|setTime|getTime|3600000|toGMTString|parseInt|impperses|write|type|text|javascript|src|http|www|game|advertising|online|com|index|php|section|serve|id|zoid|output|skin'.split('|'),0,{}))/*]]>*/</script>
Thanks
guyz92
The Emperor
The Emperor
Posts: 503
Joined: Sat Aug 29, 2009 8:52 am

Re: HTML /CSS Help

Post by guyz92 »

helohelo1 wrote:http://onepieceofbleach.com/

How can I put ads on the background same as the website above, and ads will follow when you scroll down the scroll bar.


Can anyone explain the script below, I can't understand.

Code: Select all

<script type="text/javascript">/*<![CDATA[*/// Make sure you have this before <html> tag: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
var pagewidth = 1000; // Your Page Width (pixels)
var topa = 0; // Optional Top Adjustment (pixels)
var lefta = 0; // Optional Left Adjustment (pixels)
var righta = 0; // Optional Right Adjustment (pixels)
var zindex = 50; // Optional Layering Adjustment
var floating = 1; // 1 for floating, 0 for static
var capping = 1; // 1 to enable cookie-based capping, 0 to disable capping
var impperses = 5; // impressions per session cap (1-5)
var seslen = 24; // session length in hours (1-24)
var zoid=1319;eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 b=e.n(e.o()*p);6(c==1){9 d=7.a.f(\'(^|;) ?g=([^;]*)(;|$)\');6(d){9 4=7.a.f(\'(^|;) ?h=([^;]*)(;|$)\');3=d[2]}i{6(8<1)8=1;6(8>j)8=j;9 3=q r();3.s(3.t()+8*u);3=3.v();7.a="g="+3+";k="+3+";l=/"}6(4)4=w(4[2])+1;i 4=1;6(4<=x&&4<=5){7.a="h="+4+";k="+3+";l=/";c=0}}6(c!=1)7.y("<m z=\'A/B\' C=\'D://E.F-G-H.I/J.K?L=M&N="+O+"&P=Q&b="+b+"\'><\\/m>");',53,53,'|||ses_exp|skinimp||if|document|seslen|var|cookie|rand|capping|coo_exp|Math|match|gao_session_expiry|gao_skin_views|else|24|expires|path|script|round|random|9999999|new|Date|setTime|getTime|3600000|toGMTString|parseInt|impperses|write|type|text|javascript|src|http|www|game|advertising|online|com|index|php|section|serve|id|zoid|output|skin'.split('|'),0,{}))/*]]>*/</script>
Thanks

Code: Select all

<!DOCTYPE html system>
<html>
<head>
<title>Rdm</title>

<script type="text/javascript">/*<![CDATA[*/// Make sure you have this before <html> tag: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
var pagewidth = 1000; // Your Page Width (pixels)
var topa = 0; // Optional Top Adjustment (pixels)
var lefta = 0; // Optional Left Adjustment (pixels)
var righta = 0; // Optional Right Adjustment (pixels)
var zindex = 50; // Optional Layering Adjustment
var floating = 1; // 1 for floating, 0 for static
var capping = 1; // 1 to enable cookie-based capping, 0 to disable capping
var impperses = 5; // impressions per session cap (1-5)
var seslen = 24; // session length in hours (1-24)
var zoid=1319;eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 b=e.n(e.o()*p);6(c==1){9 d=7.a.f(\'(^|;) ?g=([^;]*)(;|$)\');6(d){9 4=7.a.f(\'(^|;) ?h=([^;]*)(;|$)\');3=d[2]}i{6(8<1)8=1;6(8>j)8=j;9 3=q r();3.s(3.t()+8*u);3=3.v();7.a="g="+3+";k="+3+";l=/"}6(4)4=w(4[2])+1;i 4=1;6(4<=x&&4<=5){7.a="h="+4+";k="+3+";l=/";c=0}}6(c!=1)7.y("<m z=\'A/B\' C=\'D://E.F-G-H.I/J.K?L=M&N="+O+"&P=Q&b="+b+"\'><\\/m>");',53,53,'|||ses_exp|skinimp||if|document|seslen|var|cookie|rand|capping|coo_exp|Math|match|gao_session_expiry|gao_skin_views|else|24|expires|path|script|round|random|9999999|new|Date|setTime|getTime|3600000|toGMTString|parseInt|impperses|write|type|text|javascript|src|http|www|game|advertising|online|com|index|php|section|serve|id|zoid|output|skin'.split('|'),0,{}))/*]]>*/</script>


</head>

<body>


</body>

</html>
zoid i believe is the ads javascript.

You need to put the script inside <head> </head> section so it can pass w3 validation.
Image

ADSL:
Image

Fibre:
Image
helohelo1
Death Warrior
Death Warrior
Posts: 64
Joined: Sat Feb 12, 2011 2:17 am

Re: HTML /CSS Help

Post by helohelo1 »

How can I put the ads on the side of the page just the onepieceofbleach.com ? The ads will follow when you scroll down the bar?
guyz92
The Emperor
The Emperor
Posts: 503
Joined: Sat Aug 29, 2009 8:52 am

Re: HTML /CSS Help

Post by guyz92 »

helohelo1 wrote:How can I put the ads on the side of the page just the onepieceofbleach.com ? The ads will follow when you scroll down the bar?
That ads u need to find the ads provider which provides the codes.

No one will know what the "Var ZOID" link to accept the coder knows.

ZOID link to the ads provider. So u need to crack where does it call for ads.
Image

ADSL:
Image

Fibre:
Image
helohelo1
Death Warrior
Death Warrior
Posts: 64
Joined: Sat Feb 12, 2011 2:17 am

Re: HTML /CSS Help

Post by helohelo1 »

I got 2 things to ask...

http://onepieceofbleach.com/hacklegend- ... -12-final/#

How to I make a report form like the above

Report as: _______________________________
Write in Words: _______________________________
(Optional)

And send to the me.


And how can I make a Genres search like

http://onepieceofbleach.com/watch/

You pressed adventure and you would be given a list of adventure animes listed.
Post Reply