Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2012, 10:07:18 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155094 Posts in 21661 Topics by 7721 Members
Latest Member: arrow345
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Kein Popup mit "smooth gallery" im IE  (Read 2906 times)
albatros

Offline Offline

Posts: 673


WWW
« on: February 12, 2007, 09:44:22 PM »

Hallo allerseits,

ich schaue mir nach und nach die verschiedenen Galerien an. Gleich die erste "smooth gallery" gefällt mir recht gut. Im FF läuft auch alles. Aber...
Im IE6 werden die Leerzeichen im Befehl für das Popup durch "%20" ersetzt. Vorne vor "opnWin" und hinten vor der Bildgröße. Ich denke, das ist die Ursache(Syntaxfehler?). Jedenfalls wird kein Popup geöffnet und in der Leiste unten sehe ich "Fehler auf der Seite" wenn ich das Bild zum Vergrößern anklicke. Ich habe das an zwei PCs probiert.

Weiß jemand Abhilfe?

Herzlichen Dank im Voraus!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7970



WWW
« Reply #1 on: February 13, 2007, 05:25:56 AM »

Hallo,

Hast du den popupblocker im IE aktiviert? Popups werden nur angezeigt wenn du es auch zulässt.

Matthias
Logged
albatros

Offline Offline

Posts: 673


WWW
« Reply #2 on: February 13, 2007, 09:22:31 AM »

Hallo Matthias,

der Popupblocker im IE6 ist auf beiden PCs deaktiviert. Habe ich gerade extra nochmals kontrolliert.
Popups aus der Smoothgallery werden trotzdem nicht angezeigt.

Im FF habe ich den Popupblocker an beiden PCs standardmäßig aktiviert. DER wird nämlich wirklich genutzt. Der IE nur zu Kontrollzwecken. Im FF werden die Popups aus der Smoothgallery aber angezeigt.

huh

Irgendwie steh ich momentan wohl auf der Leitung.
Logged
benjamin-do

Offline Offline

Posts: 214


« Reply #3 on: February 13, 2007, 07:42:56 PM »

Hast Du evtl. in der Firewall oder in einem anderen Programm noch nen PopUp Blocker versteckt? Ich  nutze zB ein GData Produkt und da ist noch mal ein extra PopUp Blocker für IE vorgesehen, der allerdings in FF nicht funkz.

Gruß
Benjamin
Logged
hr_d

Offline Offline

Posts: 51



WWW
« Reply #4 on: February 13, 2007, 08:08:42 PM »

Jedenfalls wird kein Popup geöffnet und in der Leiste unten sehe ich "Fehler auf der Seite" wenn ich das Bild zum Vergrößern anklicke. Ich habe das an zwei PCs probiert.

Hallo,

das ist bei mir auch so. Popups werden im IE nicht geblockt. Im IE kommt der Fehler im FF geht es. Wenn man in den Optionen der Smooth Gallery bei Originalbild öffnen: "im gleichen Fenster" einstellt geht es auch bei IE (ist halt nicht so schön wie ein Fenster). Scheint ein Bug zu sein.

Gruß
Hermann
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #5 on: February 13, 2007, 08:09:54 PM »

Laßt mal die Mutmaßungen auf der Firewall & Co Seite wink

Es ist IMHO tatsächlich irgend etwas in dem JS für das PopUp das dem Herren IE's mißfällt.
Habs mir vorhin mit 6er und 7er angeschaut, komme aber nicht ganz dahinter, wo genau er auf die Nase fällt.

Grüßle Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
albatros

Offline Offline

Posts: 673


WWW
« Reply #6 on: February 14, 2007, 12:32:07 PM »

Hallo allerseits,

beruhigend für mich, dass ich nicht der Einzige mit dem Problem bin.  grin

Ich forsche auch weiter, allerdings bisher ohne Erfolg. Aaaaber, mit Geduld und Spucke...
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6974


WWW
« Reply #7 on: February 14, 2007, 01:30:12 PM »

Sagt mal Leute, habt Ihr eigentlich mal das original probiert, ob es da funktioniert?

Ich bin nämlich gerade auf der Seite des Entwicklers gewesen, und sein Showcase hat mit IE6 (auf Win2K) nicht funktioniert ... überhaupt nicht.

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

albatros

Offline Offline

Posts: 673


WWW
« Reply #8 on: February 14, 2007, 08:04:58 PM »

Hallo Klaus,

in meiner lokalen Testinstallation läuft alles. Auch die Darstellung der großen Bildversion in einem neuen Fenster. Nicht jedoch die im Popup.

Und auf der Entwicklerwebsite kann ich mit dem IE6 auch alles sehen. Allerdings hat er da wohl überall die Darstellung der großen Bilder im selben Fenster eingestellt. (Das gefällt mir nur halb so gut!) Ob das Popup funktioniert kann ich also nicht sagen. Aber, wie gesagt, alles andere JA!

Mit besten Grüßen

Uwe
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6974


WWW
« Reply #9 on: February 15, 2007, 09:25:39 AM »

Hallo Uwe, ich habe gestern auf die Entwicklerseite mit FF1.5, FF2 und IE6 (6.0.2800.1106IC auf W2K) geschaut, hat die Gallerie gar nicht angezeigt ...

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

sporrencense

Offline Offline

Posts: 34


« Reply #10 on: February 15, 2007, 10:11:01 AM »

Hi,

I can't understand much German but as this seems to be the only thread on the issue I am having I thought I could post to it.

Essentially, I am having the same problem - I get the following error in IE6 and IE7:

Line: 108, Char: 4, Error: Invalid Argument, Code: 0

I haven't altered any code.

If you have any ideas what is causing iot I would be most appreciative - other than this error the gallery looks fantastic.

Works a treat though in FF2.0
Logged
sporrencense

Offline Offline

Posts: 34


« Reply #11 on: February 15, 2007, 11:18:15 AM »

Here is the problem.

Moz/Firefox will pop open a new window, but IE6 will throw an "Invalid Argument" error. Why?

The second argument to window.open is the name of the window. In IE6, this cannot contain any spaces or special characters. Some people mistakenly think this argument is for the title of the window. So they put in something human-readable (like "Example Window"), thus the error.


   <?php if (!$gallery_count) { ?>
      var funcList = new Array();
      var previewWin = null;
      function opnWin (link, w,h){
         if (previewWin) previewWin.close();
         previewWin=this.open("#","image preview","toolbar=no,menubar=no,location=no,scrollbars=auto,resizable=yes,status=yes,width="+w+",height="+h+",left=5,top=5");
         previewWin.document.write('<body leftmargin="0" topmargin="0"><a href="javascript: this.close()" title="click to close"><img border="0" src="'+link+'" /></a></body>');
      }




If you change the above pasted code from the view.php file to the following




   <?php if (!$gallery_count) { ?>
      var funcList = new Array();
      var previewWin = null;
      function opnWin (link, w,h){
         if (previewWin) previewWin.close();
         previewWin=this.open("#","image_preview","toolbar=no,menubar=no,location=no,scrollbars=auto,resizable=yes,status=yes,width="+w+",height="+h+",left=5,top=5");
         previewWin.document.write('<body leftmargin="0" topmargin="0"><a href="javascript: this.close()" title="click to close"><img border="0" src="'+link+'" /></a></body>');
      }


it should work in IE6 and hopefully IE7. Basically change "image preview" to "image_preview".

Hope this helps.
Logged
albatros

Offline Offline

Posts: 673


WWW
« Reply #12 on: February 15, 2007, 11:42:38 AM »

Hello sporrencense,

you are a hero!!! Great job!!!
Thank you very much!!!

Best regards

albatros
Logged
sporrencense

Offline Offline

Posts: 34


« Reply #13 on: February 15, 2007, 12:41:06 PM »

You are most welcome.

All the best.

Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7970



WWW
« Reply #14 on: February 15, 2007, 01:00:38 PM »

Hello,

thanks for you fix. Added it to the modul and released version 0.8.
danke für den fix. Habe ihn in das Modul übernommen und version 0.8.veröffentlicht.

http://forum.websitebaker.org/index.php/topic,5060.msg34420.html#msg34420

Matthias
« Last Edit: February 15, 2007, 01:03:24 PM by ruebenwurzel » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!