In article <2e************************@posting.google.com>,
pr********@poczta.fm enlightened us with...
hi!
i have 2 frames in my website. what schould i do to have such a result
that after click on image (for example) in two frames will shown 2
different sites.
i was trying to do something with HREF but it doesn't work becouse
with HREF i can use only one link... or not??? :)
thanks for any help :-)
hawk!
Javascript required.
<a onClick="top.frames['framename'].location.href='someUrl';top.frames
['otherframename'].location.href='someOtherUrl';">Link text or image</a>
Note that this may cause a crapload of problems if the pages aren't from your
own domain or if your site is in another frameset (b/c I used 'top').
And obviously users have to have javascript enabled.
Frames are generally a bad idea for the internet unless you work around ALL
the issues associated with them (server-side scripting required), such as
bookmarking, search engines, and whatnot.
--
--
~kaeli~
In democracy your vote counts. In feudalism your count votes.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace