XHTML Target

This is a discussion on "XHTML Target" within the Web Page Design section. This forum, and the thread "XHTML Target are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 3rd, 2007, 12:49
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Cool XHTML Target

Ok, so I am building a website for a client and it will not validate as XHTML strict because the target attribute is not supported. So I normally do a JavaScript work around...but thought I would ask what the proper way is?
Reply With Quote

  #2 (permalink)  
Old Jan 3rd, 2007, 15:01
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: XHTML Target

My understanding is that it was removed from the spec because it was originally aimed at frames and pop-up windows, both of which have fallen into disrepute.

That being the case, is there a better way that you can convince your client to accept or do you use JavaScript?
Reply With Quote
  #3 (permalink)  
Old Jan 3rd, 2007, 15:09
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,712
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: XHTML Target

This example page is nice: http://www.alistapart.com/d/popuplinks/examples.html
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #4 (permalink)  
Old Jan 3rd, 2007, 15:16
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: XHTML Target

I just added that onto the link, it works and validates as XHTML Strict.

Code: Select all
onclick="window.open('http://www.google.com/','',''); return false" /></a>
Reply With Quote
  #5 (permalink)  
Old Jan 3rd, 2007, 19:23
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: XHTML Target

Ouch. Unobtrusive, people!

http://adactio.com/atmedia2005/
Reply With Quote
  #6 (permalink)  
Old Jan 4th, 2007, 07:31
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: XHTML Target

Ok Ryan what do you suggest I do? I need it to validate strict, so you can't use the target attribute. What do you think?
Reply With Quote
  #7 (permalink)  
Old Jan 4th, 2007, 09:17
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: XHTML Target

The presentation link I gave you has the script on there you're looking for.
Reply With Quote
  #8 (permalink)  
Old Jan 4th, 2007, 11:55
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: XHTML Target

Ok, I will look at it later...lol
Reply With Quote
Reply

Tags
taget

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Target _blank Jack Franklin Web Page Design 12 Oct 12th, 2007 09:55
Target Window Name jayaramgussy Web Page Design 9 Sep 20th, 2007 22:44
thumbnails, target to iFrames, XHTML compliant? belledumonde Web Page Design 6 Jun 11th, 2006 00:41
Save Target As VanderBOOM JavaScript Forum 4 Dec 15th, 2005 10:25
Frameset target help please charter Flash & Multimedia Forum 4 Mar 28th, 2004 10:05


All times are GMT. The time now is 03:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43