iframe link

F

Frank

Hi,
I want to make a link in iframe,
the src file is outside web folder.

<iframe width="200" height="200" src="../../database/note.asp"></iframe>

but it doesn't work.
Can anyone help me?
Thanks,
Frank
 
J

Jim Buyens

-----Original Message-----
Hi,
Howdy,

I want to make a link in iframe, the src file is outside
web folder.

<iframe width="200" height="200"
src="../../database/note.asp"> said:
but it doesn't work.
Can anyone help me?

This is tough without knowing the exact URL of both pages,
but the usual mistake is using one too many or one too
few ../'s.

As coded, it should work if the iframe page is at some
location like:
/ipaint/imount/iframe.htm
and the note.asp page is at
/database/note.asp

So, to get from iframe.htm to note.asp, you:
Go up one folder (../)
Go up another folder (../../)
Go from there to the database subfolder
(../../database)
Select the note.asp file
(../../database/note.asp)

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top