A way to have a single link deliver TWO href? |
A way to have a single link deliver TWO href? |
eabigelow |
Oct 13 2011, 03:06 PM
Post
#1
|
Newbie Group: Members Posts: 13 Joined: 24-August 11 Member No.: 15,242 |
Hi--
I have a link that has an mp3 sound as its href: CODE <a href="sounds/genealogy.mp3" class="track track-default">this is a link</a> Unfortunately, I also need that same link to go to a part on the site (href=#dombo) so that the sound plays on that part of the site. Does anyone know how to accomplish this? I am imagining it would be with javascript, but honestly, I do not know. Any help would be greatly appreciated. Many thanks...! This post has been edited by eabigelow: Oct 13 2011, 03:07 PM |
eabigelow |
Oct 14 2011, 04:02 PM
Post
#2
|
Newbie Group: Members Posts: 13 Joined: 24-August 11 Member No.: 15,242 |
Thanks so much for your replies and for giving this a try. I keep thinking there has to be a way--maybe a javascript function so that when you do an onclick it will make two things happen at once, or one after the other?
|
Lo-Fi Version | Time is now: 2nd May 2024 - 07:25 PM |