Previous Message
Next Message

RE: [css-d] Can I "pop up" a div?

Sent by Nik Schramm on 31 January 2002 12:12

Come to think of it, this is better:

<script language="javascript" type="text/javascript">
function showWindow(id) {
	var text = document.getElementById(id).innerHTML;
	var header = "<html><head></head><body>" + text +
	var newWin ='','','width=400,height=400');
<a href="#" onclick="showWindow('l1'); return false;">Clickclick</a>
<div id="l1">
<p>Help me with my logic ... I'm using an experimental page (so as not
to screw up the main site)... I moved my inline positioning styles to an
external CSS file (separate from the main one)... I was thinking that I
could just have a link on each scroller layer (at the bottom) that said
"print this page"... then I could use javascript to pop open a box with
that "layer" in it.</p></div>

Adjust to suit...

N i k   S c h r a m m
nae | interactive | graphic | arts
iNet: | eMail: [EMAIL-REMOVED]
Previous Message
Next Message

Message thread: