Log In · Register

 
Image slicing + html problem
visionzstyle
post Mar 23 2007, 07:52 PM
Post #1


Senior Member
***

Group: Member
Posts: 35
Joined: Jan 2007
Member No: 492,619



Alright im pretty terrible @ html so i need some help laugh.gif

before i begin my problem deals with an html image with slicing and myspace

im having a problem posting up an html i made of an image that contains slices. This image was made so once clicked, it would go to a webpage. However, the only way it worked was if it was saved as an .html. Now everytime I try to open it with dreamweaver it would show the html code but when i paste it onto my myspace it will fill in some values of the code to ...

Heres my code:

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

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

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

// -->
</script>
<!-- End Preload Script -->
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Blur jmzy.psd) -->
<a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=10313789"
    onmouseover="changeImages('Blur_jmzy_01', 'images/Blur-jmzy_01-over.gif'); return true;"
    onmouseout="changeImages('Blur_jmzy_01', 'images/Blur-jmzy_01.gif'); return true;"
    onmousedown="changeImages('Blur_jmzy_01', 'images/Blur-jmzy_01-over.gif'); return true;"
    onmouseup="changeImages('Blur_jmzy_01', 'images/Blur-jmzy_01-over.gif'); return true;">
    <img name="Blur_jmzy_01" src="images/Blur-jmzy_01.gif" width="400" height="200" border="0" alt=""></a>
<!-- End ImageReady Slices -->
</body>
</html>
 
 
Start new topic
Replies
Relentless
post Mar 23 2007, 09:17 PM
Post #2


sang loves hayden.
*******

Group: Staff Alumni
Posts: 3,373
Joined: Feb 2004
Member No: 5,687



Don't USE dreamweaver. Dreamweaver coding doesnt work well with myspace.

Here's what you should do:

Go to a notepad/wordpad program in ur programs.
File -> Open -> Find the .HTML file and open it.

That's the code you should use for image slicing. Upload all the necessary images and put them in the code. Take the code and put it on you're myspace in a div. (=
 

Posts in this topic


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