Guest Posted September 22, 2006 Posted September 22, 2006 hiho im looking for a contribution that allow you to see the fullscreen pic simply with a mouse over. just an example: http://www.lewt.com/diablo-2/uswest-non-ladder/amulets if you move your mouse over a pic of an amulet, you will see the full screen image of this item. someone know the right contribution that do this? there is something? thanks@all best regards, aperol :)
boxtel Posted September 23, 2006 Posted September 23, 2006 hihoim looking for a contribution that allow you to see the fullscreen pic simply with a mouse over. just an example: http://www.lewt.com/diablo-2/uswest-non-ladder/amulets if you move your mouse over a pic of an amulet, you will see the full screen image of this item. someone know the right contribution that do this? there is something? thanks@all best regards, aperol :) simple (though annoying) overlib stuff. onmouseover="return overlib('<img src=http://www.lewt.com/images/items/big/Metalgrid30res.jpg />', CAPTION, '', FGCOLOR, '#FFFFFF', WRAP, VAUTO);" onmouseout="return nd();" Treasurer MFC
Guest Posted September 23, 2006 Posted September 23, 2006 onmouseover="return overlib('<img src=http:// the pic location />', CAPTION, '', FGCOLOR, '#FFFFFF', WRAP, VAUTO);" onmouseout="return nd();" where i must put this function ?
jpweber Posted September 23, 2006 Posted September 23, 2006 Well, it depends on where you want it in your site. Give us an addy where you want it. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
spax Posted September 23, 2006 Posted September 23, 2006 onmouseover="return overlib('<img src=http:// the pic location />', CAPTION, '', FGCOLOR, '#FFFFFF', WRAP, VAUTO);" onmouseout="return nd();" where i must put this function ? That won't do anything on its own, no matter where you put it. You'll need the external js file also. http://www.bosrup.com/web/overlib/
jpweber Posted September 23, 2006 Posted September 23, 2006 And put the external JS file in your product info in hte <head>. I'd assume, depending on where you want it. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
spax Posted September 23, 2006 Posted September 23, 2006 Yeah I'd imagine so. Although if you included it in all root files, you could have smarty pants tool tips everywhere. >_<
jhande Posted September 23, 2006 Posted September 23, 2006 Excuse my ignorance as I'm new to all this PHP stuff. But would adding javascript code to a php page work? :blush: I mean, there's a script for popup image, open new window, etc... that would seem useful for us non-PHP coders to use. But I did hear rumor that PHP has some troubles with some javascript functions. Is this true? :blink: - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
spax Posted September 23, 2006 Posted September 23, 2006 osCommerce uses JavaScript quite alot. In pop-ups, validation, the spiffyCal calendar script etc. I don't think there are any problems mixing them within a php file. The only way I can think of them not working together would be in an external js file. That is because with a .js extension, the php code wouldn't get parsed. As long as the file had a .php extension and the JS was enclosed within <script></script> tags, all should work.
Guest Posted September 25, 2006 Posted September 25, 2006 @spax: i download the lastest version = OverLib 4.21 @jpweber: what i must do now? i unzipped the files, where now i must upload them? and for see the image mouse over as here: http://www.lewt.com/diablo-2/uswest-non-ladder/amulets (only in product list) what i must change? thx for the help, and sorry for asking but im still noob atm in php
jpweber Posted September 25, 2006 Posted September 25, 2006 David, please give me the URL (address ... location) where YOU want to use the overlib function. Then I can direct you as to where to put it. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
jhande Posted October 11, 2006 Posted October 11, 2006 osCommerce uses JavaScript quite alot. In pop-ups, validation, the spiffyCal calendar script etc. I don't think there are any problems mixing them within a php file.The only way I can think of them not working together would be in an external js file. That is because with a .js extension, the php code wouldn't get parsed. As long as the file had a .php extension and the JS was enclosed within <script></script> tags, all should work. TNX spax :thumbsup: Sorry for the delayed reply. My PC died, no hope of recovery - I tried jump starting, ticker gone along with EVERYTHING. Had to order, well, wanted a custom order not an off the shelf jobber notebook. Just received a few days ago my new HP notebook and trying to catchup on my school work, oh shoot, essay do tomorrow! :blink: - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.