information is displayed on a pop-up window

4 messages Options
Embed this post
Permalink
Nisha P

information is displayed on a pop-up window

Reply Threaded More More options
Print post
Permalink
Hi All

I have a point layer in my map..when i click a point on the map,the information will got in the right side of the map(taskpane)..

I want to display the information on a pop-up window..For this, in which file I have to write the code for pop-up?

I am using mapguide open and maestro with php and ajaxviewer..















Thanks and regards

Nisha


_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Kenneth Skovhede, GEOGRAF A/S

Re: information is displayed on a pop-up window

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
In your WebLayout there is an option that states "Linktarget" or "Links open in".
Select either "New window" or "Specified frame" and write "_blank" as the frame (without quotes).
Regards, Kenneth Skovhede, GEOGRAF A/S


NISHA P skrev:
Hi All

I have a point layer in my map..when i click a point on the map,the information will got in the right side of the map(taskpane)..

I want to display the information on a pop-up window..For this, in which file I have to write the code for pop-up?

I am using mapguide open and maestro with php and ajaxviewer..















Thanks and regards

Nisha


_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Nisha P

Re: information is displayed on a pop-up window

Reply Threaded More More options
Print post
Permalink
Hi Kenneth

I did this also..But in "New window",the location of the file is shown in the address bar...So that I want to display the  details on a

pop up window...But I don't know in which file i have  to  write the script for pop-up window..







On Wed, Nov 4, 2009 at 3:30 PM, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
In your WebLayout there is an option that states "Linktarget" or "Links open in".
Select either "New window" or "Specified frame" and write "_blank" as the frame (without quotes).
Regards, Kenneth Skovhede, GEOGRAF A/S


NISHA P skrev:
Hi All

I have a point layer in my map..when i click a point on the map,the information will got in the right side of the map(taskpane)..

I want to display the information on a pop-up window..For this, in which file I have to write the code for pop-up?

I am using mapguide open and maestro with php and ajaxviewer..















Thanks and regards

Nisha


_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Nisha
[hidden email]



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Kenneth Skovhede, GEOGRAF A/S

Re: information is displayed on a pop-up window

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
That is not directly supported.
You can make a link like this (in Maestro):
javascript:window.open('http://www.google.com');

An alternative version is to create a html page that parses the querystring and opens the supplied link, like:
<html>
<body onload="activate_popup();">
<script>
function activate_popup() {
  var url = document.location.href; //Get full url
  url = url.substring(url.indexOf("?url=") + "?url=".length); //Strip until ?url=
  url = decodeURIComponent(url); //Fix up any browser url mangling
  window.open(url); //Add options here
}
</script>
</body>
</html>

Save the html as popup.html.
Then make a hidden frame as the target, and place an url like this (in Maestro):
popup.html?url=http://www.google.com


Beware that most browsers will block popups that are activated with the "window.open" call.
Regards, Kenneth Skovhede, GEOGRAF A/S


NISHA P skrev:
Hi Kenneth

I did this also..But in "New window",the location of the file is shown in the address bar...So that I want to display the  details on a

pop up window...But I don't know in which file i have  to  write the script for pop-up window..







On Wed, Nov 4, 2009 at 3:30 PM, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
In your WebLayout there is an option that states "Linktarget" or "Links open in".
Select either "New window" or "Specified frame" and write "_blank" as the frame (without quotes).
Regards, Kenneth Skovhede, GEOGRAF A/S
    


NISHA P skrev:
Hi All

I have a point layer in my map..when i click a point on the map,the information will got in the right side of the map(taskpane)..

I want to display the information on a pop-up window..For this, in which file I have to write the code for pop-up?

I am using mapguide open and maestro with php and ajaxviewer..















Thanks and regards

Nisha


_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Nisha
[hidden email]



_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users