| | |
Display iframe source in web browser's address bar
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 71
Reputation:
Solved Threads: 0
Hi I have an iframe on my website and it will load new content inside of the iframe when a user clicks on a link. You never navigate away from the page. Is there a way to display the source of the iframe or the html file that is being displayed in the iframe in the web browsers address bar? I would like to do this using JavaScript. I do not really want to use PHP or SSI on my website because of the capacity of the server.
Also I do not know if this matters but the primary way that the information is displayed in the iframe is through a flash menu bar.
Also I do not know if this matters but the primary way that the information is displayed in the iframe is through a flash menu bar.
> Is there a way to display the source of the iframe or the html file
> that is being displayed in the iframe in the web browsers address
> bar?
AFAIK, no. It seems pretty logical that the URL in the address bar doesn't change given that the user hasn't navigated away from the resource/web page and is shown new content which is shipped to and fro via remote scripting.
> that is being displayed in the iframe in the web browsers address
> bar?
AFAIK, no. It seems pretty logical that the URL in the address bar doesn't change given that the user hasn't navigated away from the resource/web page and is shown new content which is shipped to and fro via remote scripting.
I don't accept change; I don't deserve to live.
you could put it in the status bar
not familiar with flash
but
<iframe id='name' src='file1.html'>iframe</iframe>
<a onclick="document.name.src='file2.html';window.status='file2.html';">Next page</a>
the flash equivalent should work
not familiar with flash
but
<iframe id='name' src='file1.html'>iframe</iframe>
<a onclick="document.name.src='file2.html';window.status='file2.html';">Next page</a>
the flash equivalent should work
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
javascript operates "without PHP or something of the equivalent."
used in many scripts to display prompts in the status bar
here is a bunch of them
http://www.javascriptkit.com/script/cutindex19.shtml
used in many scripts to display prompts in the status bar
here is a bunch of them
http://www.javascriptkit.com/script/cutindex19.shtml
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: save and load font and background setting using cookies
- Next Thread: Can't get login to work online!!!!!
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file form forms google gwt gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onerror onmouseoutdivproblem onreadystatechange parent pdf php player post problem progressbar rated rating regex runtime scroll search security select session shopping size software sql star stars synchronous text textarea unicode validation w3c web website window windowofwords windowsxp wysiwyg xml \n






