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. Quote Link to comment 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()"> Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.