attaching unobtrusive link behaviors
hey there,
i'm hoping to add an unobtrusive link to an h1 tag (the h1's id="logo") that
has an image replacement behind it. i don't know javascript too well, but i
think i have it pretty close. i'm just unaware of how to make javascript open a
url.
thanks for your !
function logoLink {
document.getElementById("logo").onClick = function () {
this is where i get stuck
}
}
|