netready Posted November 30, 2003 Posted November 30, 2003 One the top right corner, there are 3 images namely, my acct, cart content and checkout. I want to replace them by my own graphics. I know I can just made the new graphics the same name as the old ones and overwrite the old ones. However, the size of the new graphic is bigger than the old one. May I know where can I re-define the image size pls? Thanks
Guest Posted November 30, 2003 Posted November 30, 2003 In my copy of MS2, there is no size specified in the tep_image call in includes/header.php, so it should show them as whatever size you upload. Hth, Matt
netready Posted December 1, 2003 Author Posted December 1, 2003 Now I just want to replace that three icon buttons by one flash file with 3 buttons built in. May I know where can I change the setting for that pls? Thanks
netready Posted December 1, 2003 Author Posted December 1, 2003 Now I know that header.php is the file to edit for that purpose. However, when I replace tep_image(DIR_WS_IMAGES . 'header_account.gif' in line 58 with the following:- tep_image(DIR_WS_IMAGES . '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="279" height="47"> <param name="movie" value="images/toprite_menu.swf"> <param name="quality" value="high"> <embed src="images/toprite_menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="279" height="47"></embed> </object>', The flash file didn't show up. What did I do wrong pls. Any help or suggestion will be very much appreciated Thanks
Guest Posted December 2, 2003 Posted December 2, 2003 Replace the tep_image() call with '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="279" height="47"> <param name="movie" value="images/toprite_menu.swf"> <param name="quality" value="high"> <embed src="images/toprite_menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="279" height="47"></embed> </object>' instead. Or better yet, just insert the HTML in HTML context, outside of a <?php ?> block. Hth, Matt
netready Posted December 2, 2003 Author Posted December 2, 2003 Thanks for your great help. It's works now! Lawrence
Recommended Posts
Archived
This topic is now archived and is closed to further replies.