ev5unleash Posted June 8, 2008 Share Posted June 8, 2008 Yea, I have an iFrame and I would like to be able to create a navigation for it. Like Back, Forward, Stop, Address Bar, Go. If anyone could provide a script that'd be nice! Thanks. Link to comment https://forums.phpfreaks.com/topic/109314-navigation-iframe/ Share on other sites More sharing options...
Xurion Posted June 12, 2008 Share Posted June 12, 2008 <input type="button" value="back" onclick="iframe_name.history.back()"> <input type="button" value="forward" onclick="iframe_name.history.forward()"> Link to comment https://forums.phpfreaks.com/topic/109314-navigation-iframe/#findComment-563798 Share on other sites More sharing options...
ev5unleash Posted June 12, 2008 Author Share Posted June 12, 2008 Alright thanks, Now one more thing. I code for an address bar? Link to comment https://forums.phpfreaks.com/topic/109314-navigation-iframe/#findComment-564361 Share on other sites More sharing options...
Xurion Posted June 18, 2008 Share Posted June 18, 2008 You'd need to make a text field that acted as the address bar, and an accompanying button that took the address added in it to make the iframe go to a certain location. The button onclick event would be onclick="youriframe.src=addressbar.value" I think that should work Link to comment https://forums.phpfreaks.com/topic/109314-navigation-iframe/#findComment-567985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.