Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Close Button

More
16 years 11 months ago - 16 years 11 months ago #10045 by matux
Close Button was created by matux
Hi,

Just wondering how i can get the close button to display on my popup window? I know its probably a stupid question and staring me in the face but just cant find it.

Everything else working perfectly though, great app!  :D

Thanks,

Matt

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago - 16 years 11 months ago #10046 by matux
Replied by matux on topic Re: Close Button
Still having a problem with the close button. As it turns out it is something conflicting with the template. When i change templates everything works fine but when i am using the my site template i dont see the close button.

I stripped down my templates css but it didn't make a difference. When i browse in firefox i get a blank space where the close button should be but in IE i get the symbol (red X) for missing image. My previous and next buttons work ok.

I am using slimbox popup engine and went to slimbox/english/slimbox.css and gave the absolute path for the close button but this didn't work.

ie ----
#lbCloseLink
{display:block;float:right;width:66px;height:22px;background:transparent url(http://www.kedco.com/mambots/content/plugin_jw_sigpro/slimbox/english/closelabel.gif) no-repeat center;margin:5px 0;}

There is no permission problems on the images. Would anybody have any ideas? I am working on a test page www.kedco.com/content/view/170/394/

Thanks for any help,
Matt

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #10047 by matux
Replied by matux on topic Re: Close Button
Sorry got problem solved.

For some reason when i used 1 template it was looking in the correct folder (slimbox/english) for the close image but when i switched template it was looking in the /templates/templatename/images folder. When i put the image in there it works ok. Not sure why it didn't affect the previous and next images in the same way.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #10048 by H#kan Stensby
Replied by H#kan Stensby on topic Re: Close Button
When using lyte/litebox the path was all wrong to the closebutton, it was the path to the picture you where looking at plus the path to the closebutton picture.
plugins/content/jwsigpro/litebox/english/litebox.js
you have
var fileLoadingImage = "plugins/content/jwsigpro/loading.gif";         
var fileBottomNavCloseImage = "plugins/content/jwsigpro/litebox/english/closelabel.gif";
those path's will be appended upon the albumpicturepath...

I added a / in the path and it resolved my problem
var fileLoadingImage = "/plugins/content/jwsigpro/loading.gif";         
var fileBottomNavCloseImage = "/plugins/content/jwsigpro/litebox/english/closelabel.gif";

same goes for all lite/lytebox.js files for all languages if you want to change them all...

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #10049 by bruce goldstein
Replied by bruce goldstein on topic Re: Close Button
This seems to work at first but then I discovered if I do this, then the lytebox engine doesn't work in IE 7.  It works in Firefox.  I undid the change, removed the slash in front and once again it worked in IE7. 

Is there any way to do this but apply it only to FF? or only to IE7? 

My template (Beez) has IE7 specific .css files.  Is there something I can do with those files to fix it?

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 3 months ago #10050 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Close Button
Thank you guys for the feedback.

We will check out this "close button" issue asap!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago - 16 years 2 months ago #10051 by Rob Staal
Replied by Rob Staal on topic Re: Close Button

Is this problem solved?
I changed the lines by adding the '/' but without results.
Please click on www.herbergdekoppelpaarden.nl and go to 'Rondleiding'/'Fotoalbum' to see it working.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum