Strange problem with ie7

Page: 1

Author Post
ventus
Guest
Hello guys,

I like very much floatbox, it's great. I have used it to make nice gallery for my local section of organization Erasmus Student Newtork. We are using modified Drupal, called Satellite for our website. Since we can't keep photos on our server ('cause of overload) i decided to import somehow Picasa Web Album and just show albums on our web, without keeping photos on the server. There are ready javascripts for this, I've just made a little tunig of viewing the result page with photos. For make it looks a little more original i decided to view the page with gallery as frame by floatbox.

The problem is that ie7 treat the link with rel to floatbox as normal link to web, when Opera and Firefox don't have problem with that. You can see the web here: http://gdansk.esn.pl/gallery

I'm wondering if this drupal CMS is making a problem. I've made a test HTML page: test.html (http://gdansk.esn.pl/test.html ) which have only link with rel to floatbox and surprisingly it works! I don't know what's going on, maybe you do?

Best regards,
ventus

ps. sorry for a not perfect english :)
Administrator
Registered: Aug 2008
Posts: 3382
With apologies, I'm not going to be able to be much help on this one.

I've looked at your page, and it appears to be setup ok. But there's a lot of other javascript being pumped into the page. I have to assume some sort of conflict with this other javascript, but I'm not in a position to try to dissect it at this time.

I wonder if something in the other javascript is overwriting the onclick action that floatbox assigns to the anchor when it loads? This is the sort of thing I would look for.

Good luck, and apologies again for a fairly useless response. :(

Oh, and by the way, I see you've installed floatbox in a non-standard location, but have not updated the urlLanguages and urlGraphics paths in the options section of floatbox.js. You should do this, but it won't resolve your IE7 problem.
« Last edit by admin on Wed Dec 31, 2008 9:55 am. »
ventus
Guest
thanks for replay :) I'll try to find and solve the problem

take care
ventus
ventus
Guest
Hi again

I was looking for included javascript which is making a problem and I saw that jquery.js i responsible for my problem.

now I have to find what precisely is making a problem :)

vantus
Administrator
Registered: Aug 2008
Posts: 3382
I hope you can identify the exact problem and help me make floatbox compatible with jquery. If you can't, I'll try to replicate the problem in February and may ask for a little bit of your help if you are willing.

Good luck...
ventus
Guest
Well... I wasn't able to find the problem with jquery.js we had on our server, but... I was curious if we have good jquery.js, so I went to the official website of this product and I found strange thing: our jquery.js included to Satellite was different than the one I've downloaded from http://jquery.com

I decided to check what will happend when I switch them. And guess what? Everything is working fine :) and now floatbox works in IE7 too. I'm wondering if it works in IE6, but I can't check it.

That old script was strange it self. You can see it here: http://gdansk.esn.pl/tmp/jquery.js I didn't how it works. I think if you will use good jquery, it won't affect to floatbox :)

I'm sorry for not resolving the problem with the old jquery script, but I don't have so much time to learn how javascript works (well, I know some programing languagaes, but I didn't ever focused on javascript...).

thanks a lot for comments :)
ventus
Administrator
Registered: Aug 2008
Posts: 3382
Good news. Thanks.

If there's no conflict with the current, official jquery library then there's no reason to look further. It would be a waste of time to try to figure out what the conflict is with an old or hacked version.

I'm glad it's all worked out for you.

Page: 1