Jump to content

totallychibi

Members
  • Posts

    5
  • Joined

  • Last visited

totallychibi's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. You'll need to use a frameset which reloads one of the frames with another document: <script LANGUAGE="JavaScript"><!--function loadOne() { window.frames[0].location.href = 'apage.html'; setTimeout("loadTwo()",5000);}function loadTwo() { window.frames[0].location.href = 'bpage.html'; setTimeout("loadThree()",5000);}function loadThree() { window.frames[0].location.href = 'cpage.html';}setTimeout("loadOne()",5000);//--></SCRIPT> from http://www.irt.org/script/334.htmor try http://www.w3schools.com/html/tryit.asp?fi...ryhtml_redirectusing the meta equivalent <html><head><meta http-equiv="Refresh"content="5;url=http://www.w3schools.com"></head><body><p>Sorry! We have moved! The new URL is: <a href="http://www.w3schools.com">http://www.w3schools.com</a></p><p>You will be redirected to the new address in five seconds.</p><p>If you see this message for more than 5 seconds, please click on the link above!</p></body></html>
  2. glad to help georgebut as jesh says,if you have made a call to the window.open option,you have brought up a new window full-screened,with toolbars invisible and sized to fullscreenif alt-tab, you will see that when in full screen mode,you would actually have the previous windowand this new full screen windowits not actually possible to make your current browser go full screen as the F11 function doesso the full screen window is a double of your original windownot a big deal for stills and textbut if you are streaming media, you might need to check that double streaming is not too intensive on the serverespecially if the number of people using it increases
  3. thanksthe problem has since been resolvedit wasn't a problem with the location of the sourcethe second alert shows that the source has been correctly definedthe problem has since been resolvedthe ouput was not correctly defined and even though it was pointing at the correct source file,it was draw blanks as there was a conflict
  4. i went through a similar thing as welltrying to get the current page to open full screeni don't think it is possible to link the F11 function through javascriptingi made a call to the window.open functionthe problem is with the syntax of your window.open callall the window parameters need to be grouped togetherit should be grouped window.open('src_location', 'window_name', 'window parameters') eg window.open('test.htm', 'newFullScreenWindow', 'fullscreen=yes, channelmode=yes,scrollbars=yes') http://www.w3schools.com/htmldom/met_win_open.asp lists all the parameters
  5. I have a window divided into 4 seperate frameseach frame streams media,and has the option to pop-up inot a larger imagewhichever image has popped up, enlargedthe page in the frameset will go to about:blanksuch that the application would not be streaming two exactly the same data to two seperate windowswhen the popUp is called via window.open,the corresponding frame image is set to about:blankfrom the main window:function enlarge() { switch (dest){ case "14": window.open('pop21.htm','cam1','width=640,height=550,scrolling=no') top.frames['camera1'].location.href = "about:blank" break case "25": window.open('pop25.htm','cam2','width=1056,height=864,scrolling=no') top.frames['camera2'].location.href = "about:blank" break default: alert("No camera selected") }}when closing the window,from the popUp window:function winClose() { alert(opener.top.frames['camera1'].location.href) opener.top.frames[0].location.href = 'test21.htm' alert(opener.top.frames['camera1'].location.href) window.close()}the first alert shows "about:blank"the second alert then shows the full address for the selected filebut in my window, the frame is empty.......so even though the src has been setand the alert shows thatthe page in the frame is emptyi have tried just location instead of location.hrefhave tried frames['camera1'], frames[0]also tried opener.top.camera1.location.hrefits just that checking opener.top.frames[0].location.href shows the correct addressbut why will the page not load?if i then go to that page and 'view source'i end up with the index page showing me the frameset layout instead of test21.htmare my references incorrect?
×
×
  • Create New...