Youjoomla Support Forums (https://www.youjoomla.com/joomla_support/index.php)
-   Multimediabox (https://www.youjoomla.com/joomla_support/forumdisplay.php?f=27)
-   -   Multimedia Box on Page Load Popup??? (https://www.youjoomla.com/joomla_support/showthread.php?t=13054)

dreware 09-12-2014 09:39 AM

Multimedia Box on Page Load Popup???
 
I'm try using the Multimedia Box extension to load swf file the page load, can I do??? or is there some extension to do this in Youjoomla???

Thank you very much for the help.

Regards.

Dre.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 2.5

MySQL Version: 5.x

PHP version: 5.x

Link to installation: localhost

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Client

neo 09-12-2014 09:54 AM

The script is using MediaboxAdvanced so you could use
Mediabox.open('url', 'title', 'width height');

as described here
iaian7 � code � webcode � mediaboxadvanced

search for Mediabox.open on that page

dreware 09-12-2014 03:59 PM

Hello Neo,

I tried the examples

Joomla! Extensions Demo - Multimedia Box

and all work OK.

Then I reviewed the code

iaian7 � code � webcode � mediaboxadvanced

javascript

Quote:

Mediabox.open('url', 'title', 'width height');
But I have not been able to adapt to the template, can you help me please???

Regards.

Dre.

neo 09-12-2014 04:08 PM

see this

Edit fiddle - JSFiddle

you just need beginning and ending script tag around the snippet

dreware 09-13-2014 02:53 PM

I tried with the following code does not work

<script>Mediabox.open('http://www.youjoomla.com', 'Youjoomla', '500 280');</scri - Pastebin.com

Dre.

neo 09-14-2014 08:45 AM

the mbox must be triggered , so it wont work with solo code ,
there must be an article or module that includes the mbox short code so that the mbox script and css are triggered (added in the head), only than you can use that script

dreware 09-14-2014 05:09 PM

Hello Neo,

I added the code in a custom HTML module and does not work ... I have also tried to include it in an article and does not work, do not know why ... the rest of the examples that come with the extension work all OK,

Screenshot

Screenshot by Lightshot

neo 09-14-2014 05:13 PM

no bud

you would need to add something like
{ mbox:megan1.jpg|width=73|height=50|group=ladies|th umb=megan.gif|title=Megan Fox }

in article , this will trigger the mbox script and load them

than in template manager add this script
Screenshot by Lightshot

dreware 09-15-2014 01:27 PM

The sample codes work all OK, as,

Quote:

{mbox: megan1.jpg | width = 73 | height = 50 | group = ladies | megan.gif th umb = | title =} Megan Fox
not work, either introduced via template

Screenshot by Lightshot

What am I doing wrong ???

Thanks.

Dre.

neo 09-15-2014 03:11 PM

I cant keep on guessing here. Need live site link to tell you more.


All times are GMT -4. The time now is 05:49 PM.

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.