What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » HTML Help

HTML Help
Author: Message:
Dan0208
Full Member
***

Avatar

Posts: 193
Reputation: 6
37 / Male / –
Joined: Dec 2003
O.P. HTML Help
Hey,
A Friend has been trying to get me into myspace cos she thinks i would like it but i really didnt have the time to set it all up. She took it upon herself to create  an account for me for my website so that people that are interested in photography, bodyboarding, surfing etc would visit my site.
Anyway i decided to have a look and i wanted to put an image in with various links on it. Myspace allows html so I have tried to get it working with image mapping however i am having some difficulty. Would someone be able to have a look at my code and work out whats going wrong or does myspace just not allow this in the first place?

Thanks
code:
<img src="http://www.wetpix.ceejaycee.net/myspace/Mainnavcopy.png" usemap="..mymap" width="470" height="516" alt="WetPix Navigation" border="0">
<map name="mymap">
<area shape="rect" coords="43,47 424,120" href="http://www.WetPix.tk" alt="Click Here To View WetPix">
<area shape="rect" coords="103,135 367,160" href="http://www.wetpix.ceejaycee.net/Riders.htm" alt="Click Here To View Rider Profiles">
<area shape="rect" coords="83,181 390,206" href="http://www.wetpix.ceejaycee.net/OldPhotos.htm" alt="Click Here To View The Old Photo Gallery">
<area shape="rect" coords="82,226 387,254" href="http://www.wetpix.ceejaycee.net/galleryfiles2/" alt="Click Here To View The New Photo Gallery">
</map>


When i preview it, it displays the image and recognises it as a link in firefox because the link cursor hand appears over it however the whole image is a link yet it doesnt lead anywhere. Down the bottom in the status bar it doesnt show that the link points to anywhere and clicking doesnt do anything. Also in IE it doesnt recognise as a link at all.

EDIT: sorry left some code out one sec...

EDIT2: Nevermind when i was pasting my code correction into this post i noticed this bit --> "..mymap" when it should be "mymap" stupid mistake

On another note can someone tell me where about I put the target _blank code in for each link

This post was edited on 11-04-2005 at 12:56 AM by Dan0208.
[Image: wetpix%20sig.png]
11-04-2005 12:49 AM
Profile E-Mail PM Web Find Quote Report
thc2010
Full Member
***

Avatar
Revenge is a meal best served cold

Posts: 232
Reputation: 2
37 / Male / –
Joined: Oct 2004
RE: HTML Help
lol ill ask my webdev teacher when no body answers within 11 hrs
[Image: glennlopez.png]
Click the image above to send me a message on MSN messenger via web browser.
11-04-2005 01:20 AM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: HTML Help
quote:
Originally posted by Dan0208
When i preview it, it displays the image and recognises it as a link in firefox because the link cursor hand appears over it however the whole image is a link yet it doesnt lead anywhere. Down the bottom in the status bar it doesnt show that the link points to anywhere and clicking doesnt do anything. Also in IE it doesnt recognise as a link at all.

I'm not fully sure if href works there. try onclick="window.location.href='http://wherever'" instead.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-04-2005 01:22 AM
Profile PM Web Find Quote Report
Dan0208
Full Member
***

Avatar

Posts: 193
Reputation: 6
37 / Male / –
Joined: Dec 2003
O.P. RE: HTML Help
I have got it working fine in Firefox using the code in my original post however internet explorer still doesnt even detect there to be a link there at all.
[Image: wetpix%20sig.png]
11-04-2005 03:59 AM
Profile E-Mail PM Web Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: HTML Help
target="_blank" anywhere inside your <a> tag.
dont know if it works with areas but it would go like thise.

<area shape="rect" coords="83,181 390,206" href="http://www.wetpix.ceejaycee.net/OldPhotos.htm" alt="Click Here To View The Old Photo Gallery" target="_blank">
[Image: jeansiger5.jpg]
11-04-2005 04:08 AM
Profile PM Find Quote Report
Dan0208
Full Member
***

Avatar

Posts: 193
Reputation: 6
37 / Male / –
Joined: Dec 2003
O.P. RE: HTML Help
Thanks for your help Ash.
Any idea why this works fine in Firefox but doesnt even show up as a link in IE.
Its really annoying because the majority of people that are looking at it are using IE so its not working for them.
[Image: wetpix%20sig.png]
11-04-2005 04:17 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On