Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 25/11/2021 Black Friday Promotion

    BIG SALE, 35% discount for all our extensions. Use BF21 coupon code. Hurry up the discount is valid till 1 December.

  • 30/04/2021 Important information

    We transferred to another hosting so if you are experiencing any problem let us know. We will fix it as soon as possible.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

ARI Magnifier & k2 pop up ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: ARI Magnifier & k2 pop up ?
#64508
ARI Magnifier & k2 pop up ? 4 Years, 1 Month ago Karma: 0
Hello,

I installed a joomla template on my lap top(local) that use k2 component at the

main core of that template.

On the "Fashion" page,(its position is ; #pos-fashion), of the Menu,(main menu),of

that template:

there are a few pictures that is active a" pop-up" function on them by k2 component.

Now, I want to active; "ARI Magnifier Joomla! extension"on them ,too.So that,

both extensions activated and worked on the above mentioned pictures;

Would you please tell me for that; where(in which file) should I write a code

for it?

And give me that code?

At the following route of my project in www folder of my wamp server named as;

"prj1" I find the k2 pop-up

code;

" www\prj1\components\com_k2\js ", is the correct roue and file should I edit for

that?

and the code is;

Code:


// Classic popup
$K2('.classicPopup').click(function(event){
event.preventDefault();
if($K2(this).attr('rel')){
var json = $K2(this).attr('rel');
json = json.replace(/'/g, '"');
var options = $K2.parseJSON(json);
} else {
var options = {x:900,y:600}; /* use some default values if not defined */
}
window.open($K2(this).attr('href'),'K2PopUpWindow','width='+options.x+',height='+options.y+',menubar=yes,resizable=yes');
});



Very Thanks,
Last Edit: 2019/02/08 12:34 By xboby.
The administrator has disabled public write access.
 
Go to topPage: 1