window.location with target

toetje
toetje used Ask the Experts™
on
For a navigationbar I use the following script:
<tr>
<td align="left" style="cursor:hand; border: 1px; border-style: solid; border-color: #ffff00; background-color:#a7da81" onclick="window.location='home.htm'" onmouseover="this.style.backgroundColor='#FFEB5D'; window.status='HOME'" onmouseout="this.style.backgroundColor='#a7da81'; window.status='Vesting Bourtange'"><A HREF="home.htm" target="basis" class="mainlink"><b>HOME</b></a></td>
</tr>

The article is pointed to the target 'basis'.
Is it possible to enter this target in the style-line: onclick="window.location='home.htm'"
i.e.: onclick="window.basis.location='home.htm'"?

I hope someone can help me out.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
onclick="window.open('home.htm','basis');"
if the 'basis' window is already opened, it will simply change the URL of that window.

Author

Commented:
Thanks!
It's working gloomy!
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Oh oh !
My Englisch!
Not gloomy of course, but PERFECT!

Author

Commented:
Oh oh !
My Englisch!
Not gloomy of course, but PERFECT!
thanks!  I was wondering about that :)

I thought maybe it was a new hip word that I am too old be familiar with :)

how 'bout some points to go with that ...
Points would be Gloomy, man! ;-)
Michel PlungjanIT Expert
Top Expert 2009

Commented:
toetje,
No comment has been added lately (327 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to knightEknight http:#7474005

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

mplungjan
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial