Help - Search - Members - Calendar
Full Version: all the images in the menues has gone
xFX JumpStart Public Forums > DHTML Menu Builder > Frames Implementation > Using HotSpots
mattes
Hello!

I made a frame-set and i used for the menu the dhtml menu builder. Everything works fine till i made something new. In a few sites i implemented some hotspots and onclick a new window open and shows the image in a big size. After that all the images from the menu has gone and have to be loaded again. You see grey and blue boxes till the image has loaded.

Can someone help me?
You can see the sites here: My Webpage
xfx
I have seen that before and its definetly a weird behavior that affects IE only.

Let's try this workaround:

- Open your project in DMB
- Click on Tools->AddIn Editor
- Click on File->Properties
- Type a name for your AddIn (such as FixIENewWindowBug)
- Click OK
- Now look for the execURL2 function
- Inside this function you will see (at the end) this line of code:
CODE
url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url):fObj.location.href = url;

- Now, change it for this one:
CODE
url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url);mFrame.location.reload():fObj.location.href = url;

- Click on File->Exit
- Select to save the changes when asked
- Click on File->Project Properties->Advanced
- Select your AddIn from the list
- Recompile your project (Tools->Compile)

Let me know if this fixes the problem.
mattes
Hello Xavier!

i tried the way you told me. But i get some mistakes. At the preview i get first this message:

and then i say ok i get the second one:



Online itīs the same. You have another idea?

Thanks mattes
xfx
Ok, change the code I suggested for this one:

CODE
url.indexOf("javascript:")!=url.indexOf("vbscript:")?FollowURL(url):fObj.location.href = url;


Then, while on the AddIn Editor click on Function->Add...
Under "Function Name" type: "FollowURL"
Click OK
On the parameters text box type "url"
On the code section type this:

CODE
eval(url);mFrame.location.reload();


Exit the AddIn Editor and save the changes when asked.

Hope this helps.

Here's a screenshot of how the new function section should look like:
mattes
??? Hey Xavier!

itīs me again. I made everything you told me and here is the result:

www.tauchsache.de

please try the point "Jalousetten" . I also get a mistake. You need some more information from me, just tell me.

Thanks

Mattes
xfx
Let's try to fix the javascript error first.
Unzip the attached file and copy its contents on the folder where you installed DMB.

Recompile your project and let me know when you're done.
Then I will re-check the code I sugested to fix the problem with the images.
mattes
smile.gif ok, i changed the file. The error has gone. Big Thanks.

But the menu still makes the same error. All the images have to be loaded again. I hope you find a solution for the menu...

Mattes
mattes
QUOTE
Let's try to fix the javascript error first.
Unzip the attached file and copy its contents on the folder where you installed DMB.

Recompile your project and let me know when you're done.
Then I will re-check the code I sugested to fix the problem with the images.

Hallo Xavier,

have you found a soloution for my problem?

Thanks,

Mattes
xfx
mattes,

This will be fixed on the next 3.6 release.

Developing a solution through an AddIn is not a productive way fo tfixing this issue so I have decided to include the fix into the application itself.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.