www.webdeveloper.com
Results 1 to 3 of 3

Thread: Alt Clicking Iframes?!?

  1. #1
    Join Date
    Jun 2008
    Posts
    32

    Alt Clicking Iframes?!?

    Hey, here is the site I am currently working on...
    www.dotswoof.com/ALPHA/index.html

    In it is an iframe, that way I can change a big chunk of my layout and navigation without changing every single page. However the problem I am running into, is with new browsers, and firefox and chrome browsers, when you alt click, with the scroll on your mouse, it'll open a the page in a new tab.

    Well when the links in my page are targeted to change the iframe, and are alt clicked, it opens up just the page that should be in the iframe but not a new index...

    Recently, I added code to the Home and Noobesauce pages that redirects people to the index when they alt click, is there anyway to set the destination of an alt click?

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Your IFRAME really isn't going to work for this purpose. Look into server side includes. But if your server doesn't support them then mark up the dynamic content in XHTML files but with an .XML file name extension. Then apply an XSLT style sheet that adds the static content and transforms the document to HTML.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    1,086
    Search engines HATE iframes.

    Maybe a uFrame?
    http://www.codeplex.com/UFrame

    It works like an iFrame but is a DIV and the content will be parsed by Google.

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