jack666sparrow Posted March 29, 2013 Share Posted March 29, 2013 hello i want to use iframe but with 3 hyperlink for example - first page- second page - third page whenever i click on 1,2,3 they will open in one single iframe , not separate iframei do it but it was separate , i try to have only one but i don't know the correct syntax for it <iframe src="aboutus.html" name="aboususframe"> </iframe> <a href="aboutus.html"><br>Abous Us </a><br><br><br><br><iframe src="Products.html" name="Productsframe"> </iframe> <a href="Products.html"><br>Products </a><a href="Purchase Application"> </a><br><br><br><br><iframe src="PurchaseApp.html" name="purchaseapp"> </iframe> <a href="PurchaseApp.html"><br>Purchase Application Form </a> Link to comment Share on other sites More sharing options...
Ingolme Posted March 29, 2013 Share Posted March 29, 2013 If you want a single frame, links can use the target attribute to open the destination URL inside the frame. <a target="framename" href="page2.html">Link</a> I don't recommend the use of frames. If you have a server-side language available, use it. Frames are outdated and not very user-friendly. 1 Link to comment Share on other sites More sharing options...
jack666sparrow Posted March 30, 2013 Author Share Posted March 30, 2013 am still just a beginner , somehow our teacher give us an assignment to work on it and that part was on it , but thanks for the info so whenever i become a good i won't use it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now