Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Explorer bars

Status
Not open for further replies.

ScottCybak

Programmer
Sep 29, 2000
48
CA
Hi,

I've managed to get my own custom explorer bar html page to open documents in the _main portion of the IE window, but, i'd like to display the URL of the page that is loaded in _main on my explorer bar.

.. document.location.href displays the url of the html page in the explorer bar.. and i'm a novice with javascript, so i'm unsure as to how to grab the _main window portion location

TIA! Scott Cybak
scott@athree.com
 
Could you put up your code? BobbaFet

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com

&quot;<beer brand> is like making love in a cano...
it's <f-word + ing> close to water !!!&quot;
- Monty Python's Flying Circus, 1969/70
 
There is no code as of yet.. but, so far i have this on the page that i want to appear

<a href=&quot;javascript: fShowLink();&quot;>test</a>

.. and, in a linked js file:

function fShowLink() {
var strUrl = window._main.location.href;
alert(strUrl);
}

i'm at least trying to get it to alert me with the page the _main portion of the current window is on..

Danke! Scott Cybak
scott@athree.com
 
Just a bump, i haven't been able to figure this out yet.

i've tried so far:

parent._main.location.href
top._main.location.href
frame['_main'].location.href

all return errors..

anyone care to guess? Scott Cybak
scott@athree.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top