Hallo Ihr php Profis,
ich kenne mich ganz gut in html aus, in php bin ich aber nicht wirklich fitt.
Ich habe jetzt etwas in html gebastelt, das soll aber in einen OsCommerce Shop integriert werden. Dazu muss es also am besten in php "umgewandelt" werden. Ich denke mal einfach wird das nicht, bin aber sehr wissbegierig. Ich freue mich über Denkanstöße und Hilfestellungen.
Hier erstmal das was ich mir vorgestellt habe:
http://www.shirt-bude.de/shop/SpryAssets/test1.htm
Es soll also eine Spry-Menüleiste integriert werden, bei der sich ein Bild ändert wenn man auf eine Farbe klickt.
In html sieht das so aus:
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="180"><span class="big-img-wrappe Stil1"><img src="http://www.shirt-bude.de/shop/SpryAssets/10001_ash.jpg" name="bild700" border="0" id="bild700" /></span><span class="Stil1"> </span></td>
<td width="10"> </td>
</tr>
<tr>
<td width="10"> </td>
<td width="180"> </td>
<td width="10"> </td>
</tr>
<tr>
<td width="10"> </td>
<td width="180" align="center" valign="middle"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" >Farben</a>
<ul id="ColorBarEntries">
<li onclick="MM_swapImage('bild700','','http://www.shirt-bude.de/shop/SpryAssets/10001_ash.jpg',1)" name="choose-product-color"><a> <img src="http://www.shirt-bude.de/shop/SpryAssets/251.gif" alt="" width="13" height="13" /> ash</a></li>
<li><a>pink sixties</a></li>
<li><a class="MenuBarItemSubmenu" href="#" rel="track[action:color]" onclick="return setColor(250);" id="colorEntry250"><span class="color-icon">
<img src="http://image.spreadshirt.net/image-server/image/color/250" /></span> <span class="color-info-label">eigelb</span></a></li>
<li onclick="MM_swapImage('bild700','','http://www.shirt-bude.de/shop/SpryAssets/10001_kellygreen.jpg',1)"><a>kelly green</a></li>
<li onclick="MM_swapImage('bild700','','http://www.shirt-bude.de/shop/SpryAssets/10001_natural.jpg',1)"><a>natural</a></li>
<li onclick="MM_swapImage('bild700','','http://www.shirt-bude.de/shop/SpryAssets/10001_sorbet.jpg',1)"><a>sorbet</a></li>
</ul>
</li>
</ul>
<div align="center"></div>
<div align="center"></div></td>
<td width="10"> </td>
</tr>
</table>
<br>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
Hat jemand eine Ahnung wie ich da jetzt vorgehe um das in php zu bekommen?
Schöne Grüße
Heiko