Justin
07-27-2003, 08:29 AM
i am writeing a script for someone. but i don't know how to make the iframe src change. i got the counter but i don't know how to hacnge the src to page[num] that is the array i am useing
|
Click to See Complete Forum and Search --> : iframe change script Justin 07-27-2003, 08:29 AM i am writeing a script for someone. but i don't know how to make the iframe src change. i got the counter but i don't know how to hacnge the src to page[num] that is the array i am useing Khalid Ali 07-27-2003, 01:14 PM parent.frameName.src = "newSrc.html" should do it. However if the page loaded in the iframe is an out of domain page then might not access the src attribute...in that case to load a new page you will need to do this parent.frameName.location.href = "newSrc.html" webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |