close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Target list clickable?

Thread began 8/05/2009 6:33 pm by jonathan.meilleur385477 | Last modified 8/10/2009 4:42 pm by Eric Mittman | 2552 views | 4 replies |

jonathan.meilleur385477

Target list clickable?

Hi, is it possible to generate a dynamic link (to a page or an application) in the target list result ?

Thanks.

Sign in to reply to this post

Eric Mittman

If you make the target list menu a DW jump menu then you could do this. A jump menu is a regular select list with an onChange event to load the url for the selected item. The location is based on the value for the individual options. So if you make it so the items added to the target list have a URL for the value then this would work. Here is an example of what a jump list looks like in the code just for reference:

<select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
<option value="http://google.com">google</option>
<option value="http://amazon.com">amazon</option>
</select>

So long as you have this DW function defined on the page it will take you to the value:

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

Sign in to reply to this post

jonathan.meilleur385477

Dropdown target list clickable into google map marker

Hi, Is it possible to change which address your map centers on (Pro Maps for Google) with a link in the target list result (Dynamic Dropdowns).


Thanks for the solution.

Sign in to reply to this post

Eric Mittman

The locations that are displayed by the map are drawn in the order they come from the recordset, it is always the last listing that is centered on the map. It may be possible to adjust this with some custom js code based on a URL value after the page has loaded but it is not a technique that I have performed myself. Anyone else out there do any centering of the listed addresses based on a URL value?

Sign in to reply to this post

Eric Mittman

My apologies for not looking around a little better before I posted. While it is not something I have implemented myself it is possible to center the location that is displayed with a link. We have a guide on doing this on the Pro Maps for Google support page:

pro-maps-for-google/

In the How Tos is a document that will guide you through making this change, it is basically just making a URL parameter that caries an instruction for the Google Map.

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