#1 (permalink)  
Old 09-16-2007, 05:24 PM
Registered User
 
Join Date: Sep 2007
Posts: 5
iFrame + link problem

Hey guys!

I'm having a huge problem with Frontpage 2003/XP. I've have a site containing a rectangle, created with the draw tool, and an iFrame (among others). I try to use the rectangle to link a space in the background to a new site within the iFrame, but the link always opens a new window, instead of opening it in the iFrame. This even though I've specified "Traget Frame" to the iFrame in the Hyperlink settings. I find this very strange.. have tried it both in Frontpage 2003 and Frontpage XP.

Does anyone know if there's any bug in these programs? It should work!

Can anyone help me? I would appreciate if greatly! Thanks in advance.
Reply With Quote

  #2 (permalink)  
Old 09-18-2007, 04:24 PM
Registered User
 
Join Date: Sep 2007
Posts: 5
Please? Does anyone know?
Reply With Quote
  #3 (permalink)  
Old 09-18-2007, 04:43 PM
Deadeye's Avatar
Moderator
 
Join Date: Aug 2005
Location: San Diego, CA
Posts: 274
Send a message via MSN to Deadeye
I have a funny feeling no one knows the answer. I'm sorry that I wasnt much help on this one, I dont use front page for any of my webpages.

Wesley
__________________
Don't forget to rate me A+++++++++++++++++!!!!!111one for the service you have received.
Reply With Quote
  #4 (permalink)  
Old 09-18-2007, 07:04 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,437
Unfortunately (or fortunately, depending on how you look at it), I have no experience with FrontPage at all, so I can't help you out.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #5 (permalink)  
Old 09-18-2007, 08:36 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
I have experience with FP... I try to take a shower as soon as I get home from work every day!!! It seems like either FP has gone nuts (which is a common factor), or you are linking it incorrectly. Please either show us a link to your page, or provide your code.

Are you linking within your site, or are you trying to link an outside page?

But I must say your problem most likely starts with the fact you are using FP. Here, have a sheep:
__________________
Like my spiffy, unique signature?
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

Last edited by Leprakawn; 09-18-2007 at 08:43 PM.
Reply With Quote
  #6 (permalink)  
Old 09-19-2007, 08:11 PM
Registered User
 
Join Date: Sep 2007
Posts: 5
FP is the only program our school lets us use I'm trying to link to pages within my site. The link works, the problem is only that is opens a new window instead of opening the sites in the iFrame (called 'I1'). There are quite a few rectangles which all should link to the iFrame. Here's the code:

Code:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="File-List" href="Index_files/filelist.xml">

<title>J3wEL Design</title>
<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]-->
<base target="I1">
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body background="images/layout.jpg" topmargin="0">

<table border="1" width="974" id="table1" style="border-width: 0px" height="580">
	<tr>
		<td style="border-style: none; border-width: medium" height="193" colspan="3">
		<p align="center">
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="966" height="178">
			<param name="movie" value="flash/Untitled-3.swf">
			<param name="quality" value="High">
			<embed src="flash/Untitled-3.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="966" height="178" quality="High"></object>
		</td>
	</tr>
	<tr>
		<td style="border-style: none; border-width: medium" height="381" width="72" rowspan="3">
		&nbsp;</td>
		<td style="border-style: none; border-width: medium" height="96" width="453">
		<!--[if gte vml 1]><v:rect id="_x0000_s1027"
 alt="" href="details.htm" style='position:absolute;left:232.5pt;top:183pt;
 width:108.75pt;height:19.5pt;z-index:1' filled="f" stroked="f" strokeweight="0"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:1;left:310px;top:244px;
width:145px;height:26px'><a href="details.htm"><img border=0 width=145
height=26 src="Index_files/image001.gif" v:shapes="_x0000_s1027"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1026" alt="" href="060625.htm" style='position:absolute;left:510.75pt;
 top:260.25pt;width:21pt;height:19.5pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:681px;top:347px;width:28px;height:26px'><a
href="060625.htm"><img border=0 width=28 height=26
src="Index_files/image002.gif" v:shapes="_x0000_s1026"></a></span><![endif]><p><!--[if gte vml 1]><v:rect
 id="_x0000_s1029" alt="" href="about.htm" style='position:absolute;left:87pt;
 top:184.5pt;width:110.25pt;height:22.5pt;z-index:1' filled="f" stroked="f"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:1;left:116px;top:246px;
width:147px;height:30px'><a href="about.htm"><img border=0 width=147 height=30
src="Index_files/image003.gif" v:shapes="_x0000_s1029"></a></span><![endif]></td>
		<td style="border-style: none; border-width: medium" height="381" width="435" rowspan="3">
		<!--[if gte vml 1]><v:rect
 id="_x0000_s1039" alt="" href="060703.htm" style='position:absolute;left:559.5pt;
 top:283.5pt;width:18.75pt;height:22.5pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:746px;top:378px;width:25px;height:30px'><a
href="060703.htm"><img border=0 width=25 height=30
src="Index_files/image004.gif" v:shapes="_x0000_s1039"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1040" alt="" href="060702.htm" style='position:absolute;left:535.5pt;
 top:283.5pt;width:18.75pt;height:22.5pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:714px;top:378px;width:25px;height:30px'><a
href="060702.htm"><img border=0 width=25 height=30
src="Index_files/image004.gif" v:shapes="_x0000_s1040"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1041" alt="" href="060624.htm" style='position:absolute;left:487.5pt;
 top:259.5pt;width:18.75pt;height:20.25pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:650px;top:346px;width:25px;height:27px'><a
href="060624.htm"><img border=0 width=25 height=27
src="Index_files/image005.gif" v:shapes="_x0000_s1041"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1031" alt="" href="060626.htm" style='position:absolute;left:535.5pt;
 top:261pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:714px;top:348px;width:28px;height:24px'><a
href="060626.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1031"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1032" alt="" href="060627.htm" style='position:absolute;left:559.5pt;
 top:261pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:746px;top:348px;width:28px;height:24px'><a
href="060627.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1032"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1034" alt="" href="060629.htm" style='position:absolute;left:607.5pt;
 top:261pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:810px;top:348px;width:28px;height:24px'><a
href="060629.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1034"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1035" alt="" href="060628.htm" style='position:absolute;left:584.25pt;
 top:261.75pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:779px;top:349px;width:28px;height:24px'><a
href="060628.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1035"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1036" alt="" href="060630.htm" style='position:absolute;left:632.25pt;
 top:260.25pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:843px;top:347px;width:28px;height:24px'><a
href="060630.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1036"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1037" alt="" href="060701.htm" style='position:absolute;left:510pt;
 top:284.25pt;width:21pt;height:18pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:680px;top:379px;width:28px;height:24px'><a
href="060701.htm"><img border=0 width=28 height=24
src="Index_files/image006.gif" v:shapes="_x0000_s1037"></a></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1028" alt="" href="images/gallery/index.htm" style='position:absolute;
 left:519.75pt;top:182.25pt;width:117pt;height:22.5pt;z-index:1' filled="f"
 stroked="f" strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:
vglayout;position:absolute;z-index:1;left:693px;top:243px;width:156px;
height:30px'><a href="images/gallery/index.htm"><img border=0 width=156
height=30 src="Index_files/image007.gif" v:shapes="_x0000_s1028"></a></span><![endif]></td>
	</tr>
	<tr>
		<td style="border-style: none; border-width: medium" height="260" width="453">
		<iframe name="I1" width="447" height="241" src="index2.htm" allowtransparency="true" border="0" frameborder="0" target="_blank">
        Din webbläsare stöder inte inbäddade ramar, eller så är den konfigurerad att inte visa inbäddade ramar.</iframe></td>
	</tr>
	<tr>
		<td style="border-style: none; border-width: medium" height="21" width="453">
		&nbsp;</td>
	</tr>
	</table>

<p><!--[if gte vml 1]><v:rect
 id="_x0000_s1025" alt="" href="diary.htm" style='position:absolute;left:381pt;
 top:183pt;width:86.25pt;height:18.75pt;z-index:1' filled="f" stroked="f"
 strokeweight="0"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:1;left:508px;top:244px;width:115px;height:25px'><a
href="diary.htm"><img border=0 width=115 height=25
src="Index_files/image008.gif" v:shapes="_x0000_s1025"></a></span><![endif]></p>

</body>

</html>
Thanks a lot!

Last edited by curtiss; 09-19-2007 at 08:17 PM. Reason: Added code tags
Reply With Quote
  #7 (permalink)  
Old 09-19-2007, 08:16 PM
Registered User
 
Join Date: Sep 2007
Posts: 5
Ah yes, the following links should be opened in the iFrame: 060624.htm, 060625.htm, 060626.htm, 060627.htm, 060628.htm, 060629.htm, 060630.htm, 060701.htm, 060702.htm, 060703.htm, about.htm, details.htm, diary.htm, gallery.htm

Thanks in advance! :-)
Reply With Quote
  #8 (permalink)  
Old 09-19-2007, 08:23 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,437
I don't see anything inherently wrong with your code (other than the insane amount of unnecessary markup that FrontPage adds).

Try giving your iFrame an ID identical to the name you assigned it.

If that doesn't work, try adding the actual "target" declaration to one of your links. It may be that the base target declaration is not being recognized properly.

Finally, if none of that works, try assigning a different name to your iFrame. It's possible that the name "I1" is interfering with something (although I don't think so).
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #9 (permalink)  
Old 09-19-2007, 09:47 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Thumbs up

If you want my advice—and if you are good at coding manually—dump FP and use Notepad. Do not use M Word, Publisher or PPT because those programs were not programmed to design Web sites. (Although they have that option, your designs will most likely come out looking pretty bad.)

Curtiss is correct on the id suggestion. I give my iframes an id and a name (id="something" name="something"), and that works for me. And another suggestion about FP's naming ability... make your own names. Do not trust FP's automatic naming function.
__________________
Like my spiffy, unique signature?
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

Last edited by Leprakawn; 09-19-2007 at 09:51 PM.
Reply With Quote
  #10 (permalink)  
Old 09-20-2007, 04:26 AM
Registered User
 
Join Date: Sep 2007
Posts: 5
Thanks a lot for all of your replies, appreciate it Gonna try it all a bit later!

Quote:
Originally Posted by curtiss View Post
If that doesn't work, try adding the actual "target" declaration to one of your links. It may be that the base target declaration is not being recognized properly.
How would I do this? I'm really bad at html
Reply With Quote
  #11 (permalink)  
Old 09-20-2007, 11:45 AM
Deadeye's Avatar
Moderator
 
Join Date: Aug 2005
Location: San Diego, CA
Posts: 274
Send a message via MSN to Deadeye
something like

Code:
<a href="http://www.htmlcenter.com/" target="iFrameName">HTML Center</A>
This is the code to your link and just add the target like above
__________________
Don't forget to rate me A+++++++++++++++++!!!!!111one for the service you have received.
Reply With Quote
  #12 (permalink)  
Old 09-20-2007, 03:34 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
...But he already had that established with the base target code.
Quote:
Originally Posted by jocce
How would I do this? I'm really bad at html
Uh-oh, then do not take my suggestion for using Notepad.
__________________
Like my spiffy, unique signature?
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

Last edited by Leprakawn; 09-20-2007 at 03:36 PM.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
framespacing="0" problem solved cssiscool Programming and Scripting 4 06-14-2007 08:27 AM
iframe problem sds Programming and Scripting 2 11-25-2006 05:16 AM
iFrame problem SweScape Programming and Scripting 6 09-08-2006 12:05 PM
Complicated iframe targetting problem... citizenpaul Programming and Scripting 1 03-21-2005 06:34 PM


All times are GMT -5. The time now is 07:53 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter