Andrew86 Posted January 14, 2013 Share Posted January 14, 2013 (edited) Hi guys, how i can make a small popup with a button of interaction? The window not must be a "url" Edited January 14, 2013 by Andrew86 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 It is possible, what are you trying to do with it? Link to comment Share on other sites More sharing options...
Andrew86 Posted January 14, 2013 Author Share Posted January 14, 2013 (edited) a window popup without url riferiment and in these include a message for the clients an oder button of "confirmation order" that confirm and return in home page for a new order. Edited January 14, 2013 by Andrew86 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 Those can be done, they would not necessarily be easy to do, but Prestashop is very flexible. Link to comment Share on other sites More sharing options...
Andrew86 Posted January 14, 2013 Author Share Posted January 14, 2013 this is an example: <!DOCTYPE html> <html> <head> <script> function myFunction() { alert("I am an alert box!"); } </script> </head> <body> <input type="button" onclick="myFunction()" value="Show alert box"> </body> </html> try it on: http://jsfiddle.net/ But i don't want an url in html, but a simple box ! Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 You would have to use ajax more than likely. Some of the features you want could be had by using already made modules that you can buy. I am pretty sure that carolina customs has a popup contact module and presto changeo has a quick shopping module that might do what you want, or attribute wizard might, it has a pop up too. 1 Link to comment Share on other sites More sharing options...
Andrew86 Posted January 14, 2013 Author Share Posted January 14, 2013 (edited) hum, buy? no, i'm near at the solution, I thought that someone could me help...however thanks Edited January 14, 2013 by Andrew86 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 You are using a javascript alert box, that is not really near the solution. Look more into using something like colorbox or lightbox to use an inline layer. Check this out, click the inline html link http://www.jacklmoore.com/colorbox/example4/ Link to comment Share on other sites More sharing options...
Andrew86 Posted January 14, 2013 Author Share Posted January 14, 2013 yes, like this, but the code java? Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 It uses javascript. Jquery and colorbox to be exact. Link to comment Share on other sites More sharing options...
Andrew86 Posted January 14, 2013 Author Share Posted January 14, 2013 i have search some jquery box like this: http://webdesigntutsplus.s3.amazonaws.com/tuts/316_modal/source/index.html font donwload: http://www.freshdesignweb.com/35-useful-jquery-javascript-popup-window-dialog-box.html the pack contein css files, javascript and .js file but if a put all in correct folder, all font size of site change... Link to comment Share on other sites More sharing options...
Dh42 Posted January 14, 2013 Share Posted January 14, 2013 I think your skill set is not quite what it needs to be to pull this off. You haven't considered making the calls back to prestashop yet. opening a box is easy, making the 2 way communication is the hard part. 1 Link to comment Share on other sites More sharing options...
Recommended Posts