Click to See Complete Forum and Search --> : Dial-a-site


murrayi
08-05-2003, 02:29 PM
In the dial-a-site javascript, how do you add target frames to the links so the pages appear in other frames?

http://javascript.internet.com/navigation/dial-a-site.html

Khalid Ali
08-05-2003, 02:43 PM
locate these lines in the javascript code

if (phone_num=="01")
document.location="http://javascript.internet.com";


and just replace the document.location part with this pattern

parent.frameName.location.href = "pageurl.html"

murrayi
08-06-2003, 03:25 AM
Thanx, it worked!:D