dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: How to show a webpage modally

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    How to show a webpage modally

    There's website A. And there's a link saying "Click to open website B". Is it possible to opeb website B's webpage specified in the url link modally inside the website A?Thank you.

  2. #2
    Join Date
    Feb 2011
    Posts
    231
    Hi,
    It is posible using <iframe>, with target="iframe_name" in the <a> linlk.
    Or, more complex, using Ajax-Php, when click on the link, an Ajax function sends the URL address of the webpage B to a script on the server that gets (with cUrl, or file_get_contents() ) and returns the html code of site B. Than, a javascript function adds that code in webpage A.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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



Recent Articles