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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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?

SexyLightbox.show - doesn't open lightbox
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: SexyLightbox.show - doesn't open lightbox
#59767
SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 0
Dear all,

I have tried to open url from storelocator component in lightbox by the following javascript:

<a href="javascript:SexyLightbox.show(url?TB_iframe=true&amp;width=700&amp;height=450)">name</a>

Unfortunately it doesn't work. Any ideas what could be wrong?

Best Jonas
The administrator has disabled public write access.
 
#59774
Re:SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 760
Hello,

Try the following code:

Code:


<a href="javascript:SexyLightbox.show('Sample site', 'http://www.ari-soft.com?TB_iframe=true&width=700&height=450', '')">name</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#59779
Re:SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 0
Hello,

thanks for your message. I tried this:

html += '<div class="infoloc-url"><a href="javascript:SexyLightbox.show('Sample site', 'www.ari-soft.com?TB_iframe=true&width=700&height=450', '')">' + VISIT_SITE + ' >></a></div>';

Currently I'm getting a Syntax Error: missing ; before statement

Still something wrong? Any ideas?

Best Jonas
The administrator has disabled public write access.
 
#59780
Re:SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 760
Escape ' symbol:

Code:


html += '<div class="infoloc-url"><a href="javascript:SexyLightbox.show(\'Sample site\', \'http://www.ari-soft.com?TB_iframe=true&width=700&height=450\', \'\')">' + VISIT_SITE + ' >></a></div>';



Regards,
ARI Soft
The administrator has disabled public write access.
 
#59781
Re:SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 0
I have copied the code into my map.js file. Unfortunately the link disappears.

Best Jonas
The administrator has disabled public write access.
 
#59782
Re:SexyLightbox.show - doesn't open lightbox 7 Years, 11 Months ago Karma: 760
It seems this is a problem with your code. For example the following code is working fine:

Code:


jQuery('BODY').append(jQuery('<div class="infoloc-url"><a href="javascript:SexyLightbox.show(\'Sample site\', \'http://www.ari-soft.com?TB_iframe=true&width=700&height=450\', \'\')">' + 'link' + ' >></a></div>'))



Check that VISIT_SITE variable contains a value. If it doesn't help, we can check your code if you provide a link to a page where it is used.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12