Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member a-drive's Avatar
    Join Date
    Mar 2003
    Posts
    94
    Member #
    809
    I plan, and am using XHTML Strict, the only problem is it doesn't allow the target="" attribute for an anchor tag; <a href="blah.html">.

    In accordance with the Strict compliancy, what am I able to use instead of this attribute? I took a look but couldn't seem to find anything.

    Regards,
    Chris

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    If you're using frames, then set the target="targetName" attribute on the frame containing the links.

    If that doesn't work, you might have to do something like this:
    Code:
    <a href="javascript:document.getElementById('frameId').src = 'newPage.htm';">
    XHTML Strict is a poor spec to design a website by IMO... it enforces too many requirements that don't make any sense and restrict creativity.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com