Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Javascript On Wordpress

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Default Javascript On Wordpress

    I want to get started could anyone guide meE ?

  2. #2
    Linkbucks Private Ninja tsubakinomai's Avatar
    Join Date
    Jul 2008
    Posts
    1,166

    Default

    you talking about wordpress.com or .org? you cant do anything with .com
    Daily Earnings with the 3 methods below:
    $8

    Total Withdrawn (No Money Invested):
    $365.86

    Join LinkBucks!
    mysafelink.com/F1m

    Paid to Upload Files
    mysafelink.com/jh2

    Paid to Upload Pictures
    mysafelink.com/pi79

  3. #3
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Default

    Quote Originally Posted by tsubakinomai View Post
    you talking about wordpress.com or .org? you cant do anything with .com
    .org . the one which i use my own hosting and stuffs

  4. #4
    Linkbucks Private Ninja tsubakinomai's Avatar
    Join Date
    Jul 2008
    Posts
    1,166

    Default

    yeah you would go to edit template like you know when you go install a new template in your panel. just add the jav script after the body and before body closure.
    Daily Earnings with the 3 methods below:
    $8

    Total Withdrawn (No Money Invested):
    $365.86

    Join LinkBucks!
    mysafelink.com/F1m

    Paid to Upload Files
    mysafelink.com/jh2

    Paid to Upload Pictures
    mysafelink.com/pi79

  5. #5
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Default

    yo thanks alot !

  6. #6
    Linkbucks Private Ninja tsubakinomai's Avatar
    Join Date
    Jul 2008
    Posts
    1,166

    Default

    n/p dude, however I would appreciate if you become my referral in any of my programs below in my signature so If you need more help I can help you. But you most certainly don't have to.
    Daily Earnings with the 3 methods below:
    $8

    Total Withdrawn (No Money Invested):
    $365.86

    Join LinkBucks!
    mysafelink.com/F1m

    Paid to Upload Files
    mysafelink.com/jh2

    Paid to Upload Pictures
    mysafelink.com/pi79

  7. #7
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Default

    Quote Originally Posted by tsubakinomai View Post
    n/p dude, however I would appreciate if you become my referral in any of my programs below in my signature so If you need more help I can help you. But you most certainly don't have to.
    ok i became ur ptc ref . hope u can help me out there

    my username is ethernet


    -----------------


    anyway , i cant post any vids in wordpress . how can i ?
    Last edited by l3m0nz; 10-03-2008 at 10:18 PM.

  8. #8
    Linkbucks Private Ninja tsubakinomai's Avatar
    Join Date
    Jul 2008
    Posts
    1,166

    Default

    alright thanks a lot, whatever you need help with, i am here to answer, transfer money between paypal alertpay, whatever, I got you covered bro, just remember to keep clicking.
    Daily Earnings with the 3 methods below:
    $8

    Total Withdrawn (No Money Invested):
    $365.86

    Join LinkBucks!
    mysafelink.com/F1m

    Paid to Upload Files
    mysafelink.com/jh2

    Paid to Upload Pictures
    mysafelink.com/pi79

  9. #9
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Default

    Quote Originally Posted by tsubakinomai View Post
    alright thanks a lot, whatever you need help with, i am here to answer, transfer money between paypal alertpay, whatever, I got you covered bro, just remember to keep clicking.
    clicking . just need help with my blog. idk wheere to put my javascript , how to embed porn .

  10. #10
    Linkbucks Private Ninja tsubakinomai's Avatar
    Join Date
    Jul 2008
    Posts
    1,166

    Default

    you mean a porn javascript ad? do you want to put it in a post or in your template?

    Using Javascript in WordPress Template Files

    If you have a lot of javascripts that you will be using consistently in your WordPress template files, then first try to put all the scripts into one group Javascript file rather than a bunch of small files. Even if you don’t use the scripts for every single page or post on your site, they can still just sit there in the single Javascript file until called.

    Make sure that each script is defined by its function name such as:

    function updatepage(){var m="Page updated "+document.lastMo.......}

    Let’s assume that you called your group javascripts file scriptfile.js and it contains the updatepage script. When you want to use the example updatepage Javascript in a WordPress template file, add a link to the Javascript file in the header.php between the meta tags and the style sheet link in the head section. Here is an exmaple of what to add for your Javascript file link, changing the name to your script file name:

    <script type="text/javascript src="/scripts/updatepage.js"></script>

    Be sure that you define the type correctly, as your site will not validate without it.

    In the place on your index.php, single.php, sidebar.php, or whichever template file you want to activate the Javascript, place the following code in exactly this format, changing the name to the function call of the script:

    <script type="text/javascript">
    <!–
    updatepage();
    //–></script>

    Be sure and thoroughly test the generated pages with the script to make sure it works.

    DOWNLOAD A PLUGIN TO USE JAVASCRIPT IN WORDPRESS

    download and unzip the include-html.zip file, create an include-html directory on your WordPress server under wp-content/plugins, put include-html.php into it, and activate the plugin using WordPress’ administrative interface.

    Usage is equally simple: create a file containing any combination of PHP, HTML, and/or JavaScript you want (for example, let’s say the file is accessible as http://mysite.com/myfile.php) and include it into your post or page as follows:

    [include_HTML: http://mysite.com/myfile.php]
    Last edited by tsubakinomai; 10-03-2008 at 10:47 PM.
    Daily Earnings with the 3 methods below:
    $8

    Total Withdrawn (No Money Invested):
    $365.86

    Join LinkBucks!
    mysafelink.com/F1m

    Paid to Upload Files
    mysafelink.com/jh2

    Paid to Upload Pictures
    mysafelink.com/pi79

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •