# Linking

**URL:** https://forum.kirupa.com/t/linking/14359
**Category:** Uncategorized
**Created:** [February 25, 2003, 3:11pm UTC](https://forum.kirupa.com/t/linking/14359 "2003-02-25T15:11:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![digletinms](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@digletinms](https://forum.kirupa.com/u/digletinms)
#### Post date: [February 25, 2003, 3:11pm UTC](https://forum.kirupa.com/t/linking/14359/1 "2003-02-25T15:11:06Z")

</div>

I have a project that I will put on a mini cd. I want to link some buttons on it to direct the user to a web site. How do I do that? I cannot put the action into the button and I am not sure how to do it even if it would let me do that.

Thanks,

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 25, 2003, 4:15pm UTC](https://forum.kirupa.com/t/linking/14359/2 "2003-02-25T16:15:51Z")

</div>

getURL(url [, window [, “variables”]])

so, for yours, it’d probably be…

```auto

on (release) {
    getURL("http://www.spam.com", "_blank");
}

```

tookie! tookie! done!

BTW, that’s just for a button…you would place the getURL code elsewhere for other functions.
