Shop OBEX P1 Docs P2 Docs Learn Events
PINK tips, tricks and snips — Parallax Forums

PINK tips, tricks and snips

KB3JJGKB3JJG Posts: 95
edited 2005-11-14 16:12 in General Discussion
A thread for code snippets and tips and tricks using PINK


1. Make pink your P: Drive

Many people know that you can add a network place to windows XP that allows you to use a FTP site as a network resource, thus allowing you to cut/paste drag/drop files to/from said FTP server. This can be accomplished by going to "My Netwok Places", adding a new place, choose other, enter ip addy of PINK and then choosing authentication if you turned it on in the PINK config Software. XP does not allow you to map this resource to a drive as you normally can on a win network.

Using a COOL free Utility called netdrive, you can map a remote FTP site to a drive on your computer, it is only appropriate to map it to the p: drive. IT takes about 10 seconds to setup and works with PINK using the default settings. All you need to do is type in your pink IP addy, and enter your un/pw if you enabled this feature. You can DL it here
http://www.loyola.edu/5555/netdrive/installingnetdrive/




2. Simple Javascript example with PINK. The following will show a button, after clicking it will show a popup with the value of Nb_01
<html>
<head>
<script type="text/javascript">
function disp_var()
{
alert("<Nb_var01>")
}
</script>
</head>
<body>
<form>
<input type="button" onclick="disp_var()" value="Display Nb_01 Value">
</form>
</body>
</html>


This is very basic and I will add more javascript samples when I can. This is the first I have been able to play with PINK, I know it's on back-order, but when it is available be sure to get one!



Post Edited (KB3JJG) : 11/14/2005 12:13:22 AM GMT

Comments

Sign In or Register to comment.