View Full Version : links...


oincubusx
04-09-2005, 05:41 AM
i know this might sound soooorta DUMB! but im trying to get a certain phrase to be two links... for it to play a song on click and on click, target an iframe to a page with the lyrics... so can i like do this:

<a href="#"><a href="#">kaljdsadf</a></a>

if not... then how would i do it?
lol

pb&j
04-09-2005, 06:31 AM
this should work in your situation, just a bit different...

http://www.lissaexplains.com/forum/showthread.php?t=40793

oincubusx
04-09-2005, 06:42 AM
im not trying to target two different iframes tho... how would i use it in my situation?

pb&j
04-09-2005, 07:24 AM
<a href="newpage1.mp3"
onClick="parent.iframe_name_here.location='newpage2.html'"> text or image </a>

newpage2.html will load into the area called iframe_name_here.
the mp3 (or whatever sound file) should open as normal. you may have to put in TARGET="_blank" but i dont think so...

oincubusx
04-10-2005, 03:00 AM
HOLY CRAP! ... lol it workS! dang THANKS! =]

pb&j
04-10-2005, 08:58 AM
no worries. good luck!