![]() |
|
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG.
This site is not affiliated with Porsche in any way. Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners. |
|
![]() |
Series9 |
![]()
Post
#1
|
Lesbians taste like chicken. ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 5,446 Joined: 22-August 04 From: DeLand, FL Member No.: 2,602 Region Association: South East States ![]() |
If you've seen my webpage, you've discovered that I don't know much about writing code.
I've been messing with a simple bit of Java script and can't get something to work. Below is the code that refreshes my webcam image. I would like to have the ability to add a second webcam image next to the first one and I would like for it to refresh too. I have been able to add the second webcam image. That's no problem, but when I do, neither image refreshes. I've tried a bunch of stuff, but clearly don't understand enough to make it work. The code: <HTML> <HEAD> </HEAD> <BODY onLoad = "webcamRefresh()"> <script LANGUAGE="JavaScript"> <!-- hide var refresh = 15; var seconds = refresh; function webcamRefresh() { document.form.counter.value = --seconds; if (seconds <= 0) { var now = new Date(); var imageURL = "webcam.jpg" + "?" + now.getTime(); document.webcam.src = imageURL; seconds = refresh; } refreshTimer = setTimeout("webcamRefresh()", 1000); } // --> </SCRIPT> <IMG NAME="webcam" SRC="webcam.jpg" WIDTH="512" HEIGHT="384"> <BR> <FORM NAME="form"> <INPUT NAME="counter" TYPE="text" SIZE="2" VALUE BORDER=0> seconds until refresh </FORM> </BODY> </HTML> |
![]() ![]() |
McMark |
![]()
Post
#2
|
914 Freak! ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Retired Admin Posts: 20,180 Joined: 13-March 03 From: Grand Rapids, MI Member No.: 419 Region Association: None ![]() |
Joe, one suggestion:
Add a BORDER=0 to your IMG tags. Right now you get a border around the linked images at the bottom of the page. And here's some logo's for you. Take one, take them all. (IMG:style_emoticons/default/biggrin.gif) Attached image(s) ![]() ![]() ![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 4th July 2025 - 12:58 PM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |