Log In · Register

 
 
Closed TopicStart new topic
image map aligned left, ;___;
azur3skye
post Oct 3 2004, 08:37 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Oct 2004
Member No: 53,405



Is it possible to align an image-mapped image to the RIGHT (whoops, not left)? When I try, the image will end up aligned to the left, but not the top, and the links don't link. I've also tried the ad-removal code thing...and nothing can go above it after i remove it because some kind of table is left behind. O___o does that make sense? If it does, can someone possibly help me please? wacko.gif
 
avalon*
post Oct 3 2004, 08:42 PM
Post #2


NO. I'm not 13. or 14. or 15. or 16.
*******

Group: Member
Posts: 4,616
Joined: Jul 2004
Member No: 30,577



you need to stick your image in a div layer. you know how the image map has the img src part in it? well separate that from the rest of the image map code. the order of codes would be like this

image map part 1
image div
image map source
close the div
 
azur3skye
post Oct 3 2004, 08:49 PM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Oct 2004
Member No: 53,405



QUOTE
<div align=right><div style="position:static; margin-right:-10px;margin-top: 450px>
<!-- begin code provided by createblog.com -->
<MAP NAME="alicia">
<AREA SHAPE="rect" COORDS="389,7,461,48" HREF="http://www.xanga.com/">
<AREA SHAPE="rect" COORDS="356,50,464,87" HREF="http://www.xanga.com/private/SubscribeTo.aspx?user=m1dg3tized">
<AREA SHAPE="rect" COORDS="373,89,463,126" HREF="http://www.xanga.com/private/">
<AREA SHAPE="rect" COORDS="406,128,463,165" HREF="http://www.xanga.com/CLAF/default.asp">
<AREA SHAPE="rect" COORDS="427,166,463,205" HREF="http://www.xanga.com/login.aspx">
<AREA SHAPE="rect" COORDS="415,207,462,245" HREF="http://www.xanga.com/logout.aspx">
</MAP>

<IMG SRC='http://www.webpost.net/m1/m1dg3tized/alicia.jpg'border=0 width=465 height=585 USEMAP='#alicia'>


..is what I have right now. There is something wrong with it, but I'm not sure what. When I put this code, the whole image dissapears.
 
avalon*
post Oct 4 2004, 12:45 PM
Post #4


NO. I'm not 13. or 14. or 15. or 16.
*******

Group: Member
Posts: 4,616
Joined: Jul 2004
Member No: 30,577



i rearranged it for you..try this, it should work. =)

CODEBOX: -> right click -> copy/paste
 
azur3skye
post Oct 4 2004, 05:06 PM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Oct 2004
Member No: 53,405



Ahhh. thank you! I tried it, but the table that holds the xanga ad is still there, and nothing moves above it. =\
 
avalon*
post Oct 4 2004, 05:22 PM
Post #6


NO. I'm not 13. or 14. or 15. or 16.
*******

Group: Member
Posts: 4,616
Joined: Jul 2004
Member No: 30,577



hmm. can i see an example?
 
shortvi3tlaydee
post Oct 4 2004, 06:01 PM
Post #7


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



u can use the ad mover to put it below the image with the ad mover located in xanga scripts happy.gif we do not support ad remover tho
 
addixon
post Jan 25 2005, 01:32 AM
Post #8


Newbie
*

Group: Member
Posts: 2
Joined: Jan 2005
Member No: 90,261



I was searching for a way to remove the ad at the top of the Xanga pages and I came across this message board. I failed to find any existing code to remove the ad at the top, so I worked to create my own.

Xanga has (as far as I can tell) specified the spacing at the top that is allocated for the banner and that cannot be changed. However, the ad is contained within a DIV tag, and DIV tags are accessible through Javascript. So: As long as you do not change the contents to an image taller than a certain height, and/or text that goes beyond a certain point, this script can work for you. Simply copy and paste the script into the "Header" text-area in your Xanga Look & Feel page.

HTML
<script>

/*
* Script Author: Adam D. Dixon
* Script Date: 01.25.2005
* Homepage: [url="http://addixon.homeip.net"]http://addixon.homeip.net[/url]
*/


/*== Edit This Variable To Reflect What You Want Shown ==*/
var replacementHTML = "If everything worked correctly, this text should have taken the place of the Xanga advertisement that was always at the top of the page. In place of this text, you can put images, scripts, etc. and it will show up instead of the default Xanga banner.<br><br>If you have any comments or suggestions, please e-mail me at: addixon@gmail.com<br>Thank you.";


/*================ Do Not Edit Below This Point ===============*/
if (window.attachEvent)
window.attachEvent("onload", killBanner);
else
window.onload=killBanner;


function killBanner() {
if (document.getElementsByTagName) {
var tagElements = document.getElementsByTagName('html')[0].getElementsByTagName('div');
tagElements[tagElements.length-1].innerHTML=replacementHTML;
}
}

</SCRIPT>
 
largosama
post Jan 25 2005, 01:45 PM
Post #9


Happy Person
******

Group: Member
Posts: 1,729
Joined: Feb 2004
Member No: 4,674



don't you have to close the div tag?
 
addixon
post Jan 25 2005, 05:02 PM
Post #10


Newbie
*

Group: Member
Posts: 2
Joined: Jan 2005
Member No: 90,261



I'm not opening any DIV tags. All the getElementByTagName does is index all the tags with the sent arguments into an array. The Xanga ad is the last DIV placed on the page, thus causing it to be the last index in the array.

Using that information, I then knew which one to replace the contents of.
 
largosama
post Jan 25 2005, 05:42 PM
Post #11


Happy Person
******

Group: Member
Posts: 1,729
Joined: Feb 2004
Member No: 4,674



devious ... seems to use less ram than the current one too
 

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