The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Website Design > Website Audio & Video
Forgot Password?
                          Register

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old Wednesday, December 31st, 2008, 08:18 AM
muz4k's Avatar
Church Media Regular

 
 Join Date: Feb 2008 
 Last Online: Sunday, April 15th, 2012 
Bash about:blank in address bar

I like this code, and I use it a lot; the video pops up onclick, and autoplays, but I can't figure out how to get rid of the address bar in this popup. Maybe I'm too picky, but I HATE the about:blank at the top, in the address bar. This is some weird code, but see if you can figure what needs to change. Here's the embedded code, and no - I don't remember where I got it.

<START CODE>

<div><a href="videos/jbtetrailer.wmv" onclick="var win=window.open('','mywindow','height=480, width=640');win.document.write('\x3Chtml\x3E\x3Che ad\x3E\x3Ctitle\x3EJourney Below The Earth\x3C/title\x3E\x3Cstyle\x3Ehtml,body {margin:0;padding:0;}\x3C/style\x3E\x3C/head\x3E\x3Cbody\x3E\x3Cembed src=\'videos/jbtetrailer.wmv\' width=\'640\' height=\'480\' autostart=\'1\' showcontrols=\'0\' type=\'application/x-mplayer2\' pluginspage=\'http://www.microsoft.com/windows/windowsmedia/download/\'\x3E \x3C/embed\x3E\x3C/body\x3E\x3C/html\x3E');return false;"><img src="img/Elevate_Overview_Map.jpg" alt=""></a></div>

<END CODE>

Thanks in advance!

Aaron
Attached Images
File Type: bmp popup.bmp‎ (2.08 MB, 16 views)
Reply With Quote Start a New Topic From This Comment
  #2 (permalink)  
Old Wednesday, October 14th, 2009, 10:03 AM
Church Media Regular

 
 Join Date: Feb 2008 
 Last Online: Yesterday 
Try adding the part highlighted in blue. If that doesn;t work make the =1 to say =0

JeffReckart

<div><a href="videos/jbtetrailer.wmv" onclick="var win=window.open('','mywindow','menubar=1,height=480, width=640');win.document.write('\x3Chtml\x3E\x3Che ad\x3E\x3Ctitle\x3EJourney Below The Earth\x3C/title\x3E\x3Cstyle\x3Ehtml,body {margin:0;padding:0;}\x3C/style\x3E\x3C/head\x3E\x3Cbody\x3E\x3Cembed src=\'videos/jbtetrailer.wmv\' width=\'640\' height=\'480\' autostart=\'1\' showcontrols=\'0\' type=\'application/x-mplayer2\' pluginspage=\'http://www.microsoft.com/windows/windowsmedia/download/\'\x3E \x3C/embed\x3E\x3C/body\x3E\x3C/html\x3E');return false;"><img src="img/Elevate_Overview_Map.jpg" alt=""></a></div>

<END CODE>

Thanks in advance!

Aaron[/quote]
Reply With Quote Start a New Topic From This Comment
  #3 (permalink)  
Old Wednesday, October 14th, 2009, 11:34 AM
greg4god's Avatar
Church Media Regular

 
 Join Date: Jun 2007 
 Last Online: Yesterday 
A lot of the modern browsers no matter what will show the current URL that is it displaying for security reasons. (ie. imaging a pop up window where someone mimics the look of an address bar).

-Greg
Reply With Quote Start a New Topic From This Comment
  #4 (permalink)  
Old Wednesday, October 14th, 2009, 12:08 PM
Here to help

 
 Join Date: Sep 2009 
 Last Online: Saturday, March 20th, 2010 
You might want to give this a try also... I didn't have time to test it but found this in some old code I had laying around.

Code:
<div>
<a href="videos/jbtetrailer.wmv" 
onclick="var win=window.open('','mywindow',status=yes,toolbar=no,menubar=no,height=480, width=640');
win.document.write('x3Chtmlx3Ex3Che adx3Ex3Ctitlex3EJourney Below The Earthx3C/titlex3Ex3Cstylex3Ehtml,body {margin:0;padding:0;}x3C/stylex3Ex3C/headx3Ex3Cbodyx3Ex3Cembed src=\'videos/jbtetrailer.wmv\' width=\'640\' height=\'480\' autostart=\'1\' showcontrols=\'0\' type=\'application/x-mplayer2\'
 pluginspage=\'http://www.microsoft.com/windows/windowsmedia/download/\'x3E x3C/embedx3Ex3C/bodyx3Ex3C/htmlx3E');
return false;">
<img src="img/Elevate_Overview_Map.jpg" alt=""></a>
</div>
Reply With Quote Start a New Topic From This Comment
  #5 (permalink)  
Old Wednesday, October 14th, 2009, 12:19 PM
osborn4's Avatar
will design for bandwidth
Become a CMN Professional Member!

 
 Join Date: Aug 2004 
 Last Online: Today 
As a web consumer, I an irritated by web programmers telling my browser how to behave.

But I'm probably a control freak.
__________________
Joel Osborn
Milton SDB Church

"...if we are to glorify God fully, we must engage our mind in knowing him truly and our hearts in loving him duly." - John Piper, Think
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Website Design > Website Audio & Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 12:44 PM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0