Log In · Register

 
 
Closed TopicStart new topic
My links won't listen to me, This is for a different site!
struckk
post Jul 28 2006, 02:11 PM
Post #1


&&i'm.sorry.
***

Group: Member
Posts: 60
Joined: Dec 2005
Member No: 333,237



Okay, I was having website trouble before on my other site, but now I'm having trouble on another site of mine.

Magic Minds

If you click on the 'Test Link' in the navigation area, it opens a new window, but I don't want that. In the code, I included target="main" but it still won't open in the area where my news/updates are. I was wondering if I could have help with figuring out how to make it like that?

My other question is how, in my image map, to make one of the links open in a new window. If you click on "Forums" it opens in the tiny space which is my "main.html". When I put the link it, I for sure included target="new" but it just won't open in a new window.

If anyone can help me with either or both questions, that would be wonderful!

I can provide codes if you need _smile.gif
 
*mipadi*
post Jul 28 2006, 02:24 PM
Post #2





Guest






QUOTE(shaken_serenityx3 @ Jul 28 2006, 3:11 PM) *
If you click on the 'Test Link' in the navigation area, it opens a new window, but I don't want that. In the code, I included target="main" but it still won't open in the area where my news/updates are. I was wondering if I could have help with figuring out how to make it like that?

You have to name your <iframe> "main". In <iframe>, where it says name=here, change it to name="main".

QUOTE(shaken_serenityx3 @ Jul 28 2006, 3:11 PM) *
My other question is how, in my image map, to make one of the links open in a new window. If you click on "Forums" it opens in the tiny space which is my "main.html". When I put the link it, I for sure included target="new" but it just won't open in a new window.

To make links open in a new window, use target="_blank".
 
struckk
post Jul 28 2006, 03:29 PM
Post #3


&&i'm.sorry.
***

Group: Member
Posts: 60
Joined: Dec 2005
Member No: 333,237



Oh! Thank you SO much! You were the biggest help ever! :D

EDIT: Uh oh, wait, now all of the links in my image map open a new window. I just wanted the "forums" link to.
 
freeflow
post Jul 29 2006, 12:53 AM
Post #4


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Only add the target blank feature for that link then.
 
struckk
post Jul 29 2006, 03:53 AM
Post #5


&&i'm.sorry.
***

Group: Member
Posts: 60
Joined: Dec 2005
Member No: 333,237



I did, but it still opens all of them in a new window.

Here's a snippet from the code where the coordinates and links are:

CODE
<MAP name=Map><AREA shape=RECT target=here coords=40,265,100,400
  href="main.html"><AREA shape=RECT target=here
  coords=113,273,155,500
  href="http://z3.invisionfree.com/magic_minds/index.php" target="_blank"><AREA shape=RECT
  target=here coords=180,273,300,500
  href="site.html"></MAP>
 
freeflow
post Jul 29 2006, 01:03 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



QUOTE
You have to name your <iframe> "main". In <iframe>, where it says name=here, change it to name="main".


You didn't do that. Or you can change target=here to target=main . or target=self .
 
struckk
post Jul 29 2006, 02:43 PM
Post #7


&&i'm.sorry.
***

Group: Member
Posts: 60
Joined: Dec 2005
Member No: 333,237



blink.gif I could've sworn that I did. Maybe I forgot to save it *thwacks self*

But thank you SO much for both of your help happy.gif
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: