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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 14 Years, 5 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 14 Years, 5 Months ago Karma: 760
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 14 Years, 5 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 14 Years, 5 Months ago Karma: 760
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 14 Years, 5 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 14 Years, 5 Months ago Karma: 760
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