spoot Posted June 24, 2004 Posted June 24, 2004 http://www.pearlseacompany.com I started with the design before I picked out a back-end software. Maybe this was asking for trouble, but osCommerce has been great. Contributions used: Easy Populate Master Products - MS2 Product Listing in Columns Automatic Thumbnail Creator v1.0 Country-State Selector Category Descriptions MS2 1.4 Geotrust/SkipJack Payment Module FedEx Real Time Quotes - Michael
shayrgob Posted June 24, 2004 Posted June 24, 2004 ver nice! how did u go about doing the top labels. I cant seem to figure that out.
savassahin Posted June 24, 2004 Posted June 24, 2004 very good design. top level buttons slow loading. Savas
Rob123 Posted June 24, 2004 Posted June 24, 2004 Very nice, professional looking site and easy to navigate. Do you intent to feature additional products? If so, perhaps a search box should be added. I had no problems with speed (perhaps because I use a broadband connection.) Robert
Guest Posted June 24, 2004 Posted June 24, 2004 Nice tidy design. I reckon you should do something to draw attention to the "view my account" link, it may be easily overlooked as it is.
spoot Posted June 24, 2004 Author Posted June 24, 2004 Thanks for the comments & kind words. The rollover tabs on top were kind of a pain, and I'm not sure if I've done them the best way possible. They're all in header.php. I've added an additional "tab" variable to the url, and header.php looks for this variable. Each tab has an id number, and if the tab URL variable = tabID, then that tab is "active." The tabs which go to product categories are numbered after those categories; the tabs which go to other places (contact page etc.) I've numbered myself. // array of all tabs $tabs = array(21,23,29,5,3,6); // array of category tabs $cat = array(21,23,29); // get tab variable so mouseovers will work correctly $passed_tab = $_GET['tab']; // if ($cPath != '23_26') { // $r = explode("_",$cPath); // $current = $r[0]; // } foreach ($tabs as $tab) { if (in_array($tab,$cat)) { $cPath_new = 'cPath='.$tab; $link = tep_href_link(FILENAME_DEFAULT, $cPath_new); $link = $link . '&tab=' . $tab; } elseif ($tab==3){ $link = tep_href_link(FILENAME_SHIPPING); $link = $link . '?tab=' . $tab; } elseif ($tab==5){ $link = tep_href_link(FILENAME_SALES); $link = $link . '?tab=' . $tab; } elseif ($tab==6){ $link = tep_href_link(FILENAME_CONTACT_US); $link = $link . '?tab=' . $tab; } if (($cPath==$tab) or ($passed_tab==$tab)) { echo '<td class="tab"><a href="'.$link.'"><img src="images/tab'.$tab.'On.gif" border="0" alt=""/></a></td>'; } elseif ($current!=$tab) { $cPath_new = 'cPath='.$tab; echo '<td class="tab"><a href="'.$link.'" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'tab'.$tab.'\',\'\',\'images/tab'.$tab.'On.gif\',1)"><img name="tab'.$tab.'" src="images/tab'.$tab.'.gif" border="0" alt=""/></a></td>'; } } The javascript for the mouseovers is in a separate file: //////////IMAGE MOUSE OVERS function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } I had a search field in there originally, but the client didn't seem to excited about it so I took it out for the sake of simplicity. It may find its way back in at some point. I agree about the "view my account" link - I do want to make it more substantial, but w/o cluttering things up. It was sort of an afterthought, & should be addressed.
Guest Posted September 18, 2004 Posted September 18, 2004 lovely site.... Just thought I'd suggest perhaps centering it on the page - just to add that extra bit of class.... (well done on a great site!)
Me:L:o[] Posted September 20, 2004 Posted September 20, 2004 Looks good!!!!!!!!!!!! Osiedle Zielona Dolina |
Recommended Posts
Archived
This topic is now archived and is closed to further replies.