Product Page Image opening in new browser window

  • Posts: 16
  • Thank you received: 0
13 years 9 months ago #6221

Hi!

I was trying to adjust the position of the lightbox image, as it was appearing in the top left of the lightbox, and I've somehow messed up everything so the user is taken to a new window instead of the lightbox. I'd be very grateful if you could advise me on both these points.

Cheers :)

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6225

Sure, but I don't know what change you did, so I can't tell you how to revert them :)
For the lightbox itself, it should be possible to replace it with another lightbox like rokbox :
www.hikashop.com/en/support/forum/4-how-...newedit-address.html

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

  • Posts: 16
  • Thank you received: 0
13 years 9 months ago #6299

Ok,

I'm confused. I don't really know much about php or javascript and I guess this is where the problem is. TBH I'm not even sure how to get that Rokbox plugin working for my images.
I'm getting these errors when I click on the 'inspect element' of the main image:

Uncaught TypeError: Object #<an Object> has no method 'getProperty'
Uncaught TypeError: Object #<an Object> has no method 'set'

Citing the files media/system/js/modal.js and media/system/js/mootools.js. I don't think I touched those files, and I've removed all customizations from my views....can you give me any pointers at all? Thanx

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6303

I indeed get the first error line on any page of your website. It's caused by the rokbox.js file. I don't know why and how to correct though. I've never used rokbox so you already know more that me on the subject :/
You might want to ask them.

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

  • Posts: 16
  • Thank you received: 0
13 years 9 months ago #6310

Hey,

Now I've disabled it, and I still get the same error. I even went so far as to upload hikashop onto a test installation of joomla, where obviously the lightbox is working fine, then ftp'ed modal.js, modal.css, and mootools.js onto my main installation, and I'm still getting the error. Are there other files that affect the display of the lightbox? I'm sure it's something really simple that I'm not seeing (as usual :))

I just gave you super admin status if u want to have a look .....

Last edit: 13 years 9 months ago by jadefoxx.

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

  • Posts: 16
  • Thank you received: 0
13 years 9 months ago #6314

I've discovered that when I disable the superfish menu the popup works fine. So it's obviously something there... anyway job done :D

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6318

Yes, it must be an incompatibility between your superfish menu and rokbox. Not much we can do on our end :)

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

Time to create page: 0.064 seconds
Powered by Kunena Forum