PDA

View Full Version : Open Window with Full Screen Window Opener with Link instead of button.



ezink
12-22-2008, 04:51 PM
1) Script Title: Full Screen Window Opener

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/window1.htm

3) Describe problem: How do I change this script to onclick to open new window when clicking a link rather than a button. I want to open a fullscreen slideshow using this script by having the window open when a thumbnail image is clicked.

Snookerman
12-22-2008, 06:26 PM
Replace this:

<form>
<input type="button" onClick="fullwin('http://www.dynamicdrive.com')" value="Open window">
</form>
with this:

<a href="#" onClick="fullwin('http://www.dynamicdrive.com')">Open window</a>

ezink
12-22-2008, 08:35 PM
Thankyou... works great in IE, Opera, and Firebird... except Firebird leaves the status bar. Is there anyway to not load the status bar in Firebird? I tried adding status=0 and statusbar=0 with no affect.

Snookerman
12-22-2008, 10:05 PM
Firebird?? Is that like Firefox 1?

ezink
12-23-2008, 07:02 PM
Ha ha ... must have been a latent memory of my 1967 Firebird....

Yes... I mean Firefox. Is there anyway to not load the status bar in Firebird? I tried adding status=0 and statusbar=0 with no affect.

Thankyou Snookerman for your help.

diltony
12-23-2008, 08:02 PM
<a href="javascript:void(0)" onClick="fullwin('http://www.dynamicdrive.com')">Open window</a>
or
<a href="javascript:fullwin('http://www.dynamicdrive.com');">Open window</a>

will also work fine.

Snookerman
12-23-2008, 08:05 PM
Yes... I mean Firefox. Is there anyway to not load the status bar in Firebird?
:D well Firefox did have a couple of different names, one of them being Firebird.