-
DHTML Window widget dragging
1) Script Title:
DHTML Window widget (v1.03)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem:
When sourcing an iframe and dragging the window the script hides the iframe.
This is the part of the script where this happens:
if (t.contentarea.datatype=="iframe"){ //if content of this window div is "iframe"
t.style.backgroundColor="#fff" //colorize and hide content div (while window is being dragged)
t.contentarea.style.visibility="hidden"
}
And then an accompanying onmouseup shows the iframe again
What I would like to know is can I just hide a specified id inside that iframe, rather than the whole thing?
I am struggling to figure out how. Can anyone help?
Thanks,
Hayley
-
-
I have figured it out, I gave my iframe an id and did this:
if (t.contentarea.datatype=="iframe"){
f = document.getElementById("contentframe");
f.contentWindow.document.getElementById("attributes").style.visibility="hidden";
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks