1
dean_collins
need help with randomisation of webcam iframe

I need some help with the code below, basically it is a modification of Bassmans webcam module but it now allows for a drop down box which allows you to open multiple cameras instead of only 1.

What I need to do is implement some form of refresh of the iframe at the end.

I understand most times the iframe is on a seperate url but I dont know how to implement the dropdown box selection on 1 page with the iframe on this page.

I could do a meta refresh of the whole page every 60 seconds but if I did that then the selection gets lost and it needs to be redropped and selected again.

If you dont want to write the whole code just an idea on what to do with selecting the drop box elsewhere will be enough to get my going.

TIA,
Dean


//****************************************************
//Webcam XOOPS Module v.1 by Bassman
//Website: http://www.bassmanthemes.com
//
//
//
//
//****************************************************
include ('../../mainfile.php');
include (
'../../header.php');
?>






Webcam




Welcome to the webcam portal for 
http://www.aussienymeetup.net 


We've put together a great selection of webcams for you to view.


Please select from one of the choices below










METHOD=POST onSubmit="return dropdown(this.gourl)"Target="webcamembed">

Choose a Destination...
The Rocks (Sydney NSW)
The Surf Club (Mooloolaba QLD)
RTA Harbour Bridge (Sydney NSW)
RTA North Sydney (Sydney NSW)
RTA College St (Sydney NSW)
RTA Anzac Bridge (Sydney NSW)
Narrabeen (Sydney NSW)
Ulladulla Town Cam (NSW)
Three Sisters (Katoomba NSW)
Blue Mountains (Katoomba NSW)
Strathfield Station (Sydney NSW)
Midcoast Water (Forster NSW)
Midcoast Water (Taree NSW)
Rose Bay School (Tas)
Argyle St (Hobert Tas)
ABC Adelaide City View (Adelaide SA)
TSA Adelaide Suburbs View (Adelaide SA)
TSA Adelaide Harbour View (Adelaide SA)
Gorge Creek Orchards (Mareeba Qld)
Palm Beach Nth (Currumbin Qld)
Palm Beach Sth (Currumbin Qld)
Rainbow Bay (QLD)
Brisbane (QLD)
Swanbourne South Beach (Perth WA)
Cottesloe Beach (Perth WA)
Port of Melbourne (Melbourne VIC)
Lake Mountain (Marysville Vic)
Macquarie Island (Australian Antarctic Station)
Casey Station (Australian Antarctic Station)









    OpenTable();
 echo 
"
webcamembed" scrolling="auto" width="650" height="490" marginwidth="0" marginheight="0" frameborder="no">";
    
CloseTable();

include 
XOOPS_ROOT_PATH.'/footer.php';
?>
.

Login

Who's Online

292 user(s) are online (216 user(s) are browsing Support Forums)


Members: 0


Guests: 292


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits