Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorhebel
    • CommentTimeMay 12th 2007
     permalink
    --LIVE SEARCH BOX------------------------------------------------

    <!-- Live Search -->
    <meta name="Search.WLSearchBox" content="1.1, en-GB" />
    <div id="WLSearchBoxDiv">
    <table cellpadding="0" cellspacing="0" style="width: 322px"><tr id="WLSearchBoxPlaceholder"><td style="width: 100%; border:solid 2px #4B7B9F;border-right-style: none;"><input id="WLSearchBoxInput" type="text" value="Loading..." disabled="disabled" style="padding:0;background-image: url(http://search.live.com/s/siteowner/searchbox_background.png);background-position: right;background-repeat: no-repeat;height: 16px; width: 100%; border:none 0 Transparent" /></td><td style="border:solid 2px #4B7B9F;"><input id="WLSearchBoxButton" type="image" src="http://search.live.com/s/siteowner/searchbutton_normal.png" align="absBottom" style="padding:0;border-style: none" /></td></tr></table>
    <script type="text/javascript" charset="utf-8">
    var WLSearchBoxConfiguration=
    {
    "global":{
    "serverDNS":"search.live.com",
    "market":"en-GB"
    },
    "appearance":{
    "autoHideTopControl":false,
    "width":600,
    "height":400,
    "theme":"Blue"
    },
    "scopes":[
    {
    "type":"web",
    "caption":"mysite",
    "searchParam":"site:www.mysite.com"
    }
    ,
    {
    "type":"web",
    "caption":"Web",
    "searchParam":""
    }
    ]
    }
    </script>
    <script type="text/javascript" charset="utf-8" src="http://search.live.com/bootstrap.js?market=en-GB&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
    </div>
    <!-- Live Search -->


    -----Google map-----------------------------------------------------------------

    <!-- ++Begin Map Search Control Wizard Generated Code++ -->
    <!--
    // Created with a Google AJAX Search Wizard
    // http://code.google.com/apis/ajaxsearch/wizards.html
    -->

    <!--
    // The Following div element will end up holding the map search control.
    // You can place this anywhere on your page
    -->
    <div id="mapsearch">
    <span style="background:#666; color:#fff;font-size:11px;margin:10px;padding:4px;">Loading...</span>
    </div>

    <!-- Maps Api, Ajax Search Api and Stylesheet
    // Note: If you are already using the Maps API then do not include it again
    // If you are already using the AJAX Search API, then do not include it
    // or its stylesheet again
    //
    // The Key Embedded in the following script tags is designed to work with
    // the following site:
    // http://mysite.com
    -->
    <script src="http://maps.google.com/maps?file=api&v=2&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    type="text/javascript"></script>
    <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    type="text/javascript"></script>
    <style type="text/css">
    @import url("http://www.google.com/uds/css/gsearch.css");
    </style>

    <!-- Map Search Control and Stylesheet -->
    <script type="text/javascript">
    window._uds_msw_donotrepair = true;
    </script>
    <script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js?mode=new"
    type="text/javascript"></script>
    <style type="text/css">
    @import url("http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css");
    </style>

    <style type="text/css">
    .gsmsc-mapDiv {
    height : 275px;
    }

    .gsmsc-idleMapDiv {
    height : 275px;
    }

    #mapsearch {
    width : 365px;
    margin: 10px;
    padding: 4px;
    }
    </style>

    <script type="text/javascript">
    function LoadMapSearchControl() {

    var options = {
    zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
    title : "map",
    url : "http://mysite/map.php",
    idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
    activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
    }

    new GSmapSearchControl(
    document.getElementById("mapsearch"),
    "Cardiff, Wales",
    options
    );

    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadMapSearchControl);
    </script>
    <!-- ++End Map Search Control Wizard Generated Code++ -->
Add your comments
    Username Password
  • Format comments as (Help)