drupal - my IE produces jaca script error and don't jump throguht resizes

Continental

Joined: 2004-06-14
Posts: 243
Posted: Thu, 2005-12-08 22:53

When I logged in as a user under Internet Explorer,
1. when should album view it shows (in the status bar) java script error ilne 9 char 5
2. when I see the photo, it can't jump to any resize, because the generated path isn't
correct and doubled like :
...server/gallery/users/kostik/crimea/gallery/users/kostik/crimea/name.jpg.html?g2_imageViewsIndex=1

The problem doesn't appear in Firefox.
The problem appeared on the IE under other XP account.
The problem don't appear in standalone g2, only in embed (drupal)

I cleared cookies but doesn't help.
My g2 has "/" coockie path setting.

What else? Before it were not, but
before it were other users, and not cvs,
but I don't thing it's connected.


Gallery version = 2.0.2+ core 1.0.10 (Dec 5th)
Drupal 4.6.4 + gallery.module v.1.1
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.6) Gecko/20050318 Firefox/1.0.2

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Fri, 2005-12-09 01:15

please include "drupal" in the title, of such issues. changed the title myself.

and please describe your problem in more detail.

- which theme?
- any modifications?
- you're referring to the resizes drop down list under which you can find the full size link, right? the drop down list that is on the photo page in the upper right - corner.
- how many resizes does this photo have?

Login or register to post comments
Continental

Joined: 2004-06-14
Posts: 243
Posted: Fri, 2005-12-09 10:22

ok,

@theme: matrix
@mods: rather no, than yes: buttons removed by that moment only
@yes, drop downs menu jumps doesn't work. full size like works perfectly.

here is my code:

Quote:
<div class="block-core-PhotoSizes giInfo">
Size:
<select onchange="if (this.value) { newLocation = this.value; this.options[0].selected = true; location.href= newLocation; }"><option value="gallery/users/kostik/crimea/Crimea_Aspen_Groove.jpg.html?g2_imageViewsIndex=0" selected="selected">
640x480
</option>
<option value="gallery/users/kostik/crimea/Crimea_Aspen_Groove.jpg.html?g2_imageViewsIndex=1">
320x240
</option>
<option value="gallery/users/kostik/crimea/Crimea_Aspen_Groove.jpg.html?g2_imageViewsIndex=2">
1024x768
</option>
</select>
<br/>
Full size:
<a href="gallery/users/kostik/crimea/Crimea_Aspen_Groove.jpg.html?g2_imageViewsIndex=2">
1024x768
</a>


which I selected in bold, I don't know how it works, but becase script has visible in status bar error, this doesn't work and producte the unnnessasary path.

ie:
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Mailinfo [103985]; SV1; .NET CLR 1.1.4322)

Login or register to post comments
Continental

Joined: 2004-06-14
Posts: 243
Posted: Thu, 2005-12-15 20:15

Anybody! Help me please! ;-) I still have this java-script error,
and my users (many no all, but at least ONE!) have the same error.
They could not open resizes. Why? See above. Now I can provide live example here:
http://www.travelcamera.ru/gallery/users/kostik/smolensk/IMG_0368.JPG.html

valiant?
kiz?

Drupal 4.6.4+Gal.modul v1.1+gallery2.0.2+

Login or register to post comments
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Thu, 2005-12-15 22:22

Not sure I can be much help here. I confirm the error on IE, but it works on FF.

I notice in IE that you get an incorrect path:
Not,
http://www.travelcamera.ru/gallery/users/kostik/smolensk/IMG_0368.JPG.html?g2_imageViewsIndex=1

But,
http://www.travelcamera.ru/gallery/users/kostik/smolensk/gallery/users/kostik/smolensk/IMG_0368.JPG.html?g2_imageViewsIndex=1

(as you mentioned originally).

I do not know why (or if) the Drupal integration should cause this. Maybe it's one of the other js inclusions you have that is upsetting it -- perhaps remove some of the other modules temporarily.

I confirmed on my Drupal/G2 sites that this function works correctly on IE and FF, so it's something specific to your setup I think.

Login or register to post comments