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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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?

Problem displaying a picture in a popup window
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Problem displaying a picture in a popup window
#4840
Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 0
Hello,

I am trying to display a picture in a pop-up window when clicking on a hyper-link. I don't want the picture to be displayed in the main page.

I tried the code displayed during the installation of the module, which consists in putting the html code of the displayed popup window in a hidden <div> section.

My problem is that, depending on the properties set to the hidden <div> section, either the content is hidden in both the main window and the popup window, or the content is displayed only in the popup-window (as expected), and in the main window, the space required to display this content is reserved and thus, I have a big hole in my main page.

I also have another problem when I display this picture in the popup window : the popup-window is not large enough and thus, the picture is partially displayed outside this popup window.

The code I use to display my picture is the following :

<div style="visibility: hidden;" id="myPrettyContent">
<img mce_src="images/Pediatrie/dossier_patient.jpg" src="images/Pediatrie/dossier_patient.jpg" width="700 height=438 alt=Dossier Patients">
</div>
<p>
<a href="#myPrettyContent" mce_href="#myPrettyContent" rel="prettyPhoto" title="Dossier Patient" width="100%">Voir la photo</a></p>

Thanks in advance for help,
Brice
The administrator has disabled public write access.
 
#4842
Re:Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 666
Hello,

You can use the following code instead of your code:

Code:


<a href="images/Pediatrie/dossier_patient.jpg" rel="prettyPhoto" title="Dossier Patient">Voir la photo</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#4844
Re:Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 0
Thank you very much.

This works very fine and performs exactly what I expected.

I have still a small question : when I bought this module, it was explained that I needed to generate a license file that depends on my domain name. But I did not found how to generate this license file and everything seems to work without it.

Is it normal or will it be block in a few days ?

Best Regards,
Brice
The administrator has disabled public write access.
 
#4845
Re:Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 666
Don't worry, the extension is open source and doesn't require a license key and it will work without problem.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#4853
Re:Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 0
Thank you very much for those fast and relevant answers.

Best Regards,

Brice
The administrator has disabled public write access.
 
#4855
Re:Problem displaying a picture in a popup window 7 Years, 4 Months ago Karma: 666
You are welcome. If you have any questions about the extension, feel free to ask them.

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