Page 1 of 3

Greybox Browser Image ***14/05/11***

Posted: Thu Jul 29, 2010 10:27 pm
by BaconFries
14/05/11
***Update New Build For WB7 only****



***29/07/10***
Meets W3C Standards
Built with Extension Builder 2.0.3
ImageImage

Image

Grey Box Browser Image Extension
This is a simple way to display a external page from your site by simply clicking on a image and it will open in a lightbox style fashion you can add what ever site you wish to be displayed.

Demos at authors site
http://orangoo.com/labs/GreyBox/

Download for Web Builder7.X.X
Only available via extension manager

Posted: Thu Jul 29, 2010 10:28 pm
by BaconFries
Greybox Browser Image ***29/07/10***

Posted: Fri Jul 30, 2010 9:29 am
by hmol
Can someone place a demo if it?

Can you also link this to text instead of a picture?

Posted: Fri Jul 30, 2010 9:39 am
by BaconFries
Demos at original authors site there is already a text version available since Posted: Wed May 13, 2009 3:28 pm please look here
viewtopic.php?t=19416

Posted: Sat Jul 31, 2010 10:17 am
by BaconFries
You can view demos of how the extension works at the first posting by visting the original author site just click on the provided url below
"Demos at authors site"

This part in red refers to when the first text version was released"Posted: Wed May 13, 2009 3:28" it is not refering to when there was a demo to view...all demo examples are available at the original authors site as previously mentioned .....

Posted: Sun Aug 01, 2010 10:49 am
by BaconFries
There may be a way to do this by adding a extra snippet of code to the source to allow a load event so that the page opens when a user visits the page but at present no it only works when a user clicks on a image or a text link as in previous version...

Posted: Sun Aug 01, 2010 11:33 am
by NigelShaw
Hi BaconFries

thank you mate :)

i had done one in a fashion but it was very shady lol



cheers


Nigel

Posted: Sun Aug 01, 2010 11:45 am
by BaconFries
Nae probs "Mate" :D is was just a matter of changing a couple of things in the text version gald to have helped....

Posted: Sun Aug 01, 2010 2:18 pm
by NigelShaw
Hi,

i have found that the link doesnt seem to work. the greybox opens but just goes into the "loading" state with the circular icon but the web page doesnt appear. checking the actual links, they seem to work fine without greybox but not with. Google doesnt work either.

is it something simple im not doing right?


cheers


Nigel

Posted: Sun Aug 01, 2010 2:37 pm
by BaconFries
Hi Nigel please check that you you have not ticked the checkbox in Tools>Options>Micellaneous>Preview>Disable IE security warning during preview having this ticked it seems to block the content in the greybox window...

Posted: Sun Aug 01, 2010 3:07 pm
by NigelShaw
Hi BaconFries

i have looked and it is not checked. it works when i use the original version that has the text to click but not with the image.......



strange behaviour lol



Nige

Posted: Sun Aug 01, 2010 6:24 pm
by BaconFries
Hi Nigel I can confirm it is a bug with "Google Chrome" the extension seems to work once uploaded to a server it just wont display in "Preview"
I have also checked it in FF, Safari, Opera, IE6/7/8 and it opens as it should in "Preview" so it seems it just "Google Chrome" being a pain in the a** I will rey and cotact the autor and see what hes says....

Posted: Sun Aug 01, 2010 6:28 pm
by BaconFries
@ haamster here is the code you need to open in a window when user visits your page to insert this open Page Properties and place in Between <head></head> change the "Tiltle" and "url" to the same used in the extension properties...

Code: Select all

<script type="text/javascript">
AJS.AEV(window, 'load', function() {
          GB_showPage("Title", "url");
     });
</script>

Posted: Mon Aug 02, 2010 11:35 pm
by NigelShaw
Hi BaconFries

Would it be possible to add the greybox display options into the extension or post the source so I could do it? I've been playing with extensions again and got my head back into gear after a long time away lol.

I prefer the "gb_page_fs" as it takes away the ugly top banner.

Regs

Nigel

Posted: Tue Aug 03, 2010 12:18 am
by NigelShaw
Hi

Well I've added the greybox options to one I have made but need to ask some advice questions.

On your extension baconfries, you see the image in the design screen. How do you do that?

How do you get the image to stay in the place you put it in the design window? Mine keeps going to the top left of the screen.....

Other than that, it works great lol


Thanks

Nigel