but what if i have numerous pages
parent.rightFrame.location.href="http://www.google.co.uk/page1.html";
then
parent.rightFrame.location.href="http://www.google.co.uk/page2.html";
then
parent.rightFrame.location.href="http://www.google.co.uk/page3.html";
thenetc
I want 2 pages to load one after the other into a frame,How do I force the browser to finish loading the first page before it goes onto load the second ?function myfunc() {parent.rightFrame.location.href="http://www.google.co.uk/";parent.rightFrame.location.href="http://news.google.co.uk/"}Thanks
the following sends the body html of the current web page to a textareamypage-document.getElementById('txt1').value= document.body.innerHTML;is it possible to send the body html of a different web page to the textarea ?mypage-document.getElementById('txt1').value= document.body.innerHTML; of mypage2thanks
Is there a way to load a web page html into a string ? I dont mean the page the javascript is on , but an outside page ?i.e.var a = www.mypage.htmlCould you use outerhtml or innerhtml somehow ?Thanks
which is the correct Doc type for java script and html, is it -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">or<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">or<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">or<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">or<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml">Thanks
Im trying to write an extension for dreamweaver, when the extension referencesA new window I want it to change the <body> tag to <body onload="myfunc()">, I,ve looked on Internet and in my books but cant manage it.Any ideas ?Thank you.