DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 7 of 7

Thread: Redirect a website inside an iframe

  1. #1
    Join Date
    Apr 2004
    Posts
    109

    Redirect a website inside an iframe

    How do I redirect a website that will be displaied inside an iframe in a form? Thanks.

    Dan-Yeung

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2005
    Posts
    31
    how can I set auto redirect using iframe? Its rather confusing there, I maybe skip out some important parts but I don't actually know what to use?

  4. #4
    Join Date
    Apr 2004
    Posts
    109
    Create a user control and insert an iFrame. You may have to go to HTML tab and enter code there.

    Put the URL in the iFrame src property or in the code, type in the following: FRAME1.Attributes.Add("src", "http://localhost/myPage/myPage.aspx")

    Dan-Yeung

  5. #5
    Join Date
    Mar 2005
    Posts
    31
    sorry, this is rather confusing to me. Can explain in more detail way, Thanks I want to Auto Redirect eg. 5 secs to change the default iframe page to another page.

  6. #6
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I would simply include a meta refresh tag on the page displayed in the iframe: http://webdesign.about.com/cs/metatags/a/aa080300a.htm
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  7. #7
    Join Date
    Mar 2005
    Posts
    31
    Thanks, that is simple and useful

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center