Jump to content


[Resolved]Problem with Image-Popup in IE


  • This topic is locked This topic is locked
8 replies to this topic

#1 webdesign88

    Etomite Forum Newbie

  • Member
  • 31 posts

Posted 06 April 2008 - 01:32 PM

hey guys!

another day, another problem! ;-)

i just inserted in my etomite site an image, on which i put a hyperlink, which should be opened with a javascript popup.

the problem is, that this popup didn't works in IE.
in firefox is everything fine, but not in the IE.

could you please help me?

here is the link to the etomite-site:
http://www.naturstein-praxl.at/naturstein_praxl_marmor.html

the image i inserted the link is "Arabescato".

hope for your help!

best regards, alex!

PS: The "Powered by Etomite"-link you can find under the navigation-point "impressum"

#2 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 06 April 2008 - 02:06 PM

Which versions of IE have you verified there to be a problem in, both IE6 and IE7, or just one of them...??? It could either be the Javascript code or CSS related...

EDIT:

Javascript error in IE7:

Line: 36
Char: 1
Error: invalid argument
http://www.naturstein-praxl.at/naturstein_praxl_marmor.html


If your browsers status bar is turned on, and you should always leave it turned on, you would see a warning triangle in the lower left corner which, when clicked, will display any Javascript errors... I have found that IE is far less forgiving of simple code mistakes that other browsers overlook...

#3 webdesign88

    Etomite Forum Newbie

  • Member
  • 31 posts

Posted 07 April 2008 - 06:46 AM

Hello Ralph!

Thank you for your fast reply!

The problem I have detected appeared as well in IE 5.5 as in IE 7!

I have seen the warning in my status bar, but can you tell me please how I should solve the problem?
Indeed I have corrected the strict HTML-code in Etomite, which should mean, that I modified the tags like <br /> in </br>, but Etomite changes my modifications automatically back to <br />.

Do you have some hints for me how to tackle the problem?

Best regars, Alex!

#4 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 07 April 2008 - 01:09 PM

You'll need to debug the Javascript code or check with the script creators support forum, if they have one... I'm busy trying to debug and improve Etomite code and don't have the time to invest into debugging someone elses Javascript...

Several simple items to look for, that I have found to be problems with IE, are:
* Check for a straggling comma after the lest element of an array structure
* Check for a straggling semi-colon after a closing curly brace };
* Make sure all variables are defined before use

#5 webdesign88

    Etomite Forum Newbie

  • Member
  • 31 posts

Posted 07 April 2008 - 03:38 PM

Hi Ralph!

Thank you for your answer, but unfortunately I don't have any experience in debugging!
Are there any good hints you could give me what I have to do?

You said:

View PostRalph, on Apr 7 2008, 02:09 PM, said:

* Check for a straggling comma after the lest element of an array structure
* Check for a straggling semi-colon after a closing curly brace };
* Make sure all variables are defined before use

But where do I have to look for this code-problems? In the normal HTML code of the document?
If so, isn't it a problem of Etomite itself? That means, if I make a new popup link, will not be there the next code-problem?

Best regards, out of Austria, Alex!

#6 Ed Headset

    Likes Etomite Forums!

  • Developers
  • PipPip
  • 194 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Etomite, PHP, Ajax.
    3D imaging

Posted 07 April 2008 - 07:22 PM

Hi,

I'll try and help you on your way ;)

If you look at the code you used on the page, and I've tested it, the second pop up works, the first one doesn't

If you know that it should be simple, compare the code form pop up 1 with pop up 2

If you check the code, you'll see:
Code of first pop up:
<a href="../bilder/marmor_grossebilder/arabescato.jpg" title="Marmor - Arabescato" 
onclick="window.open('../bilder/marmor_grossefotos/arabescato.jpg','Marmor -
Arabescato','width=600,height=600,top='+(screen.availHeight/2-300)+'');return false;">
Code of the second pop up:
<a href="../bilder/marmor_grossefotos/biancocarrara.jpg" 
onclick="window.open '../bilder/marmor_grossefotos/biancocarrara.jpg',
'','width=610,height=610');return false;">

If you do some checking, and comparing there is something totally different in pop up 1:

Quote

onclick="window.open('../bilder/marmor_grossefotos/arabescato.jpg','Marmor - Arabescato','width=600,height=600,top='+(screen.availHeight/2-300)+'');return false;"

There is something wrong in the bold section.
And my guess is the double quote (") is made out of two single quotes.
this should be a single quote, they shouldn't be there, or the whole bold section shouldn't be here at all.
As it is not used in the second pop up, and that one does work ;)

#7 webdesign88

    Etomite Forum Newbie

  • Member
  • 31 posts

Posted 07 April 2008 - 08:40 PM

WONDERFULL!!! AMAZING!!! :lol:

Exactly this was the problem, and now it works alright!

Thank you very much!
All the best, Alex!

#8 Ed Headset

    Likes Etomite Forums!

  • Developers
  • PipPip
  • 194 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Etomite, PHP, Ajax.
    3D imaging

Posted 08 April 2008 - 07:24 AM

View Postwebdesign88, on Apr 7 2008, 09:40 PM, said:

WONDERFULL!!! AMAZING!!! :lol:

Exactly this was the problem, and now it works alright!

Thank you very much!
All the best, Alex!
You're welcome :D

#9 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 08 April 2008 - 08:20 AM

Support Issue Resolved!

The issue this topic was opened for has been resolved, and we look forward to helping you in the future. If you need further assistance, please open a new topic.

This topic will now be marked as Resolved. If you are satisfied with the support provided here at Etomite (or just appreciate the service we provide), you may want to make a donation to help cover forum and server costs in order to help this quality support continue. If you wish to donate, click Here





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users