Joomla!ŪPlug

. XCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
Joomla backup and restore component

XCloner for Wordpress new!

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Can I pop the window up on click? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Re:Can I pop the window up on click?
#3198
Emre Akkas (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Can I pop the window up on click? 4 Years, 3 Months ago  
I was wondering if I can attach this pop-up window to a link and display it on click.

Thanks for the plugin
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3199
Ovidiu (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Can I pop the window up on click? 4 Years, 3 Months ago  
Hi there! It is possible, however the current layout of the mambot has been designed to only open the popup automatically on page load!
However if you like i can show you how to hack it:

1. open the mambots/content/jpopup.php file and look at the line 39, you should see this code

Code:

<img src='[mosConfig_live_site]/mambots/content/jpopup/images/pixel.gif' onload=&quot;startPopUp();&quot;>
2. delete or html comment that code, like
Code:

<!-- <img src='[mosConfig_live_site]/mambots/content/jpopup/images/pixel.gif' onload=&quot;startPopUp();&quot;>
--> 3. now when you want to load the popup on click in one of your pages, you need to first add the popup code in it( ), and then add the link code like
Code:

<a href='#' onclick='startPopUp();'>My link here</a>
the important code that will start the popup on click being
Code:

onclick='startPopUp();'
Hope it helps! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3236
mike (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Can I pop the window up on click? 4 Years, 3 Months ago  
Hello, I just downloaded the mambot. Is it possible to display a form from RSForm in the popup? Also, I'd like to change the mambot to enable it on click instead of on page load. However, when I tried to follow your instructions, line 39 was different than what you specified. For me, line 39 says:

Code:

<DIV class=&quot;jpopup&quot; style=&quot;font-family:[jpopup_wfont];
Hope you can help!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3237
Ovidiu (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Can I pop the window up on click? 4 Years, 3 Months ago  
Hi there! We have update the code meanwhile, what you need to do now is delete line 62 containing this code

Code:

<script language=&quot;javascript&quot; type=&quot;text/javascript&quot;>startPopUp();</script>
and then add your onclick=&quot;startPopUp();&quot; code to the href link you want to use As for RSForm, it should be possible, try and follow their instructions to create a form and enter that code inside the popup Hope it helps! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3238
mike (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Can I pop the window up on click? 4 Years, 3 Months ago  
Hi thank you for the quick reply. I will make the change according to your instructions. As for RSForm, you don't actually do any coding. There's two options. The first option is that you're given a link to use, say from a menu, like this:
http://tinyurl.com/2xtk4q

The second option is their mambot where I just type in (mosforme 2} where 2 is the item ID of the form I created.

So I suppose the question would be can I utilize their mambot within your popup? Or does the popup need actual form code?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3239
Ovidiu (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Can I pop the window up on click? 4 Years, 3 Months ago  
I think you can use the mambot code inside the popup code, it should display the processed html RSForm code inside the popup!

Anyway, we have not tried that, so let us know how it goes! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

All rights reserved to JoomlaPlug.com ©2006-2012!

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
JoomlaPlug.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.