Sami's Site: CSB - Trellix Support and Tests
previous    next
Test Index   ·   CSB4 Rollover Links   ·   Link Styles 1   ·   Link Styles 2   ·   iFrame Tutorial - IFrames described in detail!   ·   Arrowhead   ·   Excel   ·   Color Blind   ·   Websafe Fonts and tests   ·   Make an Alert Box   ·   Webgem Placeholder Images   ·   Streaming Audio   ·   LINK HOVER TOOLTIP   ·   OverLIB tooltip   ·   Disguise Email   ·   Quote of the Month   ·   Map to your location!   ·   Link Border Test

Map to your location!

How to implement a Link to Mapquest!


Press BACK button to return to this page.



  Capture code here:  press Select All then COPY the contents
Select All
I have made notes in codes below and it will effect functionality!
Use the Select All choice above to copy code!


Place this script into an Insert > HTML  (webgem in Trellix)

Change BLUE items to your address information (use a + instead of space in address)
Change GREEN items to the colors of the rollover link
Change ORANGE items to your link.

<a href="http://www.mapquest.com/maps/map.adp? city=orlando&state=FL&address=20+Coburn+Ave&zip=32805-2138&country=us&zoom=8
" style="text-decoration: none;" onmouseover="this.style.color='#FF0000'"  onmouseout="this.style.color='#330066'">Where is Lambert Corporation?</a>


STYLE TIP:
This sample link uses Font Color RED on mousover with no underline.
Conside the other styles for your link shown on this page.  
Just replace the http reference shown on the other page with the http reference from this link:
http://www.mapquest.com/maps/map.adp? city=orlando&state=FL&address=20+n+coburn+ave&zip=32808&country=us&zoom=8


There are some Linking Restrictions:    Read more about them here.
The MapQuest page you are linking to may not be displayed in a frame set.  
CSB/Trellix implementation: The Mapquest page can not open under your top border so recommend you publish the page without frames.  The Mapquest page can not be opened inside an iFrame as shown here.
The MapQuest page you are linking to may not be displayed in a new browser window.
CSB/Trellix implementation: Must open in the same window as the link, not a popup.
Description of the address link:
Parameter
Description
Examples
Req'd
address
The address for the center point of the map.
20+Coburn+Ave
No
city
The city for the center point of the map.
orlando
Yes
state
The state for the center point of the map.
FL
Yes
zip
The zip code for the center point of the map.
32805-2138
No
country
The country for the center point of the map.
US
No
zoom
Map zoom level, where 1=national and 10=street level
1 through 10
No

The following address field combinations can be used:
Address, city, state and ZIP code
Address, city and state
Address and city
City and state
If ZIP code doesn't match the other information, it is ignored.