Nemanja Bogdanovic
Nemanja Bogdanovic

Reputation: 43

How to: open article in modal when using firefox

Hi I have a problem with opening article in modal in joomla 2.5 template when using firefox.

When I use crome or ie everyting is fine, but firefox and opera, doesnt work, any idea how to solve this problem?

link to website

Upvotes: 0

Views: 548

Answers (2)

star
star

Reputation: 11

Try changing the modal.js file or the uncompressed-modal.js file. There is an if statement that sets the condition.

For reference, please, look here.

I hope it helps you.

Try changing those lines. It worked for me.

Upvotes: 1

Nemanja Bogdanovic
Nemanja Bogdanovic

Reputation: 43

I put in head of my template code:

<?php JHTML::_('behavior.modal'); ?>

and create link like this:

<a class="modal" href="index.php/article?tmpl=component" rel="{size: {x: 500, y: 400}}">article</a>

This all works fine as I said in chrome, ie, safari. But doesnt work in firefox and opera.

on my site you can see example... nemanja.me

Upvotes: 0

Related Questions