Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 2 Hours, 16 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Help - class="modal" not working
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Help - class="modal" not working
#8023
Help - class="modal" not working 1 Year, 10 Months ago  
Hi Guys,

I am used modalizer with mod_cornerAd extension. What am looking forward is to have a fixed image - and when someone clicks on it, the modal window opens with description.

Currently in mod_cornerAd, when I specify the link as: warning.htm - things work ok.
When I change to link as: warning.htm class="modal" - the url is converted with extra "class="

e.g. - www.willnevergrowup.com/draft/warning.ht...m&tmpl=component
where it should be
www.willnevergrowup.com/draft/warning.ht...m&tmpl=component


---

I can not use the {modal} syntax here because, if I use that the link is parsed again with an <a href...

e.g. - <a href="/draft/<a href="warning.htm?ml=4&amp;mlt=system&amp;tmpl=component" title="Hello" target="_blank"

---

Can somebody please suggest a solution to any one of the above...
Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8024
Re:Help - class="modal" not working 1 Year, 10 Months ago  
A small typo...

* I am using modalizer
Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8031
Re:Help - class="modal" not working 1 Year, 10 Months ago  
Either change the cornerads files so it adds the class to the link. Or use ReReplacer to add the class to the link in the html output.
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8044
Re:Help - class="modal" not working 1 Year, 10 Months ago  
Hi Peter,
Thanks for your reply.

I used class="modal" with the page name. The link which I now get is

<a href="/draft/warning.htm?ml=4&amp;mlt=theme208&amp;tmpl=" class="modal" target="_blank" rev="ml" rel="nn_shadowbox{}"><img class="rightAd" src="/draft/images/stories/warning.jpg"/></a>

But it now opens in a new window instead of the modal window as expected.

Could you please advice where am getting wrong.
Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8046
Re:Help - class="modal" not working 1 Year, 10 Months ago  
You probably have some mootools conflict. Does it work with fancybox or highslide?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8047
Re:Help - class="modal" not working 1 Year, 10 Months ago  
Thanks a bunch for the lead...

FancyBox
GreyBox
ThickBox

are working...

Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8050
Re:Help - class="modal" not working 1 Year, 10 Months ago  
So you are happy with not using Shadowbox?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8057
Re:Help - class="modal" not working 1 Year, 10 Months ago  
Using thick box now working cool.

I was wondering if there is OOB way to open the modal box with first page load.. I can do it with JS, however I wanna use cookies and manage to open it only once.. Any suggestions?
Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8058
Re:Help - class="modal" not working 1 Year, 10 Months ago  
Modalizer isn't created to handle that.
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8059
Re:Help - class="modal" not working 1 Year, 10 Months ago  
No probs..
Thanks for ur help. Love the module..
Sanchit
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max
hosting joomla