Jump to content

Archived

This topic is now archived and is closed to further replies.

kristalys

Links in PHP/Dreamweaver

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.