Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
How to set Java Script Code center?
Old 03-24-2010, 03:08 AM How to set Java Script Code center?
Novice Talker

Posts: 5
Name: Heri Setiyawan
Trades: 0
hi..1st of all sorry if my english is so bad because I'm from Indonesia...
I'm newbie at internet business so I have a little knowledge about javascript code, html code , php code etc...I'm not good at IT(Information Technology)..

I have blog and i try to monetize it by adsense..You know..adsense code is javascript..Can you help me how can i set the javascript code center? Thanks before..
__________________

Please login or register to view this content. Registration is FREE
-Online Business Blog

Please login or register to view this content. Registration is FREE
-Indonesia's Cheap Investment
herisetiyawan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-24-2010, 08:59 AM Re: How to set Java Script Code center?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I'm not sure what you mean by "javascript code center" but if all you need to do is put Adsense on your site, paste the code at the bottom of your pages, right before the closing </body> HTML tag.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 03-24-2010, 09:13 AM Re: How to set Java Script Code center?
voxink's Avatar
Novice Talker

Posts: 13
Name: Adrian
Trades: 0
Maybe something like that

Code:
<div align="center" style="text-align:center">
    <script type="text/javascript">
        // your JavaScript code
    </script>
</div>
voxink is offline
Reply With Quote
View Public Profile
 
Old 03-26-2010, 08:21 AM Re: How to set Java Script Code center?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Oops, sorry, you said Adsense, I thought you were talking about Analytics.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-06-2010, 03:11 PM Re: How to set Java Script Code center?
Novice Talker

Posts: 11
Name: Robby
Location: Indianapolis
Trades: 0
You can add the code wherever you need it like this
Code:
<div align="center">
you adsense code here
</div>
If you want to add the ads in your posts you can add this code to your page.php and single.php templates right after this line of code <div class="entry-content">

Code:
<div style=”display:block;float:left;margin:10px;”>
 your adsense code here
 </div>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
indyonline is offline
Reply With Quote
View Public Profile Visit indyonline's homepage!
 
Old 04-08-2010, 01:10 AM Re: How to set Java Script Code center?
Junior Talker

Posts: 4
Name: juanpawell
Trades: 0
Quote:
Originally Posted by voxink View Post
Maybe something like that

Code:
<div align="center" style="text-align:center">
    <script type="text/javascript">
        // your JavaScript code
    </script>
</div>
I think this script which is shared here that is right and i do not have any other idea regarding the same.
__________________

Please login or register to view this content. Registration is FREE
juanpawell is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to set Java Script Code center?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.84225 seconds with 12 queries