Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter gioffry

    (@gioffry)

    no idea? thanks

    • This reply was modified 7 months, 1 week ago by gioffry.
    Thread Starter gioffry

    (@gioffry)

    I forgot a piece of information that may be useful: in the cart templates, the header is in the correct position

    Forum: Plugins
    In reply to: [InPost Italy] CRAZY HEADER
    Thread Starter gioffry

    (@gioffry)

    sorry, i got the wrong topic

    hello, i have the same problem, anyone help us?

    WordPress 6.5.4
    WooCommerce 8.9.2
    WooCommerce PayPal Payments 2.7.1

    in code i forgot width & height

    var openShadowbox = function(content, player, title){

    var openShadowbox = function(content, player, title, width, height){

    FOR ALL USER: NOW MY CODE WORKS (my shadowbox loads html files and load it in my own size)

    thank you

    Here, an user says to another user:

    just added some extra parameters for customization, when using shadowbox for “media”.

    function abrirSB(type, title, url, width, height)
    {
    Shadowbox.init({skipSetup: true});
    Shadowbox.open({type: type, title: title, content: url, width: width, height: height});
    };

    and into flash file:

    getURL(“javascript:abrirSB(‘img’, ‘Title’, ‘image.jpg’, ” ,”);”, “_self”);

    First value ‘img’ can be: “swf”, “flv”, “qt” (QuickTime), “wmp” (Windows Media Player), “iframe”, or “html”. For custom sized iframe, it will look something like this:

    getURL(“javascript:abrirSB(‘iframe’, ‘Title’, ‘image.jpg’, ‘450’ ,’450′);”, “_self”);

    that’s all!

    so i wrote in html:

    <script type="text/javascript">
    
    var openShadowbox = function(content, player, title){
        Shadowbox.open({
            content:    content,
            player:     player,
            title:      title,
    		width: 		width,
    		height: 	height
        });
    };
    
    </script>

    and in flash file, i wrote:

    on (release) {
    	getURL("javascript:openShadowbox('https://www.kickersjunior.it/retailer/richiesta.php', 'iframe', 'Ricerca Punti Vendita', '200', '200');");
    }

    but doesn’t work ??

    no, the error is here:

    'Girl'););");

    i wrote ); two times
    now works!

    but now i have another problem: can i set page size?
    In html is:

    rel="shadowbox;width=200;height=200"

    in flash?

    ...

    Thank You

    Hi,
    good guide

    but when ii try to use it in my site, it not works.
    I have a flash site.

    HTML

    <script type="text/javascript">
    
    var openShadowbox = function(content, player, title){
        Shadowbox.open({
            content:    content,
            player:     player,
            title:      title
        });
    };
    
    </script>
    <script type="text/javascript">
    	var openShadowbox = function(){Shadowbox.open({
    	        content:    'https://www.kickersjunior.it/pe-09/girl.html',
    	        type:     	'iframe',
    	        title:      'Girl'
    	    })};
    	if(window.onload) {
    	  var temp = window.onload;
    	  window.onload=function(e) {
    	    temp(e);
    	    openShadowbox();
    	  };
    	}
    	else{
    	  window.onload=function(e) {
    	    openShadowbox();
    	  };
    	}
    </script>

    FLASH

    on (release) {
    	getURL("javascript:openShadowbox('https://www.kickersjunior.it/pe-09/girl.html', 'iframe', 'Girl'););");
    }

    thank you

Viewing 8 replies - 16 through 23 (of 23 total)