close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

autmatically displaying tooltip information

Thread began 3/26/2010 9:43 am by jfrasier251038 | Last modified 4/01/2010 2:35 pm by Ray Borduin | 2453 views | 9 replies |

jfrasier251038

autmatically displaying tooltip information

I would like the tooltip containing my clients address to display by default on the map, rather then having to click on the flag. How would I accomplish that?

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a sample page? That would allow me to figure out the exact line of code to update in order to solve the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

jfrasier251038

Can I PM or email it to you? At the moment it is behind a secure folder login, and I don't want to give up the login info for everyone to see. Actually I posted a secondary copy to the site so you can review it

contact2.php

Sign in to reply to this post

Ray BorduinWebAssist

find:

if(!fromAddress.enabled || 'address_0' != 'address_0') {
if('address_0' == 'address_0')
map.setCenter(point, 13);
map.addOverlay(new GTrafficOverlay());
map.addOverlay(marker_0);
}



and change it to:


if('address_0' != 'address_0') {
if('address_0' == 'address_0')
map.setCenter(point, 13);
map.addOverlay(new GTrafficOverlay());
map.addOverlay(marker_0);
}



(I only updated the first part so that it shows the window even when directions are present)

Sign in to reply to this post
Did this help? Tips are appreciated...

jfrasier251038

Ray,

Thanks for the code snippet. But I located and replaced the code in the wagmp_map_1.php file and it is still only showing the address window on click. I attached the php file, the code that was replaced starts on line 210

Do I need to clear the cache folder?

Attached Files
wagmp_map_1.zip
Sign in to reply to this post

Ray BorduinWebAssist

Let me see it on a live page. It is hard for me to debug if I have to set up a site for testing.

Sign in to reply to this post
Did this help? Tips are appreciated...

jfrasier251038

Ray,

NP, it is the same page as I provided for the directions not displaying:

contact2.php

Sign in to reply to this post

Ray BorduinWebAssist

It appears one more place in the code..

if (!fromAddress.enabled || 'address_0' != 'address_0') {

should be updated to:

if ( 'address_0' != 'address_0') {

Sign in to reply to this post
Did this help? Tips are appreciated...

neileisen207079

I dont think that works

I tried your solution, because I too, wanted the marker info to be open when the page initially loads. My client didnt even know it could be clicked. I know this can be done, but it has nothing to do with whether or not directions are displayed. I just want the marker to be clicked open when the page first loads. Can you do that? I tried the solution above and it didnt work. I only had one instance of that code.

Attached Files
wagmp_map_1.txt
Sign in to reply to this post

Ray BorduinWebAssist

Please post a url to the page where you are having trouble and I'll try to give advice on how to fix it.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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...