Forum Moderators: martinibuster

Message Too Old, No Replies

Related links in Ad Sense

         

Bubzeebub

6:25 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



When you sign up for Ad Sense, how do you allow only related links on your site? I'm unsure whether or not you sign up and just get ANY type of ad links or can you choose them.

Bubzeebub

6:30 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



Also, how do you place the ads on the left, right or bottom of your site? Where exactly should the code go to maneuver the placement of the ads?

Rodney

6:38 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Adsense crawls your page and automatically presents advertising links that are related to your content.

You can move the adsense placment on your site by where you decide to place the javascript code that adsense gives you.

You can position it with tables or css positioning.

Bubzeebub

6:41 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



cool...thanks. Can you give me an example on how the code would look if I wanted the ads on the skyscraper ad on the right hand side of the page?

Bubzeebub

6:46 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



Just not sure how to create the table. Is there an easy way to do it in Dreamweaver MX 2004?

Rodney

6:49 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In dreamweaver, you would just click: Insert > Table

Define how many rows and columns you want (you probably want at least 2 columns...content on left, adsense skyscraper on the right)

When the 2 columned table appears on the page, just put the adsense code in the column on the right.

Bubzeebub

6:53 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



gotcha..I'll try that. Thanks Rodney

Bubzeebub

10:31 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



Still have a problem. For some reason I can't resize the table. When I try to resize it in Dreamweaver the table just stays the same. This is the code that references the table:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; position: absolute; left: 131; top: 125" bordercolor="#111111" width="650" id="AutoNumber4" align="right" height="1100">
<tr>
<td width="650" height="550" valign="top">

I tried to manually resize it (changed the width from 650 to 350 but it didn't change) What could I do to resize it?

Bubzeebub

10:34 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



I'd like to add a table to the right of the page to insert a skyscraper ad but in Dreamweaver there's no room to the right of the table. The page, when viewed in a browser, seems to have plenty of space to add a table. What gives?

ncw164x

10:51 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you drag you mouse across the table to highlight it and have the properties box in view you can see all the properties of the table, edit the items you require like the width border or border colour and they change automatically

Or if you put the mouse curser over the edge of the table it will change to two vertical lines, if you right click and choose edit tag you will see the same table properties

When I viewed your code above it is highlighted in yellow, dreamweaver will do this if there is an error with the code, start again with a new table to remove the problem

chewy

5:45 pm on Mar 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is just what this noob is trying to do -

I've got the table looking right --

But please how do I put the script in the table cell so that it runs, rather than displaying on the page?

ncw164x

7:21 pm on Mar 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I take you are meaning the adsense javascript code is showing on the dreamweaver page rather than two gold shields which would be there showing you have javascript on that page

Place the cursor where you want the adsense code to appear on your page, at the top left hand side underneath file edit and view are three icons, if you mouse over them you will see alt text saying

show code view
show code and design view
show design view

choose the middle one "show code and design view" and you will see a line showing where the cursor is in design view, place your mouse cursor over this line and right click and paste your code

As you go back to show design view you will see the two shields for the javascript code

chewy

9:15 pm on Mar 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ncw,

I've done this - the code looks good - right inside of the td tags. No sheild showing however.

I put it there using insert html script objects.

Still nothing. I'm sure it is something super simple.

I'll hack at it some more.

bbkid

9:54 pm on Mar 5, 2005 (gmt 0)

10+ Year Member



i dont mean to be rude here, but i just want to point out that imho, you should try to learn the code and hand write it in notepad or something similar.

chewy

10:09 pm on Mar 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



yup. I have to agree.

Not gonna happen today.

hundreds of dreamweaver pages to take care of and not enough time to learn how to do them by hand, although I do know my way around textpad and such.

ncw164x

10:21 pm on Mar 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



bbkid

I understand totally what you are saying but you won't get very far editing sites with excess of 200k pages using notepad

bbkid

11:28 pm on Mar 5, 2005 (gmt 0)

10+ Year Member



hum... point accepted