HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Help with IFRAME
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
SexyMette



Joined: 26 May 2005
Posts: 4
Location: Denmark

PostPosted: Thu May 26, 2005 3:47 pm     Help with IFRAME Reply with quote

Hi all.
i have a BIG problem...
I have a looong website IFRAME.. Now i have some problems with links down on the site. If i click the links they okay are going to IFRAME, thats not the problem BUT i want it to go up on top of my website..
I hope you understand..
If the link is all the way down on my site and i click on it than i´m missing the top of the IFRAME site, than i have to pull up the scrollbar up to the top of the page for to see.
is thee anything i can put in ? a tack or ??? so IFRAME is starting up on top of my website.
I cant give you the url of the website ( its a adult website )
Kisses
Mette
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Fri May 27, 2005 2:21 am     Reply with quote



If this is is:
Code:
<iframe name="IFRAME" marginwidth="0" marginheight="0" height="1500" width="100%" scrolling="yes" align="top" src="Forsideframe_en.html" border="0" frameborder="0">

You do not have your frame named. You will need to name your frames and use targets.
SexyMette



Joined: 26 May 2005
Posts: 4
Location: Denmark

PostPosted: Fri May 27, 2005 7:22 am     Reply with quote

WoW i dont understand ??? have them named ???
Well the html sites have a name.

Please mail on my own mail
metteatmr-erotic.dk

Kisses
Or ICQ
318741729
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Fri May 27, 2005 7:32 am     Reply with quote

For example:
Code:
<iframe name="IFRAME" marginwidth="0" marginheight="0" height="1500" width="100%" scrolling="yes" align="top" src="Forsideframe_en.html" border="0" frameborder="0" name="content">

You can read more about the attribute on The <iframe> tag
SexyMette



Joined: 26 May 2005
Posts: 4
Location: Denmark

PostPosted: Fri May 27, 2005 7:50 am     Reply with quote

DAMn i dont get it dear sorry
its all new for me and i´m realy trying
Is there anyway you can tell me what it is i´m missing ??

Kisses
Mette
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Fri May 27, 2005 10:29 am     Reply with quote

Sorry it has been the longest morning of my life here it seems. You do have the name iframe as your name - I totally missed that.

If you want the links to open in a new webpage, try adding target="_blank" to the hyperlink. Let's say on about line 177, you have:
Code:
<a href="student.htm">

change it to
Code:
<a href="student.htm" target="_blank">

and that will open a new window
SexyMette



Joined: 26 May 2005
Posts: 4
Location: Denmark

PostPosted: Fri May 27, 2005 10:34 am     Reply with quote

yes i know that dear but my problem is..
Its a looong site i have " the index_en.html "
In the button of the page i like to get some links on, when people are click on the link than it goes into the IFRAME like i ask it to BUT, becouse the site is so long its allso is showing in hte button of the long page, is it possible to get it run up to the start of the page ??
I hope you understand me....
People have to scroll all the way back up to get the start of the dokument ( html site )

Kisses
Mette
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Fri May 27, 2005 12:51 pm     Reply with quote

We used the anchor tag
Code:
<a name="IFrameAnchor">

and then
Code:
<a href="Whatever.html" target="IFrameName" onclick="location.href=location.href.replace('#IFrameAnchor', '')+'#IFrameAnchor'">
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial