Home » Forum
NoNumber!

Joomla! extensions & websites
development / support / consultancy

I try to respond within 24 hours (excluding weekends). If I haven't responded by then, feel free to post a reminder or bug me via email.
Welcome, Guest
Please Login or Register.    Lost Password?

Help - class="modal" not working
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Help - class="modal" not working
#8023
Help - class="modal" not working 5 Months, 2 Weeks 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 5 Months, 2 Weeks 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 5 Months, 2 Weeks 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: 4549
User Online NowClick 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 5 Months, 2 Weeks 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 5 Months, 2 Weeks ago  
You probably have some mootools conflict. Does it work with fancybox or highslide?
Peter van Westen
Admin
Posts: 4549
User Online NowClick 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 5 Months, 2 Weeks 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.
 
Go to topPage: 12
Joomla Open Source Training