Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > IFAME and dynamic linking

Reply
Thread Tools

IFAME and dynamic linking

 
 
Motta
Guest
Posts: n/a
 
      05-21-2004
Is it possible to link to an html page containing iframe, and decide by a
link argument what page to show in the iframe?

What I want is to avoid is making almost similar pages containing only the
different src="http://..." code.
I'd like to link with something like this ...

http://mydom.no/iframe.htm&location=...com/target.htm


 
Reply With Quote
 
 
 
 
SpaceGirl
Guest
Posts: n/a
 
      05-21-2004

"Motta" <> wrote in message news:...
> Is it possible to link to an html page containing iframe, and decide by a
> link argument what page to show in the iframe?
>
> What I want is to avoid is making almost similar pages containing only the
> different src="http://..." code.
> I'd like to link with something like this ...
>
> http://mydom.no/iframe.htm&location=...com/target.htm



We do exactly this on a couple of our sites, in ASP.

something like

url: something.com?page=news.asp

then the code for the index.asp page;

....
<%
framePage = request("page")
if framePage = "" then
framePage="myDefaultPageInCaseNoPageWasPassedInThe Url.asp"
end if
%>
....
<iframe src=http://something.com/<%=framePage%> ... > ... </iframe>
....


 
Reply With Quote
 
 
 
 
Richard
Guest
Posts: n/a
 
      05-22-2004
Motta wrote:

> Is it possible to link to an html page containing iframe, and decide by a
> link argument what page to show in the iframe?


> What I want is to avoid is making almost similar pages containing only
> the different src="http://..." code.
> I'd like to link with something like this ...


> http://mydom.no/iframe.htm&location=...com/target.htm


Do not do this across two seperate domains.
If you do and the other domain is not aware, and has not given permission,
you will be told to stop immediately.
This is in effect stealing bandwidth, intellectual property, and perhaps
infringing on trademarks and copyrights.

If I find someone doing it to me, I just redirect them to an adult website
with tons of sexually explicit graphics.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.5 I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work? PerlFAQ Server Perl Misc 0 02-03-2011 05:00 AM
Static and Dynamic Linking Rajeshwaran C Programming 1 04-11-2007 08:48 AM
regarding .so files and dynamic linking pratap C++ 4 03-02-2007 06:59 AM
problems with linking a dynamic shared library using kdevelop 2.1 and linux fedora(1) Lior Sapir C++ 1 03-30-2005 11:39 PM
Simple Challenge - Working with image coordinates and dynamic linking. newsgroupsKILLSPAM@rudicheow.com Javascript 0 12-19-2004 06:36 PM



Advertisments