Need help with javascript social bookmark

Discussion in 'JavaScript' started by Funk-woo10, Nov 16, 2007.

  1. #1
    Hi all,

    I have just added some social bookmarks to my site.

    Problem is when you submit to the bookmark sites in only submits the current url, what I need is it to submit the url I have already on the page that is outputted in php !

    How to I take that outputted text into the js file ?

    ta.
     
    Funk-woo10, Nov 16, 2007 IP
  2. cjburkha

    cjburkha Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Most of these bookmark scripts give you a place to insert the url.

    Like digg it is

    
    digg_url = 'http://www.sample.com';
    
    Code (markup):
    Just construct that server side, with php.

    I can't help with php, just javascript
     
    cjburkha, Nov 19, 2007 IP