Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Offline Popup window
09-15-2005, 07:58 PM #1
- Join Date
- Sep 2005
- Thanked 0 Times in 0 Posts
Offline Popup window
First off I'm a n00b so please be patient with me. I've got a blog @ http://hazedthoughts.blogspot.com, and I'm having problems making java activate a offline popup. Also in conjuction to the blog there is something called a RadioBlog, if you haven't heard about it, please go here, to see it. The RadioBlog is quite simply a player, that simply plays mp3's or rbs files from a designated directory on the server. Very simple right?
What I'm trying to do
You see, I want this blog to be viewed by two people, myself, and a very der friend of mine. The blog, will be in a sense, our safe-haven. With the thought of a personal blog in mind, when viewed I want a popup window of somesort to show up, and pop up the player. Under normal circumstances, this would be easy simply host the player and files on a server, and link to them. This is in fact the complete oppoisite of what I want to do. Reasons being, the playlist is far to large, and bandwidth usuage would be far to great. So in order to prevent this, I've decided to embed in a sub directory on both computers, both phyiscally in the same place, the same files, i.e.: C:\templates\radioblog\radioblog.swf.
The logic behind all this is simple, when she or I both veiw this page, a window will appear towards the bottom of the page, and launch a offline window, a window that is running locally and not remotely, it just needs something to tell it to open, when the time is right. Also, for those who do not have the sub directory on the computer they will not see or know its there at all, for its hidden into the page. I've tried to get this to work locally, and it worked fine, but rather when I load the excat same source onto Google's server, or any server for that matter, a white window will appear, and no player. I've searched and googled for countless hours, and found many answers. Some say its because Java doesn't have direct access to a computers file system, others say you can do it but you have a osfilewrite(), so with all this confusion I asked a college professor, and he said a window.location would work, but me the n00b I don't know what window.location is or its operators are at all.
So Googling window.locations I found this
Last edited by tennisguy03; 09-15-2005 at 08:02 PM.