PDA

View Full Version : Failed: DHTML Window widget



yirgach
07-12-2010, 10:44 PM
1) Script Title: DHTML Window widget (v1.1)

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

3) Describe problem:
Used with many webcams, works OK. Except for a Toshiba IK-WB15A (http://www.toshibasecurity.com/products/prod_camera_detail_ikwb15a.jsp). The dhtml page is overwritten by camera code.

Here is some sample code which uses a public camera, any ideas????

------------------------------------------------------------


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<link rel="stylesheet" href="windowfiles/dhtmlwindow.css" type="text/css" />

<script type="text/javascript" src="windowfiles/dhtmlwindow.js">

/***********************************************
* DHTML Window Widget- * This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript">
var testwin=dhtmlwindow.open("testbox", "iframe", "http://166.142.63.56/user/cgi-bin/view_S_t_uF.thtml", "ToshibaCam Web site", "width=700px,height=450px,resize=1,scrolling=1,center=1", "recal")

</script>
<head>

<meta http-equiv="Cache-Control" content="no-cache">
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">

<title>Test DHTML</title>

</head>

<body>
</body>
</html>

---------------------------------------------------------------------

ddadmin
07-13-2010, 04:23 AM
Hmm what do you mean when you say the script is used with a particular web cam? A web cam isn't a browser obviously...

yirgach
07-13-2010, 04:17 PM
Hmm what do you mean when you say the script is used with a particular web cam? A web cam isn't a browser obviously...

I meant that the video stream from that particular Toshiba camera model does not display properly within the dhtml window. Other cameras, such as the IQEye, Stardot, etc. display correctly using the same code.

Have you tried accessing that camera to see what I mean?

EDIT: I failed to mention that you have to use MS IE to watch the video stream, that is when the "effect" happens...