/    Sign up×
Community /Pin to ProfileBookmark

help required editing html code

[I]helo everyone there in the forum who knows much about HTML. iam having some problem in adding my Google Dsense Code into my webpage. iam using dreamweaver as a basic tool. i added the Google adsense code which is written in java script but when iam previewing it in browser its not showing any change can any one help me.what is the problem. actually i dont knw HTML much may be iam entring code at a wrong position just guide me that where to paste it exactly.

hopefully now noone complains abouit my writing n help me as soon as poosible which is actually the main purpose to be here at the forum? just i used what is mostly speak n written on internet anyways help me out guys n gals plz!!

thnx &regards
laraib saleem ?
[email][email protected][/email]

to post a comment
HTML

36 Comments(s)

Copy linkTweet thisAlerts:
@scottyrobApr 09.2006 — If you re-write that in english i may be able to help...
Copy linkTweet thisAlerts:
@WebJoelApr 09.2006 — You may not know English too well, -we can work with that. But do try to spell words correctly and fully, -not with phonetic abbreviations. They make no sence to most people outside of aol-chat kiddies. I read your request four or five times and I still don't know what you're asking for...
Copy linkTweet thisAlerts:
@beaaast337Apr 09.2006 — hi evry1 thr m new to this forum i need help in adding my google adsense code to my webpg m trying to add it but its not appearing whn m previewing in my browser.i dnt knw wts thr prob may bm entering it at wrong place as i dnt hav much idea abt html plz guide me whr to put my code its in java script tel me the exact location in my webpg's html code whr to put the code

thnx n regards

laraib saleem

plz rply me as soon as posible at

[email][email protected][/email][/QUOTE]


TRANSLATION:

Hi everyone there. I am new to this forum. I need help in adding my Google AdSense code to my webpage. I'm trying to add it but it is not appearing when I preview it in my browser. I don't know what's the problem. Maybe I'm entering it in the wrong place. I don't know much about HTML. Please help guide me on where to put the code. It is in Javascript. I need to know the exact location in my webpage's code.

Thanks and Regards,

Laraib Saleem

Please reply ASAP

[email][email protected][/email]
Copy linkTweet thisAlerts:
@peanutbutterApr 11.2006 — hello...hi.. i have the exact same problem with adsense(not with english) ...so, is someone going to post a solution on the board or should i leave my email for contact?

Thanks

san

contact me at [email][email protected][/email]
Copy linkTweet thisAlerts:
@beaaast337Apr 12.2006 — How about posting up the code and HTML...that would help
Copy linkTweet thisAlerts:
@peanutbutterApr 12.2006 — you mean for website and adsense... ok here.. this is the adsense code(hope there are no rules against posting this) -


<script type="text/javascript"><!--

google_ad_client = "pub-2965993620351226";

google_ad_width = 728;

google_ad_height = 15;

google_ad_format = "728x15_0ads_al";

google_ad_channel ="";

google_color_border = "083052";

google_color_bg = "083052";

google_color_link = "FFFFFF";

google_color_url = "008000";

google_color_text = "000000";

//--></script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

and this is the site..

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<!-- DW6 -->

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Anabolic Guide</title>

<link rel="stylesheet" href="3col_leftNav.css" type="text/css">

<style type="text/css">

<!--

body {

background-color: #29344A;

}

body,td,th {

color: #FFFFFF;

}

.style1 {

color: #FFFFFF;

font-family: Arial, Helvetica, sans-serif;

font-size: 90%;

text-decoration: none;

}

a:link {

color: #FFFFFF;

text-decoration: none;

}

a:visited {

color: #999999;

text-decoration: none;

}

a:hover {

text-decoration: underline;

color: #00FF00;

}

a:active {

text-decoration: none;

}

.style6 {color: #FFFFFF}

.style7 {font-size: small}

.style8 {color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: small; text-decoration: none; }

-->

</style>

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized

if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

MM_reloadPage(true);

//-->

</script>

</head>

<body>

<div id="masthead">

<h1 id="siteName"><a href="index.html"><img src="Logo.JPG" width="777" height="107" border="0"></a>&nbsp;

<div class="logo"></div></h1>

<div id="globalNav">

</div>

<h2 id="pageName">&nbsp;</h2>

<div id="breadCrumb"></div>

</div>

<!--end navBar div --><!-- #BeginLibraryItem "/Library/anothermenu222.lbi" -->

<style type="text/css">

<!--

.style4 {color: #FFFFFF}

.style6 {color: #006699}

.style8 {font-style: italic; font-size: small;}

-->

</style><div id="headlines">

<h3>&nbsp;</h3>

<form name="form1" method="post" action="Result.html">

<div align="left">
<p>
<label>
<input type="text" name="textfield">
<input name="GO" type="submit" id="GO" value="GO">

</label>

<br>

<strong><em>Search Site... </em></strong><br>

<label> </label>

</p>

</div>

</form>

<h3 align="center" class="style6"><u>Shop</u></h3>

<h3 align="left" class="style6"><a href="Supplements.html">Supplements</a> </h3>

<h3>&nbsp;</h3>

<h3 class="style6"><a href="ResearchChemicals.html">Research Chemicals</a><br>

<br>

</h3>

<a href="http://www.legalmusclebooks.com/page.php?pageID=1&a_id=91%27%3E" target="_blank"><img src="cover_small.gif" width="130" height="169" border="0"></a><br>

<span class="style8"><a href="BooksArticles.html">More...</a> </span> <br>

<br>

<br>

<strong align="left"><span class="style4"><a href="SubmitArticles.html">Submit Articles<br>

</a></span></strong><span class="style4"><strong align="left"><a href="Links.html">Links<br>

</a><a href="Advertising.html">Advertising Information<br>

</a></strong><a href="http://www.AnabolicGuide.com/forums" align="left"><strong>Message Board </strong></a> -<em> Comming Soon </em></span></div>

<!-- #EndLibraryItem --><!-- #BeginLibraryItem "/Library/newsidemenu.lbi" -->

<style type="text/css">

<!--

.style2 {

font-family: Arial, Helvetica, sans-serif;

font-size: small;

}

.style3 {

color: #FFFFFF;

font-family: Arial, Helvetica, sans-serif;

font-size: small;

}

.style5 {color: #FFFFFF}

-->

</style>

<div class="relatedLinks" id="navBar">

<div class="style2">

<h3 class="style3"><br>

<span class="style3">Steroid Information </span></h3>

<ul class="style5">

<li> <a href="steroidinfo.html">What Exactly Are Steroids ? </a></li>

<li> <a href="DrugProfile.html">Steroid, Drug Profile</a> </li>

<li> <a href="SteroidRating.html">Steroid Ratings</a></li>

<li> <a href="GrowthHormone.html">Human Growth Hormone</a></li>

<li> <a href="Femalessteroid.html">Females &amp; Steroids</a></li>

</ul>

<h3 class="style3">Legal Information </h3>

<ul class="style5">

<li> <a href="SteroidLaws.html">Steroid Laws</a></li>

<li> <a href="GrowthHormoneLaws.html">Growth Hormone Laws</a></li>

<li> <a href="NubianLaws.html">Nubian Laws</a></li>

<li> <a href="Arrested.html">Arrested For Steroids ?</a></li>

<li> <a href="PrisonTime.html">Steroid Prison Time</a></li>

<li> <a href="Siezureletters.html">Siezure Letters</a></li>

<li> <a href="ControlledDeliveries.html">Steroid Controlled Deliveries</a></li>

</ul>

<h3 class="style3">What You Need To Know </h3>

<ul class="style5">

<li> <a href="SideEffects.html">Side Effects</a></li>

<li> <a href="SteroidAbuse.html">Steroid Abuse</a></li>

<li> <a href="SteroidHalfLife.html">Steroid Half-Life</a></li>

<li> <a href="InjectionProcedures.html">Injection Procedures</a></li>

<li> <a href="BeatDrugTest.html">Beat Drug Test</a></li>

<li> <a href="DrugDetection.html">Drug Detection</a></li>

<li> <a href="FakeSteroids.html">Fake Steroids</a></li>

<li> <a href="SteroidCycles.html">Steroid Cycles</a></li>

<li> <a href="DiscontinueSteroidUse.html">Discontinue Steroid Use</a></li>

<li> <a href="Anti-Estrogens.html">Anti-Estrogens</a></li>

<li> <a href="under%20construction.html">Questions ?</a></li>

<li> <a href="AlternativesToSteroids.html">Alternatives To Steroids</a></li>

</ul>

<h3 class="style3">Body Building </h3>

<ul class="style5">

<li> <a href="Nutrition.html">Nutrition</a></li>

<li> <a href="Supplement.html">Supplements</a></li>

<li> <a href="Training.html">Training / Exercise </a></li>

<li> <a href="GymEquipment.html">Gym Equipment</a></li>

<li> <a href="GainMuscleMass.html">Gain Muscle Mass</a></li>

<li> <a href="LoseWeigntDiet.html">Lose Weight, Diet</a></li>

<li> <a href="SportsCompetetion.html">Sports, Competetion </a></li>

</ul>

<h3 class="style3">Other</h3>

<ul>

<li class="style5"> <a href="Scammers.html">Scammers</a></li>

<li class="style5"> <a href="BooksArticles.html">Books, Articles, etc...</a></li>

<li class="style5"> <a href="FitnessCalculators.html">Fitness Calculators</a></li>

<li class="style5"> <a href="Stress.html">Stress</a></li>

<li class="style5"> <a href="HairLoss.html">Hair Loss</a></li>

<li class="style5"> <a href="Acne.html">Acne </a></li>

<li class="style5"> <a href="MenIssues.html">Men's Issues </a> </li>

</ul>

</div>

<p class="style3">&nbsp;</p>

<p class="style2">&nbsp;</p>

</div>

<!-- #EndLibraryItem --><div id="content">

<div class="feature">

<p>&nbsp; </p>

<p>&nbsp; </p>

</div>

<div class="story">

<h3 align="center" class="style8"> Test </h3>

<h3><span class="feature"> </span></h3>

<p> Testing..., This is just a test <br>

</p>

<p>&nbsp; </p>

<p>&nbsp;</p>

<h3>&nbsp;</h3>

</div>

<div class="story"></div>

</div>

<!--end content -->

<div id="siteInfo">


<div align="center"><a href="AboutUs.html">About Us</a> | <a href="Disclaimer.html">Privacy Policy</a> | <a href="mailto:[email protected]">Contact Us</a> | &copy;2006 Anabolic Guide.com </div>

</div>

<br>

</body>

</html>



uhh.mmm..thats about it.
Copy linkTweet thisAlerts:
@felgallApr 12.2006 — And where in the HTML did you paste the Adsense code and have it not work?
Copy linkTweet thisAlerts:
@beaaast337Apr 12.2006 — I'd put the code right before it says <div id="headlines"> ...but it all depends on where you want them
Copy linkTweet thisAlerts:
@peanutbutterApr 12.2006 — i tried everywhere, if you guys want to give it a try.... it would really help... and sorry for the late reply.
Copy linkTweet thisAlerts:
@peanutbutterApr 12.2006 — hey beast i put it right where you said but nothing..... here you can check for your self this is the address http://www.anabolicguide.com/Test

someone ?


ohhhh... i still need help....people..come on.. help me
Copy linkTweet thisAlerts:
@beaaast337Apr 12.2006 — ok, you put it between the style tags
[code=html]
<style type="text/css">
<!--
.style4 {color: #FFFFFF}
.style6 {color: #006699}
.style8 {font-style: italic; font-size: small;}
-->
<script type="text/javascript"><!--
google_ad_client = "pub-2965993620351226";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al";
google_ad_channel ="";
google_color_border = "083052";
google_color_bg = "083052";
google_color_link = "FFFFFF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</style><div id="headlines"> [/code]


I was suggesting to do it like this
[code=html]
<style type="text/css">
<!--
.style4 {color: #FFFFFF}
.style6 {color: #006699}
.style8 {font-style: italic; font-size: small;}
-->
</style>
<script type="text/javascript"><!--
google_ad_client = "pub-2965993620351226";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al";
google_ad_channel ="";
google_color_border = "083052";
google_color_bg = "083052";
google_color_link = "FFFFFF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div id="headlines"> [/code]


Do you see the difference?

This might not be where you want it but I'll help you until you get it in the right place. Just let me know exactly where you want it.
Copy linkTweet thisAlerts:
@peanutbutterApr 12.2006 — ok let me try that yeah.. here i copied and pasted your code... huh..something is wrong, very very wrong, ok what went wrong now.. you know i dont know much html..

I'm still waiting, hmm.. my adsense account shows i have 3 page impressions but i still see no ads,... on top of that the page is all... messy.
Copy linkTweet thisAlerts:
@drbeardedApr 13.2006 — sometimes browsers dont load the ads correctly sorry if i wasnt any help
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — actually i dont think its the browser at all, i does'nt even load the ads, if i actually saw the ads then i would try to fix it... but... you can check for yourself its here - www.anabolicguide.com/Test the page impressions is up, 5..somehow?

will someone point me to the right direction, tell me where i can get some help. Did the orignal thread starter find a solution to this problem?
Copy linkTweet thisAlerts:
@drbeardedApr 13.2006 — i saw the ads
Copy linkTweet thisAlerts:
@mark200Apr 13.2006 — Yup i can see the ads too. Either there is something wrong with your browser/eyesight, or you're just trying to get more impressions.
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — trying to get more impressions??? what are you talking about... im getting the same response from another forum i just posted on... i still see no ads? ... obviously im not blind i see the rest of the page just fine.. hold. there's this.. i get done but with errors on the left bottom corner of the page..problems with page might prevent it from being displayed properly or func.... does this have anything to do with it... but some other's? still cant see it...???
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — wait wait.. i remember i use to have problems with this chat forum.. that used java... but i dont know how to fix it.

here-

line 214

char 1

error object expected

code 0

url www.anabolicguide.com/Test
Copy linkTweet thisAlerts:
@beaaast337Apr 13.2006 — I see the ads just fine. And I have the screenshots to prove it

[URL=http://i41.photobucket.com/albums/e260/Versatile337/firefox.jpg]in Firefox[/URL]

[URL=http://i41.photobucket.com/albums/e260/Versatile337/ie.jpg]in Internet Explorer[/URL]

I also don't get any errors. My only suggestion is to put all your style tags in the HEAD of the document and to make sure your code is valid.

If you're using this forum to get impressions, you're twisted. Thank You
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — for the last time i care not of impressions... it matters not...not yet... plus i only get money when a visitor clicks on the ads right... you know its funny i have never seen google adsense ads.. i mean never.. not on any site...i have ruled out the possibility of any antispyware, antivirus, adblocker or firewall... i have tested it all ...its either the browser or i dont know?..

forgot to ad i have java enabled in browser... i have java 2 runtime environment se v. 1.4.2._06

and GTK*2.8.9 runtime environment... yes and i saw the ads in the screen shots.. im confused
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — okay... so im thinking this must be a browser problem.. so is there an alternative i can use to view sites... yeah and i must tell you i use dialup so if i have to download a new browser... it will be sad.
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — okay.. i found this site.. im going to download this then see http://www.offbyone.com/

its only 1mb... if this works it'll be fine.///// no no this is no good... its all over the place... it does'nt event have java support
Copy linkTweet thisAlerts:
@beaaast337Apr 13.2006 — Google doesn't use Java to display ads. My screenshots were from IE 6 and Firefox 1.5. IE and firefox are free. Off by one supports HTML 3.2...what the hell are you thinking?? You're going back in time. Most websites are HTML 4.0 or XHTML

According to my site statistics, most users use these 2 browsers. The next most popular browser that I do not have is Safari.

Javascript is required to display Google ads. Just about everyone has javascript enabled.

and...you're getting on my nerves.

It's 2006, time for broadband and an up-to-date browser.
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — "Are you trying to promote Off

Javascript is required to display Google ads. Just about everyone has javascript enabled. "

for the last time NNNNOOOOO.... %&*#$gfjd;slj you know..i want to grab...pick you up and shake it out of you.....!!!
Copy linkTweet thisAlerts:
@mark200Apr 13.2006 — "Are you trying to promote Off

Javascript is required to display Google ads. Just about everyone has javascript enabled. "

for the last time NNNNOOOOO.... %&*#$gfjd;slj you know..i want to grab...pick you up and shake it out of you.....!!![/QUOTE]

sounds like a threat hahahaa.
Copy linkTweet thisAlerts:
@beaaast337Apr 13.2006 — The feeling is mutual...

Did you fix your problem or not, what is with you and these short posts??

The whole root of your problem is your laziness. Do everyone a favor and stop making websites.

I tried to help.
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — beast little buddy... not helping... ahhh..wann a get my hand on u... .....dam'n u hillbilly!!

and the problem still there...

"Do everyone a favor and stop making websites."

wannabe punk!
Copy linkTweet thisAlerts:
@beaaast337Apr 13.2006 — Everyone sees the ads. What is the problem?? I even took the time to prove to you that they show up. To allow anyone to help you, you must be more specific.

What browser are you using?? What line #, char # are you getting an error with?

Have you checked that javascript is enabled in your browser?

You still haven't put the style tags in the HEAD section like I suggested. Style belongs in the HEAD section. If you're not going to try to help yourself, how can anyone help you?
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — i have told you i get a error sign in the bottom left corner -

line 214

char 1

error object expected

code 0

url www.anabolicguide.com/Test

i use microsoft internet explorer 6.0.2600.0000

javascript is enabled however i have had problem with java ... as i have mentioned earlier i was unable to enter a chat forum which used java... which i still have'nt figured out.. now im guessing that this is somehow related to the problem im having now.. and its not only my site, i am unable to view adsense ads... at all no matter whose site it is... post a few websites that use adsense.. im sure those ads will not show up on my browser, now im trying to download other browsers to check....

PS. i have tried to get verizon bussiness dsl ...apparantely... its unavailable in the area that i live in....
Copy linkTweet thisAlerts:
@peanutbutterApr 13.2006 — i made some screenshots here -

this one with some other browser opera or something- http://www.anabolicguide.com/Screen01

this is explorer-

http://www.anabolicguide.com/Screen02

and this is also explorer with that error...

http://www.anabolicguide.com/Screen03

you know what.. screw this..it's been three day's i've been trying to fix this.. i've got an idea ...long story short im using an older computer because the other needs repair... (power unit went out..took motherboard with it) so im just going to use another harddrive i have it has windows 98 ...hopefully that one wont have this problem, iwill transfer all the files on that..
Copy linkTweet thisAlerts:
@peanutbutterApr 14.2006 — I thought i'd let you guys know... my plan worked.. althought now im on windows 98... and had to remove tons of spyware ... but the problem is still there on the other harddisk.. now i will have to,.. somehow move all my work on this ****..
Copy linkTweet thisAlerts:
@beaaast337Apr 14.2006 — I'm glad you got that resolved. The error you had was because of your counter code towards the bottom of your page. Not sure what it is since I cannot replicate the error.
Copy linkTweet thisAlerts:
@Khalid_AliApr 14.2006 — I went to the link posted, where in the page and what is it that I am expecting to see which is not being shown?...answer the above and I will take a look
Copy linkTweet thisAlerts:
@peanutbutterApr 14.2006 — huh...? you mean the screenshots... well as you can see. .. you dont see any adsense ads in those screenshots ...but there should be.. atleast on everyone else's pc the ads show, except mine... but i dont have that problem on another harddisk with different operating system.. which im currently upgrading to xp...sad.. oh and im guessing im the only one that gets that error on the bottom left..
Copy linkTweet thisAlerts:
@ray326Apr 14.2006 — Well the error you're seeing and the image that's missing are beyond the end of your page. I.e. they appear after the </body></html> tags.
Copy linkTweet thisAlerts:
@peanutbutterApr 15.2006 — I dont get that error anymore... i decided to reformat the old harddisk... now im not getting any error's and the adsense ads are visible... i'll never know what went wrong in the first place.. but i suspect it ...well i think it has to do with antispyware or virus software... i've used many over the year's ...you know who's to blame its those people who make those spyware..adware..viruses...they should pay! one day...i tell you.!
×

Success!

Help @laraib486 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...