Jump to content
php.lv forumi

Ieteikt draugiem.lv


Blumish

Recommended Posts

drukaaju no ipod touch, nepiesieties rakstiibai :)

 

vsp. viss ir atrodams ieksh dr.lv api dokumentacijas...

 

tew testam..

 

izveido divus failus...

 

index.htm

<script type='text/javascript' src='jscript.js'></script>

<a href="#" onclick="DraugiemSay('virsraksts', 'httpadrese tava', 'adreses nosaukums');return false;"> iesaki </a>

 

jscript.js

function DraugiemSay( title, url, titlePrefix ){
window.open(
 'http://www.draugiem.lv/say/ext/add.php?title=' + encodeURIComponent( title ) +
 '&link=' + encodeURIComponent( url ) +
 ( titlePrefix ? '&titlePrefix=' + encodeURIComponent( titlePrefix ) : '' ),
 '',
 'location=1,status=1,scrollbars=0,resizable=0,width=530,height=400'
);
return false;
}

Edited by aldis
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...