94 comments found

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users

Regarding boxes that take user input, is there a PHP script included to send the user input by email, or save it to a database? Or should this be done by adding extra code ourselves?

DenonStudio

You must write the code yourself. This is because we can’t really assume what you want to do with the data in PHP .

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • United Kingdom

I too need to load a remote html file (well, in my case a .php file) into the box… is this possible? I bought this without realizing it wouldn’t currently do what I wanted lol (Don’t worry, I’m not after a refund or anything)... but, I was wondering if the remote load if an option for the future (or can I implement it now?)

Basically I wanted to use this attention box instead of a light window that I currently use on a script I have.

I use this:

jQuery(document).ready(function(){ $("a[rel='day_view']").colorbox({width:"480px", height:"450px", iframe:true}); });

but I want to use an iframe or something within attention box instead as it’s so much nicer!

Any thoughts!?

Many thanks in advance

DenonStudio

Unfortunately, this isn’t exactly geared towards loading content.

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • United States
RonSell Purchased

I want to hire you to change the look of the CSS . Please contact me at admin at addmembers.com

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
mariarus Purchased

Hello,

I wanted to show the pop up on the page loading but the code

jQuery(function(){ AttentionBox.showMessage(‘This modal message has blue background.’, { modal : true, modalcolor : ”#0000ff” }); });

is not working?

My page is cocooning-shop.fr

DenonStudio

Can you give this a try:

jQuery(window).ready(function(){
    AttentionBox.showMessage(
        ‘This modal message has blue background.’, 
        { modal : true, modalcolor : ”#0000ff” }
    ); 
});
  • Bought between 10 and 49 items
  • Germany
  • Has been a member for 5-6 years
payamsys Purchased

Hello,

I purchase it to use/install on my Wordpress theme, unfortunately i have no idea how to install it, I’d like you to elaborate it how exactly to install and run .

Thanks

DenonStudio

The installation instructions are listed on the demo page. Please take a moment and read those instructions. For WordPress however you will need to include the required scripts inside the header.php file. It does require a certain amount of php and WordPress experience, so I hope you can get through it.

  • Bought between 100 and 499 items
  • Has been a member for 5-6 years

How do I show a module with 2 buttons and background overlay?

DenonStudio

Please take a look at the documentation.

  • Bought between 100 and 499 items
  • Has been a member for 5-6 years

How do I make one of the button a link?

DenonStudio

You must use the callbacks using JavaScript.

Default-user

Can you write a quick example of a link that goes to google.com for one button and yahoo.com for the other button?

Default-user

Sir? Can you quickly do this for me?

  • Bought between 100 and 499 items
  • Has been a member for 5-6 years

Thanks for the quick reply! I was wondering if you could add a call back feature to this script that goes to google if they hit agree and just closes if they hit no:

<script> jQuery(document).ready(function() { jQuery("#message1").click(function() { AttentionBox.showMessage('<strong>Before ordering, please confirm you understand the terms.</strong><br /><br />1.Some text here.',{ modal : true, buttons : [{caption : "Cancel" }, {caption : "I Agree" }], }); }); jQuery("#message2").click(function() { AttentionBox.showMessage('<strong>Before ordering, please confirm you understand the terms.</strong><br /><br />some text here.',{ modal : true, buttons : [{caption : "Cancel" }, {caption : "I Agree" }], }); }); }); </script>

I have no clue how to do it..

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • United States
RonSell Purchased

Is there a way have the Black and Grey but for regular messages too?

It seems like the only way to get the grey in the middle is if you have form fields.

Ron Sell

DenonStudio

Ron. I didn’t quite understand the problem. Could you please try and explain what you’re looking to do?

Thanks

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years

Hey mate. Bought this a while back. It’s great. I’ve been using it as a T’s & C’s pop-up. After clicking ‘ACCEPT’ a PDF is opened in the same window. Now my client would like the PDF to open in a new window but I can’t seem to figure out why ‘_blank’ isn’t working. Any ideas? Here’s my code:

jQuery(document).ready(function(){function download(){
window.open('http://the_file.pdf', '_self');
}jQuery("#download").click(function(){AttentionBox.showMessage(tsandcs,{modal:true,modalcolor:'#000000',buttons:[
{caption : "I accept the terms and conditions", value:"agree"},{caption : "Cancel", cancel: true   }],callback: function(action){if (action != "CANCELLED"){        
download();
}else{return;}}})});});

Changing ‘_self’ to ‘_blank’ seems to prevent the window.open function from working.

Cheers.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
photonart Purchased

Hello, this is incredible! What a very creative solution. I’ve been trying to change the cancel button from esc to the right arrow key. I’ve tried changing the KeyCodes in js but it isn’t working. How do you change this?

Thanks in advance

DenonStudio

Make sure you’re test html is pulling in the source version of the JavaScript, not the minified version.

Default-user
photonart Purchased

Thank you so much!

  • Bought between 100 and 499 items
  • Has been a member for 3-4 years

Looking at buying – one question

I want the modal to pop up automatically when a page loads – but ONLY THE FIRST TIME – if they revisit the page I don’t want it to fire

Can you help?

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi DenonStudio,

I hope you can help me out with this (small) problem. As a starter, you did a great job creating the software! Chapeau! The code works excelently if I directly run the script! But when I use it within a Iframe it will only display in that frame. In my case these frames are very small and therefore, the attentionbox is not really visible. Is there a way output the attention box in the parent frame, running it from a child frame?

Any help is appreciated! Thanks a million times!
//Jquery code
jQuery(document).ready(function()
        {
            jQuery("#modalbox").click(function()
            {
                AttentionBox.showMessage('You forgot to enter some information',
                {
                    modal: true,
                    modalcolor: "#FF0000",
                    buttons : 
                    [
                        { caption : "OK", cancel: true }
                    ],
                    callback: function(action)
                    {
                        if (action == "CANCELLED")
                        {
                            AttentionBox.showMessage('Please update your information');
                        } else {
                            document.location = "http://www.google.com" 
                        }
                    }
                });
            });
        });
DenonStudio

HTML5 specifications support cross frame messaging but using it will depend on your specific project:

http://html5demos.com/postmessage2
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Very good work! Thanks for the code,

1 quck question:

I’m trying to get the opacity on the fadeTo background color to be much higher so the user cannot read the text behind the attention box.

Now matter how I modify this piece of code from attention_box.js the opacity still sits at about 0.5

Please help! Thanks

if (this.modal)
        {
            this.modal.fadeTo(400, 0.5);
        }
by
by
by
by
by
by