GoTo URL in a new popup window - possible?

Special forum to share and discuss skins for Pano2VR and Object2VR
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hummm
Digging deeper, Opera can open as required but its default settings need changing.

To set it up properly, I say properly, I mean so it falls in line with the other browsers:
Press Alt on your keyboard to bring up the menu.
Click Settings, Preferences, then the Advanced tab then Additional tab options….
Tick Open windows instead of tabs, then click OK.

This makes it behave similar to IE.
Hopki :)
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
DemonDuck
Posts: 111
Joined: Sun Feb 15, 2009 1:15 am

Hopki wrote:Hi
I am working on this, Link

This opens a panorama with four chromless windows.

1st on the left hand sign post, point hotspot opens a video.
2nd on the road, point hotspot open a html page with a scroll bar.
3rd on the right sign post an area hotspot open a video
4th button in the skin opens a video

The problem at the moment is I can set resize, yes and no, and scroll bars, yes and no, but this only really works in IE, Google chrome and the other web browsers the window is still resizable regardless of settings. :x

The project continues……. :roll:
Hopki :)



Edit:
Just added a NN3 Video
Yes it works on W7 64 with FF 3.5.7. That the pano goes from full screen to normal when a hotspot is clicked is expected.

Could you please post the snippit you use for the hotspot that pops up a chromeless window? I don't know how to do that.
Toxi
Posts: 12
Joined: Wed Feb 17, 2010 2:20 pm

Hey dp.math and the others. It seems I am stuck with a similar problem here. How would you go about opening such a new popup, at best without chrome? Where do I put the code? Export as html and then edit this file?
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

This puts me in an awkward situation; I sell a skin pack on my website that includes this. The skin is YTV-EIL V1.3, the preview can be seen Here

Point Hotspot on the left street sign, area hotspot on the right street sign and then a pop up from the right hand button.

I have spent a long time developing this as you can see from my first posts. I can now set most of the attributes when calling a new window, size, scroll bars, resize etc.

As others have paid good money to for it, I am not going to just post how to do it here. However if you also want to put the time and effort in, as a starting point, some of the code is in the html the swf file is in, while the code to set the file name and parameters is in the skin. The skin can call any size popup and any attribute it needs to, as the above demonstration shows.

Sorry for not giving away more.
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
tuesi
Posts: 34
Joined: Fri Oct 22, 2010 12:34 pm

It is possible.
After some research...http://kb2.adobe.com/cps/141/tn_14192.html

For the hotspot put the following in the URL field...this works for me and pops up a window based on these specifications:

javascript:window.open('http://www.dell.com','win','height=480,width=640,toolbar=no,scrollbars=yes');void(0);


You can even do this:
javascript:saySomething('this is Pano2VR calling a javascript function on the webapge');void(0);

In your html page:

Code: Select all

<script type="text/javascript">
			function saySomething(panotext){
				alert(panotext);
			}
</script>
tuesi
Posts: 34
Joined: Fri Oct 22, 2010 12:34 pm

Just tried this in the 3.0 beta2 and this still works. Thank you. Please keep this in, it's really useful.
Post Reply