close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Removal of Info Window - OLD SOLUTIONS not working

Thread began 5/21/2009 4:19 pm by nathan125991 | Last modified 5/21/2009 5:45 pm by nathan125991 | 2757 views | 6 replies |

nathan125991

Removal of Info Window - OLD SOLUTIONS not working

I cycled down too. I bought Google Pro Maps today and I'm trying to prevent the infowindow from popping up.

I don't have any extensive .js files associated with your other solutions. It appears that the solutions are scripted in PHP.

What is the PHP method for commenting out the INFO window, or toggle it to OFF until someone hits the peg?

Thanks,

Nathan

Sign in to reply to this post

Ray BorduinWebAssist

You could comment out the openInfoWindow() function call in the .js code. It should be very similar to before. Do you have a sample url I could tell you the exact line.

Sign in to reply to this post

nathan125991

link to page

locations.php

There's only a few lines in the .js file. The other files are written in php.

Also SPRY breaks the heck out of the google map api. I'm having to search for a different tooltip atm.

Sign in to reply to this post

Ray BorduinWebAssist

If you look at the code you will see code similar to:

GEvent.addListener(marker_0, 'click', function() {
marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
marker_0.openInfoWindowHtml(address_0.infowindowtext);
}


in the line after the addOverlay line, comment out the openInfoWindowHtml line... like:

GEvent.addListener(marker_0, 'click', function() {
marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
// marker_0.openInfoWindowHtml(address_0.infowindowtext);
}

Sign in to reply to this post

nathan125991

There are three sections of code with lines like that. I commented the lines you mentioned in all 3 spots. I still get the infobubble.

Sign in to reply to this post

Ray BorduinWebAssist

You commented out the wrong ones.... look at my example... you now have:

GEvent.addListener(marker_0, 'click', function() {
// marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
marker_0.openInfoWindowHtml(address_0.infowindowtext);
}


when you should have:

GEvent.addListener(marker_0, 'click', function() {
marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
// marker_0.openInfoWindowHtml(address_0.infowindowtext);
}

Sign in to reply to this post

nathan125991

THANK YOU THANK YOU THANK YOU.

It worked.


But then again, you knew it would. Thank you.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...