Open email link without url bar/chromeless/browserless

I need to be able to insert a link in an email and have a browser window open that plays an swf movie without the url bar, menu, and buttons.
kylevnAsked:
Who is Participating?
 
James_TConnect With a Mentor Commented:
I see, the only way would be to host the above page somewhere and link to the hosted page from the email
0
 
bpmurrayCommented:
You can add it to the link like this:

<a href='javascript:window.open("file.swf","Title","height=200,width=300");'>Click</a>
0
 
kylevnAuthor Commented:
I appreciate your attempt but emails disable any javascript unless I'm missing something here.

You can test your method, if you use Outlook create an email and attach the file you created above, you must click the little arrow beside insert and insert it as text. Check the results.

Thanks.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
bpmurrayCommented:
Yes, you're right - I forgot about that. Unfortunately <a href='file.swf'>Click</a> will only open in a normal window.
0
 
kylevnAuthor Commented:
The closest I can come to a work around which only works in IE and Opera not Safari or Firefox. Is this;

Have a normal link from an email and point it to a file like this

<html>
<head>
<title>Opening...</title>
<script language="JavaScript">
<!--

function OpenMyWin(){
window.open('main_file_i_want.html','','status=yes,width=360,height=320');
window.close();
}

// -->
</script>
</head>

<body onLoad="window.opener='';OpenMyWin()">
</body>
</html>

this opens redirects with the javascript and closes itself.

I know it's possible some way some how.
0
 
bpmurrayCommented:
Of course. If you redirect, it'll work fine. Try this in the called file:

    <body onload='window.open("file.swf","Title","height=200,width=300");'>

The downside of this is that it'll trigger any popup blocker.
0
 
kylevnAuthor Commented:
<body onload='window.open("file.swf","Title","height=200,width=300");'>
Essentially does the same thing except the code I have closes the window behind itself making it look seemless.

There must be a way to execute code within a current file to get rid of the browser either javascript or within action scripting.

I have read that it isn't possible but I have a hard time swallowing that.

Thanks for your input thus far.
0
 
James_TCommented:
I'm not sure what you need to do that your current code doesnt do.  The only way you can get it to look less like a browser window is to not show the status bar which would just involve removing the status=yes property, so that line would look like this:

window.open('main_file_i_want.html','','status=yes,width=360,height=320');

There arent any more changes you can make to make it look less like a browser window
0
 
James_TCommented:
Sorry I meant that line would look like this:

window.open('main_file_i_want.html','','width=360,height=320');
0
 
James_TCommented:
Here is a page detailing all the properties you can set when using window.open

http://www.htmlite.com/JS016.php

There is a pop up showing each property and how it looks, your code is the closest to not resembling a browser window that you are going to get i'm afraid.

James
0
 
kylevnAuthor Commented:
The problem is this the link will open via email, no javascript is aloud. I was thinking there would be a way to execute the within the new window.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.