overriding problem: target=_self instead of target=main (in iframe)

liunx

Guest
Okay here's the problem. From one moment to another (read: I don't think I've made a significant change to one of my html pages), the navigation on my page got totally screwed up.<br />
In my html the links have always had the attribute target=main (main is an iframe) and it used to work perfectly. But suddenly the links open in the complete window, instead of the specified iframe.<br />
<br />
I haven't found out what the problem is, but here's an interesting fact that might ring a bell with experts: the problem only occurs when using my redirect-url (like eg. <!-- w --><a class="postlink" href="http://www.supastar.com">www.supastar.com</a><!-- w -->), but not when I access the actual locations (something like <!-- w --><a class="postlink" href="http://www.geocities.com/~supastar/website/index.htm">www.geocities.com/~supastar/website/index.htm</a><!-- w -->) How odd!!<br />
<br />
Well, I sure hope some of you can help me out, because now I have to use a bloody pop-up to hide the ultra-long URL from my visitor's eyes. Thanks in advance!<!--content-->welcome to the forums basementjack, :)<br />
<br />
do you have a page or some code to look at so we can help you?<!--content-->Well, hello there! ;)<br />
<br />
<!-- m --><a class="postlink" href="http://dwergs.studentenweb.org/index2.htm">http://dwergs.studentenweb.org/index2.htm</a><!-- m --> <br />
<br />
- loads menu.htm in the left table/iframe<br />
- loads inews.htm in the right table/iframe<br />
<br />
Like I said, it works fine from the actual URL (the one above), but it doesn't when I redirect <!-- m --><a class="postlink" href="http://www.mess.be">http://www.mess.be</a><!-- m --> to that same location. HOWEVER, <!-- w --><a class="postlink" href="http://WWW.MESS.BE">WWW.MESS.BE</a><!-- w --> doesn't redirect to the url above page right now, because I have a fair amount of visitors and I wouldn't like to expose them to the problem.<!--content-->works fine for me on both urls<!--content-->YUP, that's because I've temporary solved the problem by redirecting to the actual URL, without using the <!-- w --><a class="postlink" href="http://www.mess.be">www.mess.be</a><!-- w --> cloak! But when I cloak it with <!-- w --><a class="postlink" href="http://www.mess.be">www.mess.be</a><!-- w -->, it doesn't work.<!--content-->well without seeing the menu.htm file it is hard to see the problem.<!--content-->I'm sorry.<br />
<br />
it's <!-- m --><a class="postlink" href="http://dwergs.studentenweb.org/menu.htm">http://dwergs.studentenweb.org/menu.htm</a><!-- m -->, right click and save as..<br />
<br />
or just view the source now, i've disabled the right-mouse click.<!--content-->the rigth click wasn't the problem. when you go to that page it redirects you to the main site. anyway try putting " around the main.<br />
<br />
target="main"<br />
<br />
and also I noticed that you have 2 </head> tags in the index.htm file and only 1 <head><!--content-->removed the second </head>, no change<br />
replace all target=main attributes with target="main", no change :(<br />
<br />
(modified html is <!-- m --><a class="postlink" href="http://dwergs.studentenweb.org/index3.htm">http://dwergs.studentenweb.org/index3.htm</a><!-- m -->, in which I integrated menu.htm because I thought it had something to do with iframes addressing each other, sadly, again, no change)<!--content-->strange, everything looks ok and looks like it should work. maybe it is an iframe problem. not sure as I don't work with iframes much since Netscape doesn't show them.<!--content-->even with just this code, it doesn't work!<br />
<br />
<html><br />
<head><br />
<title>www.mess.be</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head><br />
<body bgcolor="#FFFFFF" text="#000000"><br />
<a href=http://www.htmlforums.com/archive/index.php/"iemot.htm" target="main">emoticon</a><br />
<iframe name="main" marginwidth=1 marginheight=5 src=http://www.htmlforums.com/archive/index.php/"inews.htm" frameborder=0 noResize width=490 height=400></iframe><br />
</body><br />
</html><!--content-->
 
Back
Top