Log In · Register

 
Help With Manipulating This Code Plz, I tried for hours T_T
Heartless Hero
post Jun 6 2006, 09:47 PM
Post #1


Freelance Graphic Designer
***

Group: Member
Posts: 98
Joined: May 2006
Member No: 415,447



Hey guys

I made this layout on PS and IR CS2 and then i mapped and did some roll overs, this is my first time using it all the way, but i wanted to know if you guys could help me out with this outcome code:

CODE
<html>
<head>
<title>DIV NEW</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Preload Script (DIV NEW.psd) -->
<script type="text/javascript">
<!--

function newImage(arg) {
    if (document.images) {
        rslt = new Image();
        rslt.src = arg;
        return rslt;
    }
}

function changeImages() {
    if (document.images && (preloadFlag == true)) {
        for (var i=0; i<changeImages.arguments.length; i+=2) {
            document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
        }
    }
}

var preloadFlag = false;
function preloadImages() {
    if (document.images) {
        DIV_NEW_03_over = newImage("images/DIV-NEW_03-over.gif");
        DIV_NEW_05_over = newImage("images/DIV-NEW_05-over.gif");
        DIV_NEW_07_over = newImage("images/DIV-NEW_07-over.gif");
        DIV_NEW_09_over = newImage("images/DIV-NEW_09-over.gif");
        DIV_NEW_11_over = newImage("images/DIV-NEW_11-over.gif");
        preloadFlag = true;
    }
}

// -->
</script>
<!-- End Preload Script -->
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages();">
<!-- ImageReady Slices (DIV NEW.psd) -->
<table id="Table_01" width="800" height="600" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="11">
            <img src="images/DIV-NEW_01.gif" width="800" height="110" alt=""></td>
    </tr>
    <tr>
        <td rowspan="2">
            <img src="images/DIV-NEW_02.gif" width="100" height="490" alt=""></td>
        <td>
            <a href="http://home.myspace.com/index.cfm?fuseaction=user&MyToken=7f4d1ae1-1e8e-40e1-8cb5-e47dcf0143a7"
                onmouseover="changeImages('DIV_NEW_03', 'images/DIV-NEW_03-over.gif'); return true;"
                onmouseout="changeImages('DIV_NEW_03', 'images/DIV-NEW_03.gif'); return true;"
                onmousedown="changeImages('DIV_NEW_03', 'images/DIV-NEW_03-over.gif'); return true;"
                onmouseup="changeImages('DIV_NEW_03', 'images/DIV-NEW_03-over.gif'); return true;">
                <img name="DIV_NEW_03" src="images/DIV-NEW_03.gif" width="118" height="48" border="0" alt="" usemap="#DIV_NEW_03_Map"></a></td>
        <td rowspan="2">
            <img src="images/DIV-NEW_04.gif" width="2" height="490" alt=""></td>
        <td>
            <a href="http://tyralgol.notlong.com"
                onmouseover="changeImages('DIV_NEW_05', 'images/DIV-NEW_05-over.gif'); return true;"
                onmouseout="changeImages('DIV_NEW_05', 'images/DIV-NEW_05.gif'); return true;"
                onmousedown="changeImages('DIV_NEW_05', 'images/DIV-NEW_05-over.gif'); return true;"
                onmouseup="changeImages('DIV_NEW_05', 'images/DIV-NEW_05-over.gif'); return true;">
                <img name="DIV_NEW_05" src="images/DIV-NEW_05.gif" width="118" height="48" border="0" alt="" usemap="#DIV_NEW_05_Map"></a></td>
        <td rowspan="2">
            <img src="images/DIV-NEW_06.gif" width="2" height="490" alt=""></td>
        <td>
            <a href="http://mail1.myspace.com/index.cfm?fuseaction=mail.message&friendID=24953508&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2"
                onmouseover="changeImages('DIV_NEW_07', 'images/DIV-NEW_07-over.gif'); return true;"
                onmouseout="changeImages('DIV_NEW_07', 'images/DIV-NEW_07.gif'); return true;"
                onmousedown="changeImages('DIV_NEW_07', 'images/DIV-NEW_07-over.gif'); return true;"
                onmouseup="changeImages('DIV_NEW_07', 'images/DIV-NEW_07-over.gif'); return true;">
                <img name="DIV_NEW_07" src="images/DIV-NEW_07.gif" width="117" height="48" border="0" alt="" usemap="#DIV_NEW_07_Map"></a></td>
        <td rowspan="2">
            <img src="images/DIV-NEW_08.gif" width="3" height="490" alt=""></td>
        <td>
            <a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=24953508&friendName=Heartless%20Hero&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2"
                onmouseover="changeImages('DIV_NEW_09', 'images/DIV-NEW_09-over.gif'); return true;"
                onmouseout="changeImages('DIV_NEW_09', 'images/DIV-NEW_09.gif'); return true;"
                onmousedown="changeImages('DIV_NEW_09', 'images/DIV-NEW_09-over.gif'); return true;"
                onmouseup="changeImages('DIV_NEW_09', 'images/DIV-NEW_09-over.gif'); return true;">
                <img name="DIV_NEW_09" src="images/DIV-NEW_09.gif" width="118" height="48" border="0" alt="" usemap="#DIV_NEW_09_Map"></a></td>
        <td rowspan="2">
            <img src="images/DIV-NEW_10.gif" width="2" height="490" alt=""></td>
        <td>
            <a href="http://hearshotdesigns.carbonmade.com/"
                onmouseover="changeImages('DIV_NEW_11', 'images/DIV-NEW_11-over.gif'); return true;"
                onmouseout="changeImages('DIV_NEW_11', 'images/DIV-NEW_11.gif'); return true;"
                onmousedown="changeImages('DIV_NEW_11', 'images/DIV-NEW_11-over.gif'); return true;"
                onmouseup="changeImages('DIV_NEW_11', 'images/DIV-NEW_11-over.gif'); return true;">
                <img name="DIV_NEW_11" src="images/DIV-NEW_11.gif" width="118" height="48" border="0" alt="" usemap="#DIV_NEW_11_Map"></a></td>
        <td rowspan="2">
            <img src="images/DIV-NEW_12.gif" width="102" height="490" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/DIV-NEW_13.gif" width="118" height="442" alt=""></td>
        <td>
            <img src="images/DIV-NEW_14.gif" width="118" height="442" alt=""></td>
        <td>
            <img src="images/DIV-NEW_15.gif" width="117" height="442" alt=""></td>
        <td>
            <img src="images/DIV-NEW_16.gif" width="118" height="442" alt=""></td>
        <td>
            <img src="images/DIV-NEW_17.gif" width="118" height="442" alt=""></td>
    </tr>
</table>
<map name="DIV_NEW_03_Map">
<area shape="rect" alt="" coords="0,0,117,48" href="http://home.myspace.com/index.cfm?fuseaction=user&MyToken=7f4d1ae1-1e8e-40e1-8cb5-e47dcf0143a7">
<area shape="rect" alt="" coords="0,0,118,48" href="http://home.myspace.com/index.cfm?fuseaction=user&MyToken=7f4d1ae1-1e8e-40e1-8cb5-e47dcf0143a7">
</map>
<map name="DIV_NEW_05_Map">
<area shape="rect" alt="" coords="0,0,117,47" href="http://tyralgol.notlong.com">
<area shape="rect" alt="" coords="0,0,118,48" href="http://tyralgol.notlong.com">
</map>
<map name="DIV_NEW_07_Map">
<area shape="rect" alt="" coords="0,0,117,47" href="http://mail1.myspace.com/index.cfm?fuseaction=mail.message&friendID=24953508&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2">
<area shape="rect" alt="" coords="0,0,117,48" href="http://mail1.myspace.com/index.cfm?fuseaction=mail.message&friendID=24953508&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2">
</map>
<map name="DIV_NEW_09_Map">
<area shape="rect" alt="" coords="0,0,117,46" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=24953508&friendName=Heartless%20Hero&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2">
<area shape="rect" alt="" coords="0,0,118,48" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=24953508&friendName=Heartless%20Hero&Mytoken=25622777-4693-47cd-8ace-8b8564cf2fe2">
</map>
<map name="DIV_NEW_11_Map">
<area shape="rect" alt="" coords="0,0,117,47" href="http://hearshotdesigns.carbonmade.com/">
<area shape="rect" alt="" coords="0,0,118,48" href="http://hearshotdesigns.carbonmade.com/">
</map>
<!-- End ImageReady Slices -->
</body>
</html>


do any of you guys know what i have to edit in that code in order to use it on myspace?

Thanks in advance <3
 
 
Start new topic
Replies (1 - 1)
*This Confession*
post Jun 6 2006, 10:27 PM
Post #2





Guest






its fine?

the images aren't there though
 

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