Web Design Forum: _self or _ blank ? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

_self or _ blank ? which one

#1 User is offline   abeer 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 478
  • Joined: 18-January 09
  • Reputation: 4
  • Gender:Male
  • Location:Dhaka
  • Experience:Intermediate
  • Area of Expertise:Web Developer

  Posted 09 April 2009 - 08:57 AM

i forgot one thing can any one help me??

after press button i want to oprn it existing window, not in new windoe

so which one is the method?? _self or _blank?


advance thanks for the help
0

#2 User is offline   Acej 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 198
  • Joined: 08-January 09
  • Reputation: 4
  • Gender:Female
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 09 April 2009 - 09:05 AM

Hi abeer,

Use _self to open in the same window.
0

#3 User is offline   bocaj 

  • Retired
  • PipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 3,402
  • Joined: 11-January 09
  • Reputation: 99
  • Gender:Male
  • Location:New Sarum
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 09 April 2009 - 09:08 AM

_self is the default value anyway? so just not placing a target attribute does the exact same thing, and saves you a couple of bytes off the file :) or am i missing something?
0

#4 User is offline   Acej 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 198
  • Joined: 08-January 09
  • Reputation: 4
  • Gender:Female
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 09 April 2009 - 09:12 AM

Yes, does the same thing. Leave blank if that's what you prefer.
0

#5 User is offline   Helen 

  • Spam sniper.... watching from the rooftops
  • View gallery
  • Group: Moderators
  • Posts: 3,232
  • Joined: 15-April 08
  • Reputation: 39
  • Gender:Female
  • Location:Cheshire
  • Experience:Advanced
  • Area of Expertise:Designer

Posted 09 April 2009 - 09:15 AM

I just leave as is TBH. Saves a good few keystrokes :D
0

#6 User is offline   bocaj 

  • Retired
  • PipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 3,402
  • Joined: 11-January 09
  • Reputation: 99
  • Gender:Male
  • Location:New Sarum
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 09 April 2009 - 09:25 AM

ahhh but if the users changed the default options, does this force the browser? and overwrite their choice? which isn't a good idea anyway, but jw.
0

#7 User is offline   abeer 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 478
  • Joined: 18-January 09
  • Reputation: 4
  • Gender:Male
  • Location:Dhaka
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 09 April 2009 - 11:35 AM

View PostHelen, on Apr 9 2009, 09:15, said:

I just leave as is TBH. Saves a good few keystrokes :D



Sorry for my ignorance what is TBH????
0

#8 User is offline   Sam G 

  • Forum Newcomer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,860
  • Joined: 06-March 09
  • Reputation: 54
  • Gender:Male
  • Location:Dreamland
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 09 April 2009 - 12:35 PM

TBH = To Be Honest
0

#9 User is offline   traxor 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,978
  • Joined: 04-September 08
  • Reputation: 106
  • Gender:Male
  • Location:United Kingdom
  • Experience:Web Guru
  • Area of Expertise:Web Designer

Posted 09 April 2009 - 01:33 PM

You can use _blank, but make sure you only use it under transitional XHTML, it's not strict XHTML.

There is a javascript workaround, however.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users