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

Thread: framed web forwarding issues

  1. #1
    Join Date
    Jun 2012
    Posts
    2

    Exclamation framed web forwarding issues

    As a temporary solution, I am setting up a website that is hosted on a free server, and to make the url look a bit more professional, I wanted to use framed web forwarding to mask the url with my own .co.uk domain.

    But for some reason, safari and safari on the iPad dont like framed web forwarding and the website messes up. So to solve this i put in a script I found on the internet to detect iPads and redirect to the ipad site.

    However, because it is in a frame, the link just redirects still inside the frame and the problem still exists.

    To cut a long story short, I'm basically trying to ask what the javascript version of target="_top" is as I've never used much java script before (or if theres a better way to detect an iPad or safari)

    Thanks everyone!

  2. #2
    Join Date
    Jun 2012
    Posts
    2
    no worries i figured it out, i just used

    top.location.href = ' ';

    thanks anyway

Thread Information

Users Browsing this Thread

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

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