targets not working

windows

Guest
Help! I'm fairly much a novice (less than 3 years) and my html targets don't appear to be working. I have set up a page with two frames and THOUGHT I had my html source entered corrected to open any clicked links in one frame (A) in the second frame (B). Instead, an entire new browser window pops up along with my original window. I have the target as B, which is the frame I want the page to load in. Here is an example of what it looks like. Can anyone help here?:confused: <br />
sample: <br />
<br />
<p><b><u><b><u><a href=http://www.htmlforums.com/archive/index.php/"http://home.anywhere.net/%7EMyHouse/tribute.html" target="B">tribute to those lost on 9/11<br></a></u></b></u></b></p><!--content-->try target="_B";<!--content-->Thanks for the suggestion, but that didn't work either. Had no effect.<!--content-->could you post all the pages that deal with this problem so that i could look at them(two frames pages and tribute)?<!--content-->Okay Mikeyp, it's in the "for review" section. Thanks for your time!:)<!--content-->a little background on the target attribute of the href tag. If no frame or window with the alleged name ("B" in this case) is present, then a new window (which will be named "B") is opened when using the code: <a href=http://www.htmlforums.com/archive/index.php/"blah.htm" target="B">click</a> <br />
<br />
Mikey: the _blank, _self, _top are the only reserved words for the target attribute. You need not add a underscore to any of your targets unless you name them that way... but I discourage this as it is confusing with the reserved words. <br />
<br />
To solve this problem, we only need to see your FRAMESET code, and we can determine what you have named your frames. Then, it will all fall into place. Can you post the frameset code?<br />
<br />
Thanks!<!--content-->Hmmm, dummy trying to process request, please be patient......okay, if you are refering to what I believe is the html for the framesets in my actual main (opening) page index document, it is:<br />
<br />
<frameset cols="18%,82%"><br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"nav.html" target="A"><br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"home.html" target="B"><br />
<noframes><br />
<body><br />
&nbsp;<br />
</body><br />
</noframes><br />
</frameset><br />
</html><br />
<br />
Is this what you're looking for?<!--content-->oh this is easy to fix<br />
<br />
change this:<br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"nav.html" target="A"><br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"home.html" target="B"><br />
<br />
to this:<br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"nav.html" name="A"><br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"home.html" name="B"><!--content-->do I need to change "target" to "name" in the html code on the "nav" document as well? Because just doing that on the index document didn't produce anything :doh:<!--content-->no just the actual main page.<!--content-->oh well, thanks for trying anyway!<!--content-->i got it to work<br />
<br />
change:<br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"nav.html" name="A"><br />
<frame NAME SRC=http://www.htmlforums.com/archive/index.php/"home.html" name="B"><br />
<br />
to:<br />
<br />
<frame SRC=http://www.htmlforums.com/archive/index.php/"nav.html" name="A"><br />
<frame SRC=http://www.htmlforums.com/archive/index.php/"home.html" name="B"><br />
<br />
<br />
Also in your nav page change:<br />
<p><b><u><b><u><a<br />
href=http://www.htmlforums.com/archive/index.php/"http://home.earthlink.net/%7Emimosahouse/tribute.html" target="_B">tribute<br />
to those lost on 9/11<br><br />
</a></u></b></u></b></p><br />
<br />
to:<br />
<p><b><u><b><u><a<br />
href=http://www.htmlforums.com/archive/index.php/"http://home.earthlink.net/%7Emimosahouse/tribute.html" target="B">tribute<br />
to those lost on 9/11<br><br />
</a></u></b></u></b></p><!--content-->Eureka! Got it! Thanks so much!<br />
<!-- m --><a class="postlink" href="http://http://home.earthlink.net/~mimosahouse/vba8822.gif">http://http://home.earthlink.net/~mimos ... ba8822.gif</a><!-- m --><!--content-->your welcome! and anytime you need help just come back!<!--content-->
 
Back
Top