|
Posted by Thorn on November 9, 2004, 2:00 am
Please log in for more thread options
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!
|
|
Posted by kaeli on November 9, 2004, 8:40 am
Please log in for more thread options
prezes_tom@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
|
|
Posted by Mitja on November 9, 2004, 2:04 pm
Please log in for more thread options Thorn wrote:
> 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??? :)
yep. that's one of the reasons frames are no good - no way to link to a certin
cobination of framed pages. Only way to do what you
want is to have a server side script which takes some parameters and produces
the appropriate frameset html.
|
|
Posted by brucie on November 9, 2004, 8:04 pm
Please log in for more thread options In comp.infosystems.www.authoring.html Thorn said:
> hi!
g'day
> i have 2 frames in my website. what schould i do
get rid of them before your peepee and/or boobies fall off
http://david.us-lot.org/www/frames/ http://html-faq.com/htmlframes/?framesareevil http://www.karlcore.com/articles/article.php?id=2 http://homepage.ntlworld.com/l_vajzovic/tom/web/frames.html
> in two frames will shown 2 different sites.
if they're not yours do you have permission?
Linking and Liability
[...] framing third-party information into another web page raises
issues of copyright infringement (derivative works), passing off,
defamation, and trademark infringement, [...]
http://www.bitlaw.com/internet/linking.html
--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.
|
| Similar Threads | Posted | | MPG link - QuickTime problem | October 21, 2004, 2:18 am |
| website link problem in css | August 15, 2005, 12:29 pm |
| Weird CSS Link problem in Firefox | May 14, 2008, 6:53 pm |
| Problem with Anchor link now working properly in IE! | February 1, 2005, 12:33 pm |
| html link from browser link to xml editor | September 9, 2004, 5:53 am |
| link (rel and rev) | September 28, 2004, 10:29 am |
| Link Question | October 3, 2004, 9:54 pm |
| CSS link rollover bug in IE 5 Mac | October 15, 2004, 5:58 pm |
| Get all Link from a Website | November 18, 2004, 2:51 pm |
| interesting Link | May 24, 2005, 4:18 pm |
|