Jump to content


Photo

Links in PHP/Dreamweaver


  • Please log in to reply
2 replies to this topic

#1 kristalys

kristalys
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 March 2006 - 01:41 AM

hi all - i'm new to this site - and i just got involved with PHP/dreamweaver. i've been browsing this site and i must say it's very helpful :) love it!
anyway, quick question -

i am trying to have a link open up a page within a target area called "_self" however i am having problems having the link of the new page contained inside this area - it just wants to open up on the whole page. here is a likeness to my code, i've read several other posts similar but haven't exactly gotten this to work...

<a href="http://www.yahoo.com" target="_self">yahoo</a>

this line works with my other links that are to *.php pages... such as...

<A href="index.php?id_menu=os" target="_self">OS</A>

any suggestions? comments? would be greatly appreciated.
thanks!

~k.

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 30 March 2006 - 03:29 AM

What's your DOCTYPE? If you're using XHTML, then it won't work, becuase that attribute isn't specified as part of the XHTML spec.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 erax

erax
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 30 March 2006 - 12:15 PM

Hey Kris i think _SELF is kinda reserved html tag .May be you should try and reanme your _SELF to some other name ;)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users