Click here to Skip to main content
15,892,161 members
Home / Discussions / Web Development
   

Web Development

 
AnswerDetailsView Pin
David Mujica27-Mar-13 3:49
David Mujica27-Mar-13 3:49 
AnswerRe: Update records sequentially in asp.net c# Pin
Bernhard Hiller27-Mar-13 23:15
Bernhard Hiller27-Mar-13 23:15 
GeneralRe: Update records sequentially in asp.net c# Pin
Stuart Fraser1-Apr-13 21:38
Stuart Fraser1-Apr-13 21:38 
QuestionI have a problem Pin
Ericdick26-Mar-13 6:09
Ericdick26-Mar-13 6:09 
AnswerRe: I have a problem Pin
Richard MacCutchan26-Mar-13 6:48
mveRichard MacCutchan26-Mar-13 6:48 
GeneralRe: I have a problem Pin
Ericdick26-Mar-13 9:46
Ericdick26-Mar-13 9:46 
QuestionRe: I have a problem Pin
Richard MacCutchan26-Mar-13 22:39
mveRichard MacCutchan26-Mar-13 22:39 
Question[ask] How to load streetview in css template Pin
ecaiseng24-Mar-13 18:32
ecaiseng24-Mar-13 18:32 
Hi, I'm a newbie in javascript

Can anyone help me/show me how to load streetview in id=center on css below??


body{
background-color:#fff;
font-size:16px;
marginBlush | :O ;
paddingBlush | :O ;
}

#header{
height:150px;
background-image: url(../images/header.png);
background-repeat: no-repeat;
padding-top:170px;
margin-bottom:150px;
background-position: left top;
}

#left{
float:left;
width:200px;
background-color:#dc8;
min-height:650px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:650px; /* for IE5.x and IE6 */
}

#center {
margin-left:200px;
min-height:650px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:650px; /* for IE5.x and IE6 */
}

#footer {
clear:both;
background-color:#333;
height:100px;
}


this is my streetview code :


function initialize() {
// Set up Street View and initially set it visible. Register the
// custom panorama provider function. Set the StreetView to display
// the custom panorama 'reception' which we check for below.
var panoOptions = {
pano: 'Elektro_UNDIP',
visible: true,
panoProvider: getCustomPanorama
};

var panorama = new google.maps.StreetViewPanorama(
document.getElementById('pano_canvas'), panoOptions);
}

// Add links when it happens "links_change" event.
//google.maps.event.addListener(panorama, "links_changed", createCustomLink);

// Return a pano image given the panoID.
function getCustomPanoramaTileUrl(pano, zoom, tileX, tileY) {
// Note: robust custom panorama methods would require tiled pano data.
// Here we're just using a single tile, set to the tile size and equal
// to the pano "world" size.
return 'images/Elktr_tanjakan-edit.jpg';
}

// Construct the appropriate StreetViewPanoramaData given
// the passed pano IDs.
function getCustomPanorama(pano, zoom, tileX, tileY) {
if (pano == 'Elektro_UNDIP') {
return {
location: {
pano: 'Elektro_UNDIP',
description: 'Elektro View - UNDIP, Semarang'
},
links: [],
// The text for the copyright control.
copyright: 'Imagery (c) 2010 Google',
// The definition of the tiles for this panorama.
tiles: {
tileSize: new google.maps.Size(2048, 720),
worldSize: new google.maps.Size(2048, 720),
// The heading in degrees at the origin of the panorama
// tile set.
centerHeading: 180,
pitch: 0,
getTileUrl: getCustomPanoramaTileUrl
}
};
}
}

google.maps.event.addDomListener(window, 'load', initialize);


Please help me master...
AnswerRe: [ask] How to load streetview in css template Pin
Bernhard Hiller25-Mar-13 1:58
Bernhard Hiller25-Mar-13 1:58 
QuestionRe: [ask] How to load streetview in css template Pin
ecaiseng27-Mar-13 22:05
ecaiseng27-Mar-13 22:05 
AnswerRe: [ask] How to load streetview in css template Pin
Bernhard Hiller27-Mar-13 22:16
Bernhard Hiller27-Mar-13 22:16 
GeneralRe: [ask] How to load streetview in css template Pin
ecaiseng28-Mar-13 0:07
ecaiseng28-Mar-13 0:07 
Questionhow to send mail using json in html form Pin
Arun kumar Gautam22-Mar-13 23:04
Arun kumar Gautam22-Mar-13 23:04 
AnswerRe: how to send mail using json in html form Pin
Richard MacCutchan22-Mar-13 23:53
mveRichard MacCutchan22-Mar-13 23:53 
GeneralRe: how to send mail using json in html form Pin
Jasmine250127-Mar-13 7:45
Jasmine250127-Mar-13 7:45 
GeneralRe: how to send mail using json in html form Pin
Richard MacCutchan27-Mar-13 7:48
mveRichard MacCutchan27-Mar-13 7:48 
GeneralRe: how to send mail using json in html form Pin
Jasmine250127-Mar-13 8:52
Jasmine250127-Mar-13 8:52 
GeneralOT Pin
Richard MacCutchan27-Mar-13 23:57
mveRichard MacCutchan27-Mar-13 23:57 
GeneralRe: OT Pin
Jasmine250128-Mar-13 5:29
Jasmine250128-Mar-13 5:29 
QuestionPrevent Email Harvesting Pin
ASPnoob22-Mar-13 4:10
ASPnoob22-Mar-13 4:10 
AnswerRe: Prevent Email Harvesting Pin
dusty_dex22-Mar-13 5:10
dusty_dex22-Mar-13 5:10 
QuestionHow to get data from the other website in php Pin
surendra4u20-Mar-13 0:32
surendra4u20-Mar-13 0:32 
AnswerRe: How to get data from the other website in php Pin
dusty_dex20-Mar-13 3:03
dusty_dex20-Mar-13 3:03 
AnswerRe: How to get data from the other website in php Pin
dusty_dex22-Mar-13 5:28
dusty_dex22-Mar-13 5:28 
AnswerRe: How to get data from the other website in php Pin
Josh Houghtelin26-Jul-13 20:53
Josh Houghtelin26-Jul-13 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.